diff --git a/10/umbraco-commerce/.gitbook.yaml b/10/umbraco-commerce/.gitbook.yaml deleted file mode 100644 index b5961a17b38..00000000000 --- a/10/umbraco-commerce/.gitbook.yaml +++ /dev/null @@ -1,14 +0,0 @@ -root: ./ - -​structure: - readme: README.md - summary: SUMMARY.md - -redirects: - getting-started/installation/README: installation/install.md - getting-started/licensing-model: installation/licensing-model.md - getting-started/upgrading/README: upgrading/upgrade.md - getting-started/upgrading/version-specific-upgrades: upgrading/version-specific-upgrades.md - how-to-guides/migrate-from-vendr-to-umbraco-commerce/migrate-custom-payment-providers: upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-custom-payment-providers.md - how-to-guides/migrate-from-vendr-to-umbraco-commerce/migrate-umbraco-commerce-checkout: upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-umbraco-commerce-checkout.md - how-to-guides/migrate-from-vendr-to-umbraco-commerce/README: upgrading/migrate-from-vendr-to-umbraco-commerce/README.md diff --git a/10/umbraco-commerce/.gitbook/assets/IMG_0506.png b/10/umbraco-commerce/.gitbook/assets/IMG_0506.png deleted file mode 100644 index 90dd2f6f9f0..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/IMG_0506.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/IMG_0507.png b/10/umbraco-commerce/.gitbook/assets/IMG_0507.png deleted file mode 100644 index d283b70956d..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/IMG_0507.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/Umbraco_Brand_Guidelines_2020_28_Illustration blocks.png b/10/umbraco-commerce/.gitbook/assets/Umbraco_Brand_Guidelines_2020_28_Illustration blocks.png deleted file mode 100644 index a95c5528737..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/Umbraco_Brand_Guidelines_2020_28_Illustration blocks.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/commerce-icon.png b/10/umbraco-commerce/.gitbook/assets/commerce-icon.png deleted file mode 100644 index b19e49a7b69..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/commerce-icon.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/create_variants_attributes.png b/10/umbraco-commerce/.gitbook/assets/create_variants_attributes.png deleted file mode 100644 index 579d716c727..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/create_variants_attributes.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/create_variants_presets.png b/10/umbraco-commerce/.gitbook/assets/create_variants_presets.png deleted file mode 100644 index 14d78e85c9e..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/create_variants_presets.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/edit_variant.png b/10/umbraco-commerce/.gitbook/assets/edit_variant.png deleted file mode 100644 index 103ef2f30a0..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/edit_variant.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/product_attribute_preset_values.png b/10/umbraco-commerce/.gitbook/assets/product_attribute_preset_values.png deleted file mode 100644 index b16e815dede..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/product_attribute_preset_values.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/product_attribute_presets.png b/10/umbraco-commerce/.gitbook/assets/product_attribute_presets.png deleted file mode 100644 index 3529d31029d..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/product_attribute_presets.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/product_attribute_values.png b/10/umbraco-commerce/.gitbook/assets/product_attribute_values.png deleted file mode 100644 index 909193f5fa3..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/product_attribute_values.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/product_attributes.png b/10/umbraco-commerce/.gitbook/assets/product_attributes.png deleted file mode 100644 index 7c51cb1006e..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/product_attributes.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/umbraco_free_way_01.png b/10/umbraco-commerce/.gitbook/assets/umbraco_free_way_01.png deleted file mode 100644 index e683ec85496..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/umbraco_free_way_01.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/variant_filtering.png b/10/umbraco-commerce/.gitbook/assets/variant_filtering.png deleted file mode 100644 index 2672cd355b5..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/variant_filtering.png and /dev/null differ diff --git a/10/umbraco-commerce/.gitbook/assets/variants_editor_table_view.png b/10/umbraco-commerce/.gitbook/assets/variants_editor_table_view.png deleted file mode 100644 index 1ac675eb291..00000000000 Binary files a/10/umbraco-commerce/.gitbook/assets/variants_editor_table_view.png and /dev/null differ diff --git a/10/umbraco-commerce/README.md b/10/umbraco-commerce/README.md deleted file mode 100644 index 3f5cfaf4c50..00000000000 --- a/10/umbraco-commerce/README.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: Umbraco Commerce Documentation -description: >- - Browse the Umbraco Commerce documentation to learn more about the addon and - how to use it. ---- - -# Umbraco Commerce Documentation - -Umbraco Commerce is the official Umbraco e-commerce addon for your Umbraco CMS website. It can be used to set up small webshops, while it can also be implemented for big-scale e-commerce solutions spanning multiple countries. - -
Getting StartedFind all the information you need to get started using Umbraco Commerce with your Umbraco CMS implementation.introduction.mdcommerce-icon.png
How-to GuidesLooking to configure and implement something specific? Take a look through the How-to section where you might find a guide that fits your needs.overview.mdumbraco_free_way_01.png
Key ConceptsLooking to learn more about the different concepts and features of Umbraco Commerce? You can find detailed information about each of them in this section.overview.mdUmbraco_Brand_Guidelines_2020_28_Illustration blocks.png
- -## Extend Umbraco Commerce - -
Umbraco Commerce PackagesChoose between a selection of verified packages to extend the Umbraco Commerce implementation for your website.https://docs.umbraco.com/umbraco-commerce-packages
Umbraco Commerce Payment ProvidersYou can integrate your Umbraco Commerce implementation with a series of different payment providers.https://docs.umbraco.com/umbraco-commerce-payment-providers
Umbraco Commerce Shipping ProvidersYou can integrate your Umbraco Commerce implementation with a series of different shipping providers.https://docs.umbraco.com/umbraco-commerce-shipping-providers
- -## Quick links - -{% content-ref url="reference/go-behind-the-scenes.md" %} -[go-behind-the-scenes.md](reference/go-behind-the-scenes.md) -{% endcontent-ref %} - -{% hint style="info" %} -Are you looking for Vendr documentation? - -The articles and topics covered on this documentation site are for Umbraco Commerce. - -Documentation for Vendr is located on the [Vendr Documentation site](https://vendr.net/docs/). -{% endhint %} - -### Using These Docs - -**These docs are aimed at developers** who have at least a basic understanding of [Umbraco](https://umbraco.com), as well as C# and MVC principals. - -If you require assistance you can use our support channels to seek assistance. diff --git a/10/umbraco-commerce/SUMMARY.md b/10/umbraco-commerce/SUMMARY.md deleted file mode 100644 index d2e5b7ac3a7..00000000000 --- a/10/umbraco-commerce/SUMMARY.md +++ /dev/null @@ -1,74 +0,0 @@ -# Table of contents - -* [Umbraco Commerce Documentation](README.md) -* [Release Notes](release-notes.md) - -## Commerce Products - -* [Commerce Packages](https://docs.umbraco.com/umbraco-commerce-packages) -* [Commerce Payment Providers](https://docs.umbraco.com/umbraco-commerce-payment-providers) -* [Commerce Shipping Providers](https://docs.umbraco.com/umbraco-commerce-shipping-providers) - -## Installation - -* [Installing Umbraco Commerce](installation/install.md) -* [Licensing](installation/licensing-model.md) - -## Upgrading - -* [Upgrading Umbraco Commerce](upgrading/upgrade.md) -* [Version Specific Upgrade Notes](upgrading/version-specific-upgrades.md) -* [Migrate from Vendr to Umbraco Commerce](upgrading/migrate-from-vendr-to-umbraco-commerce/README.md) - * [Migrate Umbraco Commerce Checkout](upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-umbraco-commerce-checkout.md) - * [Migrate custom Payment Providers](upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-custom-payment-providers.md) - -## Getting Started - -* [Introduction](getting-started/introduction.md) -* [Umbraco Configuration](getting-started/umbraco-configuration.md) -* [User Interface](getting-started/user-interface.md) - -## How-To Guides - -* [Overview](how-to-guides/overview.md) -* [Configure SQLite support](how-to-guides/configure-sqlite-support.md) -* [Limit Order Line Quantity](how-to-guides/limit-orderline-quantity.md) -* [Use an Alternative Database for Umbraco Commerce Tables](how-to-guides/use-an-alternative-database-for-umbraco-commerce-tables.md) - -## Key Concepts - -* [Get to know the main features](key-concepts/overview.md) -* [Base Currency](key-concepts/base-currency.md) -* [Bulk Actions](key-concepts/bulk-actions.md) -* [Calculators](key-concepts/calculators.md) -* [Dependency Injection](key-concepts/dependency-injection.md) -* [Discount Rules / Rewards](key-concepts/discount-rules-and-rewards.md) -* [Events](key-concepts/events.md) -* [Fluent API](key-concepts/fluent-api.md) -* [Order Calculation State](key-concepts/order-calculation-state.md) -* [Payment Forms](key-concepts/payment-forms.md) -* [Payment Providers](key-concepts/payment-providers.md) -* [Pipelines](key-concepts/pipelines.md) -* [Price/Amount Adjustments](key-concepts/price-amount-adjustments.md) -* [Price Freezing](key-concepts/price-freezing.md) -* [Product Adapters](key-concepts/product-adapters.md) -* [Product Bundles](key-concepts/product-bundles.md) -* [Product Variants](key-concepts/product-variants/README.md) - * [Complex Variants](key-concepts/product-variants/complex-variants.md) -* [Properties](key-concepts/properties.md) -* [ReadOnly and Writable Entities](key-concepts/readonly-and-writable-entities.md) -* [Search Specifications](key-concepts/search-specifications.md) -* [Settings Objects](key-concepts/settings-objects.md) -* [Tax Sources](key-concepts/tax-sources.md) -* [UI Config Files](key-concepts/ui-config-files.md) -* [Umbraco Properties](key-concepts/umbraco-properties.md) -* [Unit of Work](key-concepts/unit-of-work.md) -* [Umbraco Commerce Builder](key-concepts/umbraco-commerce-builder.md) - -## Tutorials - -* [Overview](tutorials/overview.md) - -## Reference - -* [Go behind the scenes](reference/go-behind-the-scenes.md) diff --git a/10/umbraco-commerce/changelog-archive/Vendr-core.md b/10/umbraco-commerce/changelog-archive/Vendr-core.md deleted file mode 100644 index 2de685aae2f..00000000000 --- a/10/umbraco-commerce/changelog-archive/Vendr-core.md +++ /dev/null @@ -1,920 +0,0 @@ ---- -title: Changelog -description: Changelog for the Core Vendr product ---- - -# Changelog - -### v3.0.11 - -**Date:** 2023-03-22\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed a bug where order line quantities were being multiplied by 10 due to culture-related issues ([#405](https://github.com/vendrhub/vendr/issues/405)). -* Fixed bug Vendr tree would vanish if installed with Umbraco Workflow due to controllers having the same class name. All Vendr trees have now been prefixed with `Vendr` ([#408](https://github.com/vendrhub/vendr/issues/408)). -* Fixed bug where date-based order advanced filters used UTC time when all other front-end dates were in local time. Vendr now converts the dates to UTC before applying the filters ([#406](https://github.com/vendrhub/vendr/issues/406)). -* Changed the default product adapter to also search child variants names, not just SKUs. -* Changed the multi-variants property editor to construct an SKU from the parent node if the variant node doesn't have an SKU defined. - -### v3.0.10 - -**Date:** 2023-02-24\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed issue where discount codes wouldn't persist changes when being updated. - -### v3.0.8/9 - -**Date:** 2023-02-14\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added debug symbols to NuGet packages. -* Fixed session manager incorrectly storing the default shipping method in the default shipping country cookie value ([#404](https://github.com/vendrhub/vendr/issues/404)). - -### v3.0.7 - -**Date:** 2023-02-07\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added extra logging around payment request handler failures. -* Fixed error when processing payment requests and an order number can't be found. Now returns 200 status to allow webhook notification to stop, but logs the error locally. - -### v3.0.6 - -**Date:** 2023-01-16\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added an extra `CalculatePrice` extension method to `IProductSnapshot` that can accept a current order as a reference to save on processing if a current order is known to exist. -* The product Attribute value sort order is now correctly honored. -* Fixed entity controllers actions not working for users with the only `Commerce` role assigned. We misunderstood how the authorize attribute works as we assumed it enforced them as an OR operation, but it appears it enforces them as an `AND` operation and so we now have an explicit `SettingsOrCommerce` section policy. - -### v3.0.5 - -**Date:** 2022-12-01\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added readme for new Umbraco marketplace. -* Changed the product adapter so that it only searches for published products. -* Fixed an issue where calls to entity services inside event handlers didn't have the most up-to-date entity because the temporary cache wasn't pushed back before the event handlers were called. -* Fixed the telemetry data service failing in Umbraco v11 due to it using an obsolete constructor that got removed in v11. -* Fixed the product adapter search not working for multi-word phrases. -* Fixed bug with price property editor erroring if there is no fraction config. - -### v3.0.4 - -**Date:** 2022-11-08\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added Umbraco marketplace tag to main NuGet package. -* Check `X-Forwarded-Host` when determining the base URL for payment provider links. -* Re-cache the order state if the order changes during save events. -* Fixed error when order properties are searched when not in the correct `alias:value` format. Now ignores values not in this format. -* Fixed the tags order filter not actually taking supplied tag values into account. - -### v3.0.3 - -**Date:** 2022-10-17\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed error screen when using dictionary input fields due to the resolution of a scoped service from a singleton ([#392](https://github.com/vendrhub/vendr/issues/392)). -* Fixed error screen when generating models builder models in Umbraco 10.3.0 RC due to changes in block editor base classes ([#393](https://github.com/vendrhub/vendr/issues/393)). - -### v3.0.2 - -**Date:** 2022-10-11\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed issue when deleting allowed shipping method countries causing an error due to them referencing a `paymentMethodId` in their SQL statements rather than `shippingMethodId`. -* Fixed issue with NPoco `ExecuteScalar` not handling Guid conversions. -* Fixed bug in the order list not pulling back child entities correctly due to an inner join having its order by clause removed causing a miss-match of orders being fetched. -* Fixed issue where joins with an order by's would throw an exception if there wasn't an offset applied to the query. We now always apply an offset, even if one isn't necessary. -* Fixed bug where `BeginPaymentForm` would overwrite the customer reference if one was already set. It now only sets the customer reference if one isn't already present. - -### v3.0.1 - -**Date:** 2022-09-29\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed DB migration error due to `DF__vendrOrderLine__quantity` prevent a migration step to execute when migrating from a v2 install. -* Fixed bug where Azure would automatically use `System.Data.SqlClient` when it should use `Microsoft.Data.SqlClient` -* Fixed Vendr health checks failing due to shipping method exception ([#388](https://github.com/vendrhub/vendr/issues/388)). -* Fixed `Unit of work has already been completed` error when creating all countries from the ISO country list ([#389](https://github.com/vendrhub/vendr/issues/389)). - -## v3.0.0 - -**Date:** 2022-09-21\ -**Description:** Minor release with additional features and bug fixes - -* Added `IVendrBuilder` concept to encapsulate Vendr's build configuration. -* Added option SQLite support for testing purposes. -* Added ability to store Vendr data in the alternative database to Umbraco. -* Added optimistic concurrency checks to ensure an entity hasn't changed since the last save. -* Added databased indexes on all `storeId` and `orderId` columns to aid performance. -* Added async support to `BeginPaymentForm` extension. -* Added support for bundle base price adjustments. -* Added new `BundleOrderLine` and `BundledOrderLine` entities for strongly typed access to bundle-specific features. -* Added new `IsBundle` and `GetBundles` methods to make working with bundles easier. -* Added default values support to payment provider/discount settings objects. -* Changed Umbraco dependency persistence layer for our own implementation. -* Changed Unit of Work to use an `Execute` method rather than using the `Create` method in a using statement. -* Changed `AsWritable` to automatically fetch the latest entity from the database instead of copying the in-memory state. -* Fixed issue where reverting a cart would revert stock levels when this should only occur for finalized orders. -* Dropped Umbraco v8 and v9 support -* Retargeted for Umbraco v10+ - -### v2.4.1 - -**Date:** 2022-10-11\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed bug where `BeginPaymentForm` would overwrite the customer reference if one was already set. It now only sets the customer reference if one isn't already present. - -## v2.4.0 - -**Date:** 2022-08-13\ -**Description:** Minor release with additional features and bug fixes - -* Added support for Cart/Order list config files to enable displaying order properties in the order list view. -* Fixed bug in property editor dialog passing the `orderId` in the `storeId` config setting. -* Fixed bug in the session manager storing the default payment method under the default country session ID. - -### v2.3.4 - -**Date:** 2022-08-22\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added more null checking to the `UmbracoStockSynchronizer` as the fix in 2.3.3 didn't quite fix the issue. -* Fixed regression with `AsyncHelper` causing error/hanging when attempting to send emails. - -### v2.3.3 - -**Date:** 2022-08-08\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed issue with `UmbracoStockSynchronizer` causing an exception if there is no previous data stored in the variants property editor. -* Fixed a bug in export logic where exporting multiple templates would actually just export the first template multiple times. -* Fixes issue with `AsyncHelper` causing `AggregateException` by switching to our newer style of `AsyncHelper` from v3. - -### v2.3.2 - -**Date:** 2022-07-06\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed v10 regression causing indexing of products/variants in Lucene to fail. -* Fixed null error in `RaiseOrderLineChangeEvents` as original Tax Class ID can be null for new order lines. -* Fixed `XSS` issue in custom order table cell rendering. Now HTML escapes all user input before rendering. -* Fixed bug on licenses dashboard now showing the Refresh button for subscription licenses. - -### v2.3.1 - -**Date:** 2022-06-21\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed v10 regression due to Umbraco API change where saving / publishing content would cause an error screen. -* Fixed v10 regression due to Umbraco API change where internal index would not rebuild and so Vendr store finders would not run. -* Fixed bug in Content based store finder due to incorrectly overriding base method. - -## v2.3.0 - -**Date:** 2022-06-21\ -**Description:** Minor release with Umbraco v10 support - -* Added decimal place configuration to `Vendr: Price` property editor. -* Added logging to payment callback handler. -* Added validation events to payment capture, cancel and refund actions to allow validating whether those actions should occur or not ([#369](https://github.com/vendrhub/vendr/issues/369)). -* Added support for default settings in payment providers and discounts rules / rewards. Can now set default values on settings Poco and these will apply during create. -* Updated DB migrations to work with SQLite (v10 only). -* Fixed v10 compatability issues. -* Fixed order editor UI issue with bundle order lines showing the parent order line prices. -* Fixed bug with unit price discounts being capped at a bundle order lines base price. -* Fixed bug where deleting carts would restock items. Now only reverts an order if it has been finalized. -* Fixed bug where Export Templates weren't being deleted ([#373](https://github.com/vendrhub/vendr/issues/373)). - -### v2.2.1 - -**Date:** 2022-05-23\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added ability to change the tax class of an order line. -* Added ability to set the number of decimal places a stock input field should accept. -* Fixed bug in stock input field formatting the number incorrectly for the current users culture ([#367](https://github.com/vendrhub/vendr/issues/367)). -* Fixed error when saving stock due to setting property value to string `"-1"` when it expects to be the decimal `-1` ([#368](https://github.com/vendrhub/vendr/issues/368)). - -## v2.2.0 - -**Date:** 2022-05-06\ -**Description:** Minor release with some breaking changes - -* Added `GetCurrentOrder` method to `SessionManager` that accepts a `customerReference` to allow finding an order via `IOrderFinder`. -* `GetCurrentOrder` on `SessionManager` with no `customerReference` parameter now calls the new `GetCurrentOrder` method passing in the current logged in members ID. This shouldn't change any behaviour for the majority of stores without order finders, but if intalls do have order finders you'll now need to pass `null` to the `customerReference` parameter if you want to get the current order whilst avoiding using order finders. -* `IOrderFinder.FindOrder` now accetps an additional `storeId` parameter. -* `IOrderService.FindOrder` now accetps an additional `storeId` parameter. - -### v2.1.3 - -**Date:** 2022-04-28\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Updated price calculation process to set total prices temporarily as the pipelines goes along so that any stage within the calculation process you can get the total prices at the current state. -* Updated the licensing dialog to display a warning if there is an inactive license installed which usually means the local environment has been updraded beyond the installed licenses upgrade window ([#360](https://github.com/vendrhub/vendr/issues/360)). -* Fixed order table layout issue due to too large a `colspan` attribute. -* Fixed recuring tasks having the delay / interval in the wrong order in Umbraco v9. -* Fixed conflicting routes issue in Umbraco v9.5RC due to Umbraco introducing a new AnalyticsController. Have now prefixed all Vendr controllers with `Vendr` ([#362](https://github.com/vendrhub/vendr/issues/362)). -* Fixed product related analytics reports not passing the `storeId` into the product adapter when fetching up to date product info ([#364](https://github.com/vendrhub/vendr/issues/364)). -* Fixed bug when using own order editor config view where the order editor still trys to fix notes fields. Now does a null check before attempting. ([#363](https://github.com/vendrhub/vendr/issues/363)). - -### v2.1.2 - -**Date:** 2022-03-23\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added order activity log to order edit screen ([#351](https://github.com/vendrhub/vendr/issues/351)). -* We no longer maintain a cache of all Gift Cards in memory, instead, we do the same as we do with orders and just maintain active Gift Cards on a sliding expiration. -* Fixed issue when using `VariantsEditorValueConverter` in background threads due to the use of scoped services. Now no longer require effective services to be scoped. -* Fixed activity logs not recording the user ID of the user that performed the given task ([#350](https://github.com/vendrhub/vendr/issues/350)). -* Fixed error when saving product attributes due to a bug in deep-equals logic ([#354](https://github.com/vendrhub/vendr/issues/354)). - -### v2.1.1 - -**Date:** 2022-03-07\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added constants for the built-in payment provider aliases. -* Added `IUmbracoProductSnapshot` interface to allow snapshots to be swapped out, but still have the default Umbraco node-based stock implementation work. -* Added `ParentOrderLineId` and `ParentBundleId` properties to order lines to be able to easily identify an order line's parent. -* Discount `UsageLimit` is set to `0` if `IsUnlimited` is set to `true`. -* Payment provider callback handler without order info now returns OK status if it can't handle the supplied order, rather than Bad Request. -* Fixed cart edit form submitting on enter for Discount/Gift Card Codes field ([#344](https://github.com/vendrhub/vendr/issues/344)). -* Fixed issue with discounts not updating correctly due to deep comparisons not working. Switched from using `DeepEqual` library to `CompareNetObject` library instead ([#347](https://github.com/vendrhub/vendr/issues/347)). - -## v2.1.0 - -**Date:** 2022-02-14\ -**Description:** Minor release with new features and some breaking changes - -* Added `Carts` feature to `Commerce` section. -* Added `ProductAdapterBase` as a new base class for product adapters. -* Added `Cart` category for email, print, and export templates. -* Added `cart.editor.config.js` file support for controlling editable cart fields differently from editable order fields. -* Added `IUmbracoNodeStoreFinder` interface to allow custom ways of locating a store from an Umbraco node. Default finders and their order are `UmbracoPublishedContentStoreFinder`, `UmbracoLuceneStoreFinder` and `UmbracoContentStoreFinder`. Additional store finders can be added via the `WithUmbracoNodeStoreFinders` collection builder API available on the `IUmbracoBuilder` interface. -* Added Change Status bulk action to allow changing the order status of multiple orders at once ([#335](https://github.com/vendrhub/vendr/issues/335)). -* Added advanced search filter feature to allow searching for orders/carts in a more targeted way. This can also be extended by adding custom `AdvancedFilterBase` implementations to the DI container. -* Added Order tagging support to allow tagging orders with custom tags that can be used for filtering ([#324](https://github.com/vendrhub/vendr/issues/324)). -* Added custom `OutfieldDigitalExchangeRateService` and set as the default implementation that just acts as a proxy to the exchangerate.host API. This is to ensure that we can fix this in the future without people needing to upgrade, should that service ever stop working like the Exchange Rates API service did. -* Order editor customer information dialog now allows the countries to be edited. -* Order search now searches the customer's email too. -* Updated all places that located a store based on an Umbraco node/content item to use the new `IUmbracoNodeStoreFinder` implementations. -* Fixed bug when searching for orders that have an email address assigned (previously threw a malformed SQL error). -* Fixed bug where only admins could pick from store entity pickers ([#342](https://github.com/vendrhub/vendr/issues/342)). -* Fixed path inconsistencies on Linux due to case-sensitive file system ([#341](https://github.com/vendrhub/vendr/issues/341)). -* Fixed variant item editor not showing variant attribute summary in Umbraco v8. -* Fixed the issue with sorting not working due to the change to .NET Core. -* Fixed error when deleting bundle order lines due to items being deleted in the wrong order and thus causing an FK violation. -* Fixed styling issues in store entity picker pre-value editor UI. -* `IProductAdapter` now exposes `SearchProductSummaries`, `GetProductVariantAttributes` and `SearchProductVariantSummaries` methods for editable cart support. -* `IProductAdapter`, `IStockService`, `IProductService`, `IVendrApi` methods that accept a `productReference` / `productVariantReference` parameter now receives a `storeId` parameter as well ([#339](https://github.com/vendrhub/vendr/issues/339)). -* `IPaymentCalculator` and `IShippingCalculator` now accept a nullable `countryId` parameter. - -### v2.0.6 - -**Date:** 2022-02-01\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added explicit checks for the use of CloudFlares Flexible Secure Socket Layer (SSL) feature when resolving Vendr URLs. -* Added extra null checks in exchange rate service implementations. -* Added new `ExchangeRateHostCurrencyExchangeRateService` implementation. -* The payment controller now only returns `BadRequest` status if the URL has been tampered with. All other code paths now return a `OK` status so that webhooks won't keep attempting notifications for orders/transactions that can't be handled. -* Move the shipping company name field to be in the same location as the billing company name field. -* Updated the resolution of the `order.editor.config.js` file to prefer a config on disk over a legacy entry in the database table. -* Updated the default `ICurrencyExchangeRateService` to use the free `ExchangeRateHostCurrencyExchangeRateService`. -* Updated the `ExchangeRatesApiCurrencyExchangeRateService` to require an API key as this now appears to be required. -* Fixed license domains list not displaying correctly in the Vendr settings dashboard. -* Fixed divide-by-zero issues when applying exchange rates to an order. - -### v2.0.5 - -**Date:** 2022-01-17\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Changed `EventBus` and `Pipeline` implementations to no use lazy dependencies as in some occasions it's possible in Umbraco that these get resolved too early before registration is complete and can end up caching a `null` value. -* Changed from using `IStartupFilter` for some core startup configurations to using `IComponent` due to issues with Umbraco Deploy firing too early. -* Fixed regression in license limitations checks for custom product adapters when using a lite license. Then namespace had changed in v2, but we didn't update the limitation check. - -### v2.0.4 - -**Date:** 2021-12-06\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Changed the stock synchronizer to use an internal cache rather than rely on scoped dependencies. -* Removed Matryoshka override styles as shouldn't be necessary anymore. -* Fixed variants attribute group not showing in variants editor due to core changes in how tabs work. - -### v2.0.3 - -**Date:** 2021-10-26\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed issue with Opayo payment provider not working due to the `HttpRequestMessage` already having been read ([#4](https://github.com/vendrhub/vendr-payment-provider-opayo/issues/4)). -* Fixed issue with Order Export Template rendering everything on one line due to newline characters being escaped ([#330](https://github.com/vendrhub/vendr/issues/330)). - -### v2.0.2 - -**Date:** 2021-10-20\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed issue with the Variants property editor creating an empty `General` tab when using tabs on the product document type. - -### v2.0.1 - -**Date:** 2021-10-18\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added more null handling when accessing `ProductSnapshot` properties ([#327](https://github.com/vendrhub/vendr/issues/327)). -* Updated the Nuget build tasks to only replace the `App_Plugins\Vendr\backoffice` folder on `Clean`. -* Fixed bug in payment provider callback handler erroring for URLs where the order number isn't known. -* Fixed bug in payment provider context not populating `Request` property when converting to a strongly typed context. -* Fixed regression where deleted gift cards were showing in the gift cards list ([#326](https://github.com/vendrhub/vendr/issues/326)). -* Fixed a number of async deadlock issues. -* Fixed incorrect minimum Umbraco version in Umbraco `package.xml`. - -## v2.0.0 - -**Date:** 2021-10-07\ -**Description:** Major new release with breaking changes - -* Added v9 / .NET Core support. -* Added custom rounding support ([#168](ttps://github.com/vendrhub/vendr/issues/168)). -* Payment providers are now .netstandard2.0. -* Payment provider methods are now async. -* Payment providers now take in a `PaymentProviderContext` for most methods. -* Big project restructuring. -* More details on what's changed in the [v2.0.0 release blog post](https://vendr.net/blog/vendr-2-0-0-release/). - -### v1.8.6 - -**Date:** 2021-08-27\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added more null handling in exchange rate service providers. -* Updated the default order number generator to improve randomness and thus prevent collisions, especially in load-balanced environments. -* Fixed intermittent concurrency errors with `EntityCacheKeys`. Switched to a concurrent dictionary for cache key storage. -* Fixed issue with payment provider URLs forcing port 443 for non-localhost URLs. -* Updated the price property editor to allow an explicit zero value to be set ([#314](https://github.com/vendrhub/vendr/issues/314)). -* Fixed issue with analytics dashboard not allowing the viewing of todays figures ([#319](https://github.com/vendrhub/vendr/issues/319)). - -### v1.8.5 - -**Date:** 2021-07-23\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Fixed regression where order editor configs weren't getting resolved correctly (1.8.4 didn't actually fix this). - -### v1.8.4 - -**Date:** 2021-07-22\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added refresh license button to licenses dashboard for subscription licenses. -* Removed `ILicensingService` and have a core `LicensingService` (which is now `sealed`) dependency instead. -* Fixed error where payment interactions from the order editor weren't having any effect ([#316](https://github.com/vendrhub/vendr/issues/316)). -* Fixed regression where order editor configs weren't getting resolved correctly. - -### v1.8.3 - -**Date:** 2021-06-21\ -**Description:** Patch release with minor bug fixes and non-breaking enhancements - -* Added ability to define reply to the email address on email templates ([#287](https://github.com/vendrhub/vendr/issues/287)). -* Added ability to replace and remove event handlers via the Vendr API ([#256](https://github.com/vendrhub/vendr/issues/256)) -* Added support for convention-based resolution of the order editor config, inline with how analytics and gift cards configs work. -* Implemented a `IPaymentService` to encapsulate the Capture, Cancel and Refund actions of a payment gateway to allow re-use outside of the Vendr UI. -* Umbraco Product Adapter now uses `IUmbracoContextFactory` instead of `IUmbracoContextAccessor` so that it can create a context if one isn't present, allowing it to run in background tasks. -* Updated cache refreshers to load their dependencies Lazily as was causing errors in some random instances. -* Updated Store editor to allow default email templates to be un-set in order to allow disabling of default emails ([#223](https://github.com/vendrhub/vendr/issues/223)). -* Updated County and Regions editor to allow Default Country, Payment Methods and Shipping Methods to be not set ([#305](https://github.com/vendrhub/vendr/issues/305)). -* Updated product attribute editor to allow camel case attribute aliases inline with all other aliases ([#269](https://github.com/vendrhub/vendr/issues/269)). -* Updated the stock input field to display the same "No store found" message if the product node has no store setting defined ([#193](https://github.com/vendrhub/vendr/issues/193)). -* Updated the stock property editor save event handlers to use `MemoryCache` to remember the state, rather than the `RequestCache` as there is no request cache when a content node is published via a schedule. -* Updated the payment controller actions to not continue with the processing if the order reference on file does not match that in the URL. -* Fixed errors in exchange rate services returning null. Now handles null values. -* Fixed an issue with analytics reports showing data in UTC and not in the local time zone ([#303](https://github.com/vendrhub/vendr/issues/303)). -* Fixed bug in top-selling product analytics chart erroring if a product's name changes at some point in the date range ([#297](https://github.com/vendrhub/vendr/issues/297)). -* Fixed a bug where the injected `vendr_variants` tab is displayed when using Matroyhska. Custom CSS has been added to ensure this remains hidden ([#304](https://github.com/vendrhub/vendr/issues/304)). -* Fixed a bug where payment provider settings weren't being translated before being passed to the payment provider within the Capture, Cancel, and Refund actions. - -### v1.8.2 - -**Date:** 2021-05-26\ -**Description:** Patch release with minor bug fixes. - -* Added `esc` keyboard shortcut to close the exports dialog ([#301](https://github.com/vendrhub/vendr/issues/301)). -* No longer errors if the same discount/gift card code is applied for a second time. -* Fixed error when creating Gift Cards in backoffice due to no currency defined yet. -* Fixed bug in gift cards searches API not initializing the gift card state correctly. - -### v1.8.1 - -**Date:** 2021-05-13\ -**Description:** Patch release with minor bug fixes - -* Added `Try` methods to `IStockService` and `IProductService` for all get/set stock methods. -* Made `PricePropertyValue` implement `IEnumerable` returning any price with a value. -* Fixed a bug in the shipping cost calculation not using the shipping tax rate ([#298](https://github.com/vendrhub/vendr/issues/298)). -* Removed obsolete `ProductVariantCollectionExtensions` causing naming conflicts. -* Fixed bug in variants editor save event handler not persisting initial stock levels. - -## v1.8.0 - -**Date:** 2021-05-05\ -**Description:** Minor release with new features and minor bug fixes - -* Added export templates section to the Store settings area. -* Added export bulk action to Orders, Gift Cards, and Discounts list views to allow exporting. -* Updated print dialog to disable the print button whilst there are no templates selected ([#292](https://github.com/vendrhub/vendr/issues/292)). - -### v1.7.3 - -**Date:** 2021-05-04\ -**Description:** Patch release with minor bug fixes - -* Updated the `ProductOrderLineAmountDiscountRewardProvider` with an `OrderLineSource` settings to allow choosing whether the matching product should be located anywhere on the order, or within the matching rule results. - -### v1.7.2 - -**Date:** 2021-04-26\ -**Description:** Patch release with minor bug fixes - -* Changed it so that when setting stock levels, if the stock source can't be found it no longer throws an error. Instead, it fails silently and logs a debug message. -* Changed the entity cache wrappers to use cache accessor functions so that the cache wrappers can be reused locally. - -### v1.7.1 - -**Date:** 2021-04-20\ -**Description:** Patch release with minor bug fixes - -* Fixed a bug in the new cache mechanism where changes weren't being pushed back into the global cache if an entity was accessed outside of a UoW within the same request prior to changes being made to that entity. - -### v1.7.0 - -**Date:** 2021-04-15\ -**Description:** Minor release with new features and minor bug fixes - -* Added new `EntityCaches` for independent cache repositories of entities. -* Order and Price Freezer caches now auto-expire items if they are not used. -* Added a new stock caching layer to help improve performance. -* Added new Order and GiftCard search API for more flexible searching ([#110](https://github.com/vendrhub/vendr/issues/110)). -* `EntityStateCache` has now been obsoleted in favor of a new `EntityCaches` with an improved caching mechanism. -* Transactional cache has now been updated to work with the new `EntityCaches` rather than the `EntityStateCache`. -* Old Order and GiftCard search methods have been obsoleted in favor of the new search API. - -## v1.6.0 - -**Date:** 2021-04-06\ -**Description:** Minor release with new features and minor bug fixes - -* Added order printing action button ([#79](https://github.com/vendrhub/vendr/issues/79)). -* Added bulk order printing feature to orders list. -* Email Templates are now located in a Templating parent folder to encompass both Email and Print templates -* Fixed hardcoded `/umbraco` URL prefixes preventing sites from running with non-standard admin path ([#290](https://github.com/vendrhub/vendr/issues/290)). - -### v1.5.3 - -**Date:** 2021-03-24\ -**Description:** Patch release with minor bug fixes - -* Fixed issue where the variants property editor was not recursively transforming property values when converting from editor to DB ([#285](https://github.com/vendrhub/vendr/issues/285)). -* Fixed minor styling issues in the default email templates ([#286](https://github.com/vendrhub/vendr/issues/286)). - -### v1.5.2 - -**Date:** 2021-03-17\ -**Description:** Patch release with minor bug fixes - -* Fixed error screen when fetching too many sub-entities in one SQL query. All sub-entity queries are now batched into groups of 2000 entities at a time ([#280](https://github.com/vendrhub/vendr/issues/280)). -* Fixed regression in `ZeroValuePaymentProvider` since 1.4.0 release due to it not being updated to use the `TransactionAmount` property ([#281](https://github.com/vendrhub/vendr/issues/281)). -* Added new event handlers when a content node with a variants editor is saved/copied/moved to automatically inject the related `storeId` for the variants editor into it's data structure. This is mainly to provide context to the `Vendr.Deploy` package. -* Added `Create` methods to `ProductAttribute` and `ProductAttributePreset` to allow the passing in of an ID. This is to enable them to be deployed in `Vendr.Deploy`. -* Updated the `UmbracoProductAdapter.GetProductSnapshot` introduced in 1.5.0 which accepts a `productVariantReference` to be virtual inline with the existing `GetProductSnapshot` method ([#282](https://github.com/vendrhub/vendr/issues/282)). -* Updated the product variants editor value converter to automatically lookup the related store so that a `storeId` isn't needed when using the `GetInUseProductAttributes` method. - -### v1.5.1 - -**Date:** 2021-02-26\ -**Description:** Patch release with minor bug fixes - -* Fixed stock property editor erroring on newly created variants in pre-existing product nodes. -* Fixed error due to variants prop editor being moved to first group. Now moved to it's own group and that group is then hidden. -* Fixed errors when using variants prop editor with content variants. -* As block list editors don't support content variants yet, the variants editor has been updated to grey out and prevent editing on non-default language variant editors. - -## v1.5.0 - -**Date:** 2021-02-11\ -**Description:** Minor release with new multi-variants feature - -* Multi-variants property editor. -* Added new Options node to stores in the Commerce section with subsections for new Product Attributes and Product Attribute Presets features. -* `AddProduct` API's now accept a new productVariantReference. -* Order Lines now expose a `ProductVariantReference` property. -* Order Lines now expose an `Attributes` property. -* Minimum Umbraco version updated to 8.10.+ due block list editor API requirement. -* Additional `IProductAdapter.GetProductSnapshot` method accepting a productVariantReference has been added. -* `IProductAdapter.GetProductReference` changed to `IProductAdapter.TryGetProductReference`. -* `IProductSnapshot` now exposes a `ProductVariantReference` property. -* `IProductSnapshot` now exposes an `Attributes` property. - -### v1.4.2 - -**Date:** 2021-02-04\ -**Description:** Patch release with minor bug fixes and enhancements - -* Added confirmation dialogs to Cancel, Refund, and Capture payment actions ([#251](https://github.com/vendrhub/vendr/issues/251)). -* Added extra events to fire when adding or updating order lines via the `AddProduct` methods ([#248](https://github.com/vendrhub/vendr/issues/248)). -* Added `IOrderFinder` interface so custom order locating can be added if no order is found for a customer reference. -* Fixed bug where Member ID wasn't being auto-assigned to orders ([#263](https://github.com/vendrhub/vendr/issues/263)). -* Fixed Vendr cache refreshers not refreshing distributed caches correctly ([#250](https://github.com/vendrhub/vendr/issues/250)). -* Fixed an issue where log files are getting filled with unnecessary log messages ([#249](https://github.com/vendrhub/vendr/issues/249)). -* Fixed an issue where using a Gift Card resulted in the order erroring ([#247](https://github.com/vendrhub/vendr/issues/247)). -* Fixed issue with analytics fixed timeframes not updating ([#234](https://github.com/vendrhub/vendr/issues/234)). -* Fixed styling issue where long order status labels were getting cropped ([#230](https://github.com/vendrhub/vendr/issues/230)). -* Fixed issue where `GetOrCreateCurrentOrder` could return an order for a previous logged-in member ([#216](https://github.com/vendrhub/vendr/issues/216)). -* Fixed formatting bug in menu actions interceptor. -* Fixed bug in Store Dashboard where error order statuses were linking to the order list view with the wrong query string parameter. - -### v1.4.1 - -**Date:** 2020-12-21\ -**Description:** Patch release with minor bug fixes and enhancements - -* Fixed bug with license checking erroring during Umbraco Deploy deployments ([#233](https://github.com/vendrhub/vendr/issues/233)). -* Fixed issue with order confirmation email using payment country name in place of shipping country name. -* Fixed spelling error in auto-generated error email template alias. -* Fixed regression where custom product adapter was not being allowed on a trial license. -* Updated discounts to apply percentage values differently depending on whether tax is included in prices or not (rounding issue). -* Fixed error screen when assigning an orders order status prior to finalization due to the activity logger. The activity logger now only logs activity for finalized orders. -* Updated the `Price` entity to prioritize tax rounding over base price rounding. - -## v1.4.0 - -**Date:** 2020-12-10\ -**Description:** Major breaking changes release - -For more details on this release, including a recommended upgrade strategy, please see the [Vendr 1.4.0 RC blog post](https://vendr.net/blog/vendr-1-4-0-release-candidate/). - -* Added price adjustments/adjusters. -* Added amount adjustments/adjusters. -* Changed licensing factory to support subscription licenses in the future. -* Discounts are now Price Adjustments and so all price "Discount" related properties have been renamed to "Adjustment" related properties. -* Because Discounts are now Price Adjustments, Discounts are now no longer calculated as their own calculation pipeline task (`CalculateOrderDiscountsTask`). Instead, there is now an adjustments calculation pipeline task that calculates all adjustments (`ApplyOrderPriceAdjustmentsTask`), of which Discounts are now a type of adjuster (`DiscountsPriceAdjuster`). -* Because price adjustments can be positive or negative, all discount adjustments are now negative in value (important if you using discounts to calculate a value). -* All order calculation pipeline tasks related to "Discounts"/"Discounted" have all been renamed to "Adjustments"/"Adjusted" task names. All previous tasks have been marked obsolete with IntelliSense to guide you to the new implementation. -* Gift Cards are now Amount Adjustments and so all "Gift Card" related properties are now found in the "Adjustment" related properties. -* Because Gift Cards are now Amount Adjustments, Gift Cards are now no longer calculated as their own calculation pipeline task (`CalculateOrderGiftCardAmountsTask`). Instead, there is now an adjustments calculation pipeline task that calculates all adjustments (`ApplyOrderAmountAdjustmentsTask`), of which Gift Cards are now a type of adjuster (`GiftCardsAmountAdjuster`). -* Gift Card / Amount Adjustment values are now found on the `TransactionAmount` property rather than the `TotalPrice` property of an order. - -### v1.3.5 - -**Date:** 2020-12-07\ -**Description:** Patch release with minor bug fixes and enhancements - -* Fixed a bug in the backoffice rendering of bundled items where total columns were not lining up. -* Fixed a bug where deleting a discount fired the `DiscountedCodeAdded` validation event and prevented a discount code from being removed ([#222](https://github.com/vendrhub/vendr/issues/222)). -* Fixed bug in `UmbracoBooleanJsonConverter` not handling null values ([#224](https://github.com/vendrhub/vendr/issues/224)). -* Added extra logging to cache refreshers so these can be debugged. - -### v1.3.4 - -**Date:** 2020-11-23\ -**Description:** Patch release with minor bug fixes and enhancements - -* Bulk actions are now extendable ([#218](https://github.com/vendrhub/vendr/issues/218)). -* Added validation error when redeeming a discount/gift card where the code doesn't exist. -* Added order line `bundleId` to uniqueness properties list by default to enforce all bundles being unique order lines. -* Added `HMACSHA1Hash` helper to payment provider base class. -* Fixed an issue where logged-in customers weren't assigned to newly created orders ([#213](https://github.com/vendrhub/vendr/issues/213)). -* Fixed bug in `PropertyValue` constructor not settings `IsServerSideOnly` and `IsReadOnly` to pass in values. -* Put the Vendr stores tree into the "Commerce" group so that if anyone adds a new tree to the commerce section, the store's node does not appear under a generic "Third Party" group. -* Fixed spelling mistakes in `RegisteredCustomerInfo` method name. -* Fixed bug in default Tax Class validation rule being passed the wrong ID to validate. -* Fixed bug with discount rules provider not filtering "All" rules fulfilled order lines correctly. - -### v1.3.3 - -**Date:** 2020-10-28\ -**Description:** Patch release with minor bug fixes and enhancements - -* Added extra hashing method to the Payment Provider base class ([#209](https://github.com/vendrhub/vendr/issues/209)). -* Added `UnassignFromCustomer` convenience method to order. -* Stock is now replenished if an order payment status is `Cancelled` ([#196](https://github.com/vendrhub/vendr/issues/196)). -* Added distributed cache refresher for gift cards ([#212](https://github.com/vendrhub/vendr/issues/212)). -* Added validation rules to ensure entities set as "defaults" can't be deleted until a new default is set ([#201](https://github.com/vendrhub/vendr/issues/201)). -* Fixed minor alignment issues on the store actions list ([#192](https://github.com/vendrhub/vendr/issues/192)). -* Fixed `TotalPrice.TotalDiscount` not taking into account payment/shipping discounts ([#207](https://github.com/vendrhub/vendr/issues/207)). -* Fixed discount distributed cache refresher not being hooked up ([#211](https://github.com/vendrhub/vendr/issues/211)). -* Fixed typo in validation error for invalid combination of currency/country ([#205](https://github.com/vendrhub/vendr/issues/205)). -* Fixed issue where member discounts aren't recalculated when the order customer changes ([#204](https://github.com/vendrhub/vendr/issues/204)). -* Fixed conditional input break after 7.7 UI breaking change ([#203](https://github.com/vendrhub/vendr/issues/203)). -* Changed the breakpoint at which the Vendr layout reduces to mobile ([#202](https://github.com/vendrhub/vendr/issues/202)). -* Changed how percentage discounts work so that they calculate the percentage of pre-tax + tax prices rather than the pre-tax + the orders tax rate. - -### v1.3.2 - -**Date:** 2020-10-05\ -**Description:** Patch release with minor bug fixes and enhancements - -* Added unique code validation rule for Gift Cards. -* Expose the NPoco database type in the DatabaseUnitOfWork. -* Fixed a bug where users would get logged out when editing discounts/gift cards due to the tree Controller checking the wrong permission ([#197](https://github.com/vendrhub/vendr/issues/197)). -* Fixed SQL date error in the Analytics section when using **British English - English** DB culture ([#198](https://github.com/vendrhub/vendr/issues/198)). -* Removed redundant code fetching members in order editor ([#185](https://github.com/vendrhub/vendr/issues/185)). - -### v1.3.1 - -**Date:** 2020-10-05\ -**Description:** Patch release with minor bug fixes and enhancements - -* Added `Formatted()` extension method to `DiscountedPrice`. -* Added extra methods to order service to get Finalized, Open, and All orders for a customer. -* Added Region info to billing/shipping address details ([#180](https://github.com/vendrhub/vendr/issues/180)). -* Added Discount entity to DiscountRuleContext inline with DiscountRewardContext ([#189](https://github.com/vendrhub/vendr/issues/189)) -* Added `StoreActionsRenderingNotification` and `ActivityLogEntriesRenderingNotification` events to allow extending the store dashboard. -* Added support for a `VendrLicensesDirectory` app setting to override where licenses are loaded from. -* Fixed error when deleting an order connected to a Gift Card ([#186](https://github.com/vendrhub/vendr/issues/186)). -* Fixed a spelling error in the search term model for the item picker directive. -* Fixed performance issue introduced in 1.3.0 where constantly loading an entity become significantly slower. Introduced a new `EntityStateCacheAccessor` to only use the new transactional entity state cache when necessary ([#191](https://github.com/vendrhub/vendr/issues/191)). -* Fixed migration error if installing on a site where the Vendr tables already exist, Vendr hasn't been installed yet ([#190](https://github.com/vendrhub/vendr/issues/190)). -* Removed redundant code fetching members in order editor ([#185](https://github.com/vendrhub/vendr/issues/185)). - -## v1.3.0 - -**Date:** 2020-09-17\ -**Description:** Minor release including new features and some bug fixes/breaking changes - -* Added a new store summary dashboard featuring a sales summary, links to pertinent actions as well as an activity log. -* Added commerce route dashboard giving a summary of stores the current user has access to. -* Added analytics section to stores to provide basic analytics reporting on the store's performance. -* Added ability to handle Vendr subscription-based licenses. -* Added Vendr logo to Umbraco package. -* Fixed Umbraco 8.8 RC styling issues mostly around icons. -* `IEntityStateCache` is now no longer an injectable dependency, instead it is accessed via the Unit of Work. -* List view buttons now use the outline style as per the latest Umbraco. -* `IProductCalculator` now accepts a `ProductCalculatorContext`. -* `IUnitOfWork` interface now provides access to the entity state cache. -* `UnitOfWork` now accepts a `VendrUnitOfWorkTransaction`. - -### v1.2.10 - -**Date:** 2020-09-11\ -**Description:** Patch release with minor bug fixes mostly around the Umbraco 8.7 release - -* Fixed a styling bug in the order details header that got missed in the previous release. - -### v1.2.9 - -**Date:** 2020-09-11\ -**Description:** Patch release with minor bug fixes mostly around the Umbraco 8.7 release - -* Fixed a bug in the session manager remembering an order after it had been moved to finalized. -* Fixed bug in UI not matching the same colors used by Umbraco ([#174](https://github.com/vendrhub/vendr/issues/174)). -* Fixed bug with price + store entity pickers not working correctly in Umbraco 8.7 ([#176](https://github.com/vendrhub/vendr/issues/176)). -* Fixed a series of style changes in the recent Umbraco 8.7 release. - -### v1.2.8 - -**Date:** 2020-08-21\ -**Description:** Patch release with minor bug fixes/enhancements - -* Added a new customer info panel accessible via a user icon next to the customer name to be able to display registered customer info + order history ([#129](https://github.com/vendrhub/vendr/issues/129)). -* Added helpful exception messages if you attempt to create an order but the required store default config isn't yet in place. It now tells you what needs fixing, and how to fix it ([#158](https://github.com/vendrhub/vendr/issues/158)). -* Use `umb-loader` component in Vendr list view rather than raw markup + css classes ([#161](https://github.com/vendrhub/vendr/issues/161)). -* Improved accessibility in a number of areas ([#162](https://github.com/vendrhub/vendr/issues/162)). -* Removed `umb-overlay` directive usage in favor of the `overlayService` ([#163](https://github.com/vendrhub/vendr/issues/163)). -* Expanded any self-closing directive DOM tags as this is considered bad practice for directives ([#164](https://github.com/vendrhub/vendr/issues/164)). -* Fixed a bug where creating a new order via the session manager wasn't populating a default shipping country/shipping method ([#156](https://github.com/vendrhub/vendr/issues/156)). -* Fixed bug in session manager SetDefaultCurrency and SetDefaultTaxClass where exception was thrown if `applyToCurrentOrder` is `true` ([#160](https://github.com/vendrhub/vendr/issues/160)). -* Add null checks and error logs if there is a problem calculating the order gift card amount if a gift card is deleted ([#167](https://github.com/vendrhub/vendr/issues/167)). -* Fixed long order line names flowing off-screen. They are now truncated with ... ([#147](https://github.com/vendrhub/vendr/issues/147)). -* Fixed bug in Member Group Discount Rule throwing an error screen due to DI resource not being found. Now use `IMemberService` for everything. -* Fixed rounding issue when applying a discount amount but the order line totals calculation doesn't match the price + tax of the discount exactly. - -### v1.2.7 - -**Date:** 2020-07-29\ -**Description:** Patch release with minor bug fixes/enhancements - -*** - -* Added payment provider feature to fetch an order's payment status from the payment gateway when an order is opened in the same way Tea Commerce does. -* Updated how the stock property editor loads and persists its value so that it doesn't cause a stock update every time it's saved. -* Orders now finalize if the payment status is anything but Initialized (previously didn't finalize if the status was PendingExternalSystem). -* The pending payment status is now displayed as purple in the backoffice so that it's not the same color as the canceled status. -* Updated the store entity picker to support multiple store resolution modes so that the picker can be used outside of the content section ([#141](https://github.com/vendrhub/vendr/issues/141)). -* Fixed bug when creating US country regions from preset ([#159](https://github.com/vendrhub/vendr/issues/159)). -* Fixed issue with payment provider continue/cancel/error URLs escaping query strings ([#157](https://github.com/vendrhub/vendr/issues/157)). -* Fixed <= price discount rule not displaying correct symbol ([#155](https://github.com/vendrhub/vendr/issues/155)). - -### v1.2.6 - -**Date:** 2020-07-02\ -**Description:** Patch release with minor bug fixes/enhancements and some breaking changes - -* Thawing prices now causes existing, unfinalized orders to recalculate and re-freeze prices at the current rate ([#145](https://github.com/vendrhub/vendr/issues/145)). -* Fixed error screen when applying a discount with multiple rewards for the same price target. Applied discounts now accumulate all rewards per price type ([#136](https://github.com/vendrhub/vendr/issues/136)). -* Fixed a bug in discounts where the "Block discount if previous discounts already apply" setting was not being honored ([#142](https://github.com/vendrhub/vendr/issues/142)). -* Fixed bug in discounts where Order Total based percentage discounts were not being applied ([#143](https://github.com/vendrhub/vendr/issues/143)). -* Fixed error when creating an order and adding order lines in the same UoW. This ultimately came down to the price freezing logic freezing prices too early. For new orders, prices are now frozen after the initial save ([#140](https://github.com/vendrhub/vendr/issues/140)). -* Fixed an issue in migrations where some installs seem to convert unique indexes into unique constraints and so an error is thrown when attempting to drop the index. We now check to see if a constraint exists first and then perform the appropriate task ([#116](https://github.com/vendrhub/vendr/issues/116)). -* `IShippingCalculator` methods now take in `ShippingCalculatorContext` with a reference to the current order/order calculation should one be available ([#146](https://github.com/vendrhub/vendr/issues/146)). -* `IPaymentCalculator` methods now take in `PaymentCalculatorContext` with a reference to the current order/order calculation should one be available ([#146](https://github.com/vendrhub/vendr/issues/146)). - -### v1.2.5 - -**Date:** 2020-06-17\ -**Description:** Patch release with minor bug fixes/enhancements - -* Added license warning message to gift cards, discounts, and store settings sections. -* Fixed the issue where the sort dialog displays the wrong error message if there is an error whilst sorting ([#131](https://github.com/vendrhub/vendr/issues/131)). -* Fixed issue where Dates were incorrect due to use of DateTime.Now rather than DateTime.UtcNow ([#134](https://github.com/vendrhub/vendr/issues/134)). -* Fixed rounding issue in order calculation ([#126](https://github.com/vendrhub/vendr/issues/126)). -* Fixed issue with the entity cache storing null values which shouldn't be allowed. -* Fixed issue where setting an explicit sort order on a new entity would be ignored on save. -* Fixed regression issue from 1.2.3 where loading orders from the database was switching the order id and currency id of the order causing calculation problems. -* Fixed issue with spelling mistake in discount rules / reward configurations for `Amounts Include Tax` properties ([#135](https://github.com/vendrhub/vendr/issues/135)). -* Fixed the issue with discounts not maintaining their sort order when loading from the database ([#132](https://github.com/vendrhub/vendr/issues/132)). -* Deprecated "Master" terminology in the code base so `MasterRelation` is now `ProductSource` (This is currently deprecated so the existing `MasterRelation` will still work, but moving forward `ProductSource` will be the recommended terminology). -* Updated the payment methods and create-dialog to exclude any payment providers marked with an `[Obsolete]` attribute. Obsolete payment providers can still be used, but they won't be selectable for new payment methods. -* Removed the sort option from the Gift Cards section as gift cards aren't sortable ([#131](https://github.com/vendrhub/vendr/issues/131)). -* Made the `Order.InitializeTransaction` method public to allow people to create and finalize a transaction in code without having to go via a payment gateway. -* Store `Create` method extended to make store auto population configurable. This is needed for Vendr.Deploy. - -### v1.2.4 - -**Date:** 2020-06-12\ -**Description:** Patch release with minor bug fixes / enhancements and some minor breaking changes - -* Added support for `UmbracoLicensesDirectory` app setting to define where licenses are located ([#119](https://github.com/vendrhub/vendr/issues/119)). -* Added `CanProcessOrder` method to payment providers so that payment providers can pre-check whether they would be capable of processing a given order. -* Fixed an issue where it wasn't possible to update a product's stock back to the previously entered stock level ([#127](https://github.com/vendrhub/vendr/issues/127)). -* Fixed issue where multiple operations within a single UoW were not being persisted due to stale state not getting updated correctly ([#128](https://github.com/vendrhub/vendr/issues/128)). -* Fixed issue with the `Extract` helper method throwing an exception if the given item to extract couldn't be found. -* Fixed issue where null order/order line properties would cause persistence error. -* Updated the percentage amount discounts rewards to only allow positive percentage values ([#113](https://github.com/vendrhub/vendr/issues/113)). -* Renamed the `Persistance` namespace to the correct `Persistence` spelling. This is a breaking change, but people shouldn't be using the persistence resources directly. -* Moved `ValidationError` to `Models` namespace. This is a breaking change, but people shouldn't be using the `ValidationError` model directly. -* With the introduction of the `UmbracoLicensesDirectory` app setting, if you are running on Umbraco Cloud and have a license installed, because Umbraco Cloud auto sets this setting to `~\App_Plugins\UmbracoLicenses\` you will need to move your license files from the `App_Data` folder to this new location. - -### v1.2.3 - -**Date:** 2020-06-05\ -**Description:** Patch release with minor bug fixes/enhancements - -* Fixed issue with recent gift card config settings not being copied when a store is deep cloned. -* Fixed issue with the store "allowed users" not persisting due to incorrect variable name in views. -* Fixed issue where domain events that affect the saving entity model were not being persisted due to a variable reference issue and deep comparisons not working. -* Fixed the issue with the sort dialog close button not working ([#123](https://github.com/vendrhub/vendr/issues/123)). -* Fixed issue where deleted gift cards were still showing in list view ([#124](https://github.com/vendrhub/vendr/issues/124)). -* Fixed issue where stock values were being cached at the page level where they should be at the request level ([#125](https://github.com/vendrhub/vendr/issues/125)). -* Only show payment/shipping "via" in the backoffice if a payment/shipping method is known. -* Added script to NuGet packages to auto increment client dependency version. -* Order calculation now rounds prices to the currencies defined decimal places level after each calculation step in order to prevent rounding issues ([#126](https://github.com/vendrhub/vendr/issues/126)). -* Payment Provider cancel, continue, and callback URL hashes now include the actual URL, and not only the reference as part of the hash. This is to prevent tampering of the URLs. -* Session cookies are now flagged as `HttpOnly` (this can be disabled by setting an app setting `Vendr:Cookies:HttpOnly` to `false`), and when the site is accessed over HTTPS, also flagged as `Secure`. This is to protect the session cookies from being hijacked by malicious entities. -* The current finalized order is now stored in its own session cookie with a limited lifetime of 5 minutes providing enough time to display a confirmation page, but no longer persisting until a new order took its place. - -### v1.2.1/2 - -**Date:** 2020-05-28\ -**Description:** Patch release with minor bug fixes/enhancements - -* Fixed bug in discount service preventing discount/gift cards from being redeemed 🤦‍♂️ -* Reverted fix for ([#116](https://github.com/vendrhub/vendr/issues/116)) as it was preventing clean installs so needs investigating further 🤦‍♂️ - -## v1.2.0 - -**Date:** 2020-05-28\ -**Description:** Minor version release predominantly for the Gift Cards feature with a few bug fixes too - -* Added gift cards feature which includes a new sub-section in the commerce section along with the ability to create gift cards manually and additional automation for automatically creating gift cards and sending gift card emails when a gift card is purchased. -* Added `IGiftCardCodeGenerator` to allow for a custom gift card code generation strategy. -* Added Zero Value payment provider in core to allow the passing through of orders whose final value is 0 and thus no payment needs to be taken. This will be up to the implementer however to set up and select this payment method accordingly. -* Added gift card service methods to the global `IVendrApi` helper. -* Added support of dynamic lambda statements in the syntax of `{Model.Value}` in email template subject lines ([#107](https://github.com/vendrhub/vendr/issues/107)). -* Added validation to the `AddProduct` method to ensure a price for the order currency exists. -* Added `_ViewStart.cshtml` file to the Vendr views folder to reset any global layout that might have been defined ([#117](https://github.com/vendrhub/vendr/issues/117)). -* Fixed NullReference exception when adding a product to an order when missing a price ([#112](https://github.com/vendrhub/vendr/issues/112)). -* Fixed a number of migration SQL errors when upgrading using SQL Server ([#116](https://github.com/vendrhub/vendr/issues/116)). -* Fixed error with discount property rule not working correctly when a property doesn't exist ([#115](https://github.com/vendrhub/vendr/issues/115)). -* Fixed bug with discount code validation incorrectly reporting the discount code is already in use. -* Store configuration now has additional gift card configuration fields. -* Email Templates now have a category used to filter the email templates to display in "send email" dialogs. -* Updated the store create-pipeline to auto-create the default gift card email. -* Updated the store create-pipeline to assign generated emails to the relevant categories. -* Send email dialogs now have the ability to override the `To` address before sending. -* Improved the `PricePropertyValue` model's `HasValue` method to also check for null values. -* Updated the `UmbracoProductSnapshot.Prices` property to check for values for the given currency before assuming it has a value. -* `IProductAdapater` interface now has a new `IsGiftCard` property. - -### v1.1.4 - -**Date:** 2020-05-19\ -**Description:** Patch release with minor bug fixes/enhancements - -* Fixed JavaScript error when refreshing the order list view after an order is deleted ([#96](https://github.com/vendrhub/vendr/issues/96)). -* Fixed formatting issue in table view selection message where `X of Y` the message was being displayed without spaces. -* Fixed error screen when deleting an order line that has discounts applied to it ([#98](https://github.com/vendrhub/vendr/issues/98)). -* Fixed order lines are limited to a max of 100 quantities ([#101](https://github.com/vendrhub/vendr/issues/101)). -* Fixed error in backoffice when displaying the transaction info dialog when some keys have an empty value ([#104](https://github.com/vendrhub/vendr/issues/104)). -* Fixed error when adding a suborder line to a bundle ([#106](https://github.com/vendrhub/vendr/issues/106)). - -### v1.1.3 - -**Date:** 2020-05-06\ -**Description:** Patch release with minor bug fixes/enhancements - -* Patch release `dll` timestamp is not formatted in the correct way. -* Fixed bug in TaxClassRepository.GetIdByAlias method which had a malformed SQL statement. -* Fixed NuGet install script not working correctly in directories containing spaces. -* When saving a product node with a stock property, only sync the value back to the stock database table if the property is dirty ([#93](https://github.com/vendrhub/vendr/issues/93)). - -### v1.1.2 - -**Date:** 2020-05-05\ -**Description:** Patch release with minor bug fixes / enhancements - -* Added `*.xip.io`, `*.nip.io` and `*.sslip.io` as valid test domains. -* Added strongly typed value converter for the store entity picker property editor. -* Added missing validation events for Discount code add/update/remove. -* Added validation events to all entities to validate the uniqueness of aliases/codes. -* Added `Exists` methods to all entity services to make it easier to check for the existence of an entity. -* Fixed bug in product uniqueness logic throwing an error if you add a product with no uniqueness properties after one that is already in the cart ([#88](https://github.com/vendrhub/vendr/issues/88)). -* Fixed build script formatting the patch release timestamp incorrectly. -* Fixed error when removing items from a cart and using SQL CE. This was due to a SQL statement that doesn't work on SQL CE. Now updated to work across the board ([#89](https://github.com/vendrhub/vendr/issues/89)). -* Fixed bug where discount codes declared on deleted discounts couldn't be reused ([#91](https://github.com/vendrhub/vendr/issues/91)). -* Discount aliases are now validated before saving and display a friendly error message ([#91](https://github.com/vendrhub/vendr/issues/91)). -* Changed picker property editor 'add' buttons to use a button element, rather than a link tag ([#86](https://github.com/vendrhub/vendr/issues/86)). -* Changed table view 'create' buttons to use a button element, rather than a link tag ([#87](https://github.com/vendrhub/vendr/issues/87)). -* Implemented friendlier display of validation errors ([#91](https://github.com/vendrhub/vendr/issues/91)). - -### v1.1.1 - -**Date:** 2020-04-29\ -**Description:** Patch release with minor bug fixes/enhancements - -* Fixed issue with the v1.1.0 NuGet package not copying email templates to the Views folder 🤦‍♂️. - -### v1.1.0 - -**Date:** 2020-04-29\ -**Description:** Minor release with new features and some minor bug fixes/enhancements - -* Added "Unlimited" checkbox to discount codes to allow them to have unlimited usage ([#50](https://github.com/vendrhub/vendr/issues/50)). -* Added basic Order/Payment Status filters to the Order list ([#63](https://github.com/vendrhub/vendr/issues/63)). -* Added escape key shortcut to close Discount rule/rewards settings editor dialog ([#60](https://github.com/vendrhub/vendr/issues/60)). -* Added feedback when copying order details to clipboard ([#22](https://github.com/vendrhub/vendr/issues/22)). -* Added a new store entity picker property editor to merge together all store entity pickers. Tax Class picker is now obsolete in favour of this new picker. -* Added email templates for the default Confirmation / Error emails. -* Fixed error when accessing transaction info for an order where the Payment Provider no longer existed. Now perform null checks on data ([#58](https://github.com/vendrhub/vendr/issues/58)). -* Fixed issue with NuGet packages not copying content files on upgrade. Added a PowerShell script to perform the copy. -* Fixed bug where customer details weren't being persisted into the dedicated fields in the database table (they are still present in the properties collection where they are referenced from 99% of the time) ([#85](https://github.com/vendrhub/vendr/issues/85)). -* Rule / Reward builders now support infinite editing when creating a rule so closing the editor via the 'close' link now goes back to the rule / reward picker. ([#81](https://github.com/vendrhub/vendr/issues/81)). -* Removed code for shipping method / payment method picker property editors in favour of the new store entity picker. These were never made public as actual property editors, as they were only used by the rule / reward builder so this won't be classed as a breaking change. - -### v1.0.3 - -**Date:** 2020-04-24\ -**Description:** Patch release with minor bug fixes/enhancements - -* Added missing Product discount rule to discounts rule builder ([#76](https://github.com/vendrhub/vendr/issues/76)). -* Added basic Order Line Amount Reward that applies to all Order Lines. -* Product prices now thaw when the last product of a type is removed from the cart ([#71](https://github.com/vendrhub/vendr/issues/71)). -* Fixed error when saving a property with a null value. The property is now removed if the value is null ([#78](https://github.com/vendrhub/vendr/issues/78)). -* Changed the name of the Products Order Line Amount Reward to Order Line (with Product) Amount Reward as it's more descriptive of its purpose. - -### v1.0.2 - -**Date:** 2020-04-15\ -**Description:** Patch release with minor bug fixes/enhancements - -* Added the ability to delete an order from the action menu. -* Added permission checks to all entity controller actions. -* Fixed ability to delete orders ([#49](https://github.com/vendrhub/vendr/issues/49)). -* Fixed issue with orders not finalizing if an error occurs sending emails. Email sending is now wrapped in a try-catch that logs errors to the error log instead ([#52](https://github.com/vendrhub/vendr/issues/52)). -* Fixed bug in EmailTemplateService.SendEmail where it wasn't sent to the supplied To email address unless "Send to Customer" on the email template was checked. This setting now only applies if you call the SendEmail method version that accepts an Order. The signature with the explicit `toEmailAddress` parameter will always send to the provided email address ([#54](https://github.com/vendrhub/vendr/issues/54)). -* Percentage reward inputs now only accept decimals ([#59](https://github.com/vendrhub/vendr/issues/59)). -* Fixed property discount rule, property alias field description describing the wrong thing ([#62](https://github.com/vendrhub/vendr/issues/62)). -* Changed payment status colours so Authorized is now blue and Refunded is orange so that Refunded doesn't look like an error ([#61](https://github.com/vendrhub/vendr/issues/61)). - -### v1.0.1 - -**Date:** 2020-04-06\ -**Description:** Patch release with minor fixes found post-launch - -* Fixed the wrong license URL displayed in the installer. -* Fixed stock input field not allowing a stock level greater than 100 ([#44](https://github.com/vendrhub/vendr/issues/44)). -* Fixed stock input field rounding decimal stock levels on save ([#45](https://github.com/vendrhub/vendr/issues/45)). -* Updated all caches to use a `GetOrAddIfNotNull` method to ensure null entities don't end up in the internal cache. - -## v1.0.0 - -**Date:** 2020-03-30\ -**Description:** Initial Vendr release diff --git a/10/umbraco-commerce/getting-started/introduction.md b/10/umbraco-commerce/getting-started/introduction.md deleted file mode 100644 index 1cc7a359e32..00000000000 --- a/10/umbraco-commerce/getting-started/introduction.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -description: Getting Started with Umbraco Commerce. ---- - -# Introduction - -In this section, you will find information about the key steps necessary to get you started with Umbraco Commerce. - -It is assumed that you have an Umbraco 10+ website configured, and ready to install Umbraco Commerce. - -{% hint style="info" %} -Find detailed instructions on how to install the latest version of Umbraco in the [Umbraco CMS documentation](https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install). -{% endhint %} - -## System Requirements - -The minimum requirements for using Umbraco Commerce are as follows: - -* Umbraco CMS version 10+ -* SQL Server 2015+ Database - * **SQLite** is fine for testing, but not recommended for live deployments. See [Configuring SQLite support](../how-to-guides/configure-sqlite-support.md) for more details. - -## Versioning - -This is an add-on product to Umbraco CMS. Umbraco Commerce follows the [versioning strategy laid out for Umbraco CMS](https://umbraco.com/products/knowledge-center/versioning-and-release-cadence/). diff --git a/10/umbraco-commerce/getting-started/umbraco-configuration.md b/10/umbraco-commerce/getting-started/umbraco-configuration.md deleted file mode 100644 index b1274750016..00000000000 --- a/10/umbraco-commerce/getting-started/umbraco-configuration.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -description: Configuring Umbraco for Umbraco Commerce. ---- - -# Umbraco Configuration - -Before you can start to use Umbraco Commerce, you need to configure Umbraco to allow access to the relevant sections. The Umbraco Commerce UI is split over three sections within the Umbraco backoffice: - -* **Settings** for managing the different store settings. -* **Commerce** for managing store-related content (orders, discounts, etc). -* **Content** for managing the Umbraco Commerce products. - -In order to access these sections, you will need to ensure a User account with the relevant permissions to do so. When logged in as Administrator, access to the **Settings** and **Content** sections is already granted. - -To gain access to the **Commerce** section additional configuration is needed. - -## Creating a Commerce User Group - -To gain access to the **Commerce** section, it is advised to create a new User Group called **Commerce**. - -1. Navigate to the **User** section of the Umbraco backoffice. -2. Open the **User Groups** page. -3. Create a new User Group called **Commerce**. -4. Assign the relevant User accounts to that User Group. -5. Allow that User Group access to the **Commerce** section as a whole. - -Creating a custom User Group provides a way of managing Users who have access to the **Commerce** section, rather than allowing individual Users access. - -Learn more about [Users and User Groups in the Umbraco CMS Documentation](https://docs.umbraco.com/umbraco-cms/fundamentals/data/users). - -![Creating a Commerce User Group in Umbraco](../media/create\_commerce\_user\_group.png) - -## Accessing the Commerce Section - -Once created and assigned, you should be able to refresh the backoffice and see that we now have access to the new **Commerce** section. - -![Commerce Section in Umbraco Navigation](../media/commerce\_section.png) diff --git a/10/umbraco-commerce/getting-started/user-interface.md b/10/umbraco-commerce/getting-started/user-interface.md deleted file mode 100644 index 81507db2be3..00000000000 --- a/10/umbraco-commerce/getting-started/user-interface.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -description: The User Interface for Umbraco Commerce. ---- - -# User Interface - -The Umbraco Commerce UI consists of a number of key areas, split over three sections within the Umbraco backoffice: - -* **Settings** for managing the different store settings. -* **Commerce** for managing store-related content (orders, discounts, etc). -* **Content** for managing the Umbraco Commerce products. - -## Settings Section - -The **Settings** section is where the configuration of all Store settings is managed. From here you can manage how the Store works as well as what options will be available within the Store. - -The UI for the **Settings** section consists of a Tree which lists all available Stores and their key areas available for configuration. It also contains a right-hand editor panel. This can either act as an editor interface or as a list view interface for listing items within that given configuration area. - -![Umbraco Commerce Settings - Editor View](../media/umbraco-commerce\_settings\_section\_editor\_view.png) - -![Umbraco Commerce Settings - List View](../media/umbraco-commerce\_settings\_section\_list\_view.png) - -Each Store has 8 key areas of configuration accessible within the **Settings** section: - -* **Store**: Each Store node contain Store level configuration settings. -* **Order Statuses** contain the configuration of the different Statuses an order can be in. Think of these as an organizational structure for your Orders. -* **Shipping Methods** contains the list of Shipping Methods available to a Store. -* **Payment Methods** contains the list of Payment Methods available to a Store. -* **Countries** contain the list of Countries the Store is able to trade with. -* **Currencies** contain the list of accepted Currencies for the Store. -* **Taxes** contains the list of Tax Classes and their Tax Rates for the Store. -* **Email Templates** contains the list of Email Templates supported by the Store. - -## Commerce Section - -The **Commerce** section contains a Tree to access the Stores and their different features, as well as a right-hand panel for managing the items. - -![Umbraco Commerce Orders View](../media/commerce\_orders\_view.png) - -![Umbraco Commerce Order Editor](../media/commerce\_order\_details.png) - -## Content Section - -The **Content** section is where the Umbraco Commerce product nodes are managed. Managing products with Umbraco Commerce is similar to working with regular content nodes. - -![Umbraco Commerce Store Picker Dialog](../media/content\_store\_picker.png) diff --git a/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md b/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md deleted file mode 100644 index 407829fc7c1..00000000000 --- a/10/umbraco-commerce/how-to-guides/configure-sqlite-support.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -description: How-To Guide to configure SQLite support for Umbraco Commerce. ---- - -# Configure SQLite support - -Out of the box, Umbraco Commerce only supports SQL Server-based databases as this is the recommended database platform for live environments. To aid testing and rapid prototyping, however, Umbraco Commerce can be configured to use an SQLite database. - -{% hint style="warning" %} -Whilst Umbraco Commerce does support SQLite for testing, we do not recommend using it in a live environment. Due to the high levels of active connections required to manage concurrent shopping carts, this is not something SQLite handles well at all. -{% endhint %} - -## Install SQLite dependencies - -To add SQLite support, you will need to install the SQLite persistence layer NuGet package for Umbraco Commerce. - -```bash -PM> dotnet add package Umbraco.Commerce.Persistence.Sqlite -``` - -Once the NuGet package is installed, you need to register SQLite support with Umbraco Commerce via the [`IUmbracoCommerceBuilder`](../key-concepts/umbraco-commerce-builder.md) interface. - -Add .`AddUmbracoCommerce()` below `.AddWebsite()` in the `Program.cs` file. - -```csharp -.AddUmbracoCommerce(builder => { - builder.AddSQLite(); -}) -``` - -After configuring Umbraco CMS with SQLite, Umbraco Commerce will automatically utilize the same database configuration. If you wish to install Umbraco Commerce into its own SQLite database you can configure its connection string in the `appSettings.json` like so: - -```json -{ - ... - "ConnectionStrings": { - "umbracoDbDSN": "Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True", - "umbracoDbDSN_ProviderName": "Microsoft.Data.SQLite", - "umbracoCommerceDbDSN": "Data Source=|DataDirectory|/Umbraco.Commerce.sqlite.db;Mode=ReadWrite;Foreign Keys=True;Pooling=True;Cache=Shared", - "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.SQLite" - }, - ... -} - -``` diff --git a/10/umbraco-commerce/how-to-guides/limit-orderline-quantity.md b/10/umbraco-commerce/how-to-guides/limit-orderline-quantity.md deleted file mode 100644 index 41bc1edd17a..00000000000 --- a/10/umbraco-commerce/how-to-guides/limit-orderline-quantity.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -description: How-To Guide to limit order line quantity in Umbraco Commerce. ---- - -# Limit Order Line Quantity - -In this guide, we will be looking at Validation events in Umbraco Commerce. These enabled you to limit order line quantity based on: - -* The existing stock value of the product, and -* The existing quantity of the product in the cart. - -## ProductAddValidationHandler - -When adding a product to the cart we need to verify that the product is in stock. We also need to verify that the customer does not already have the remaining quantities in the cart. - -```csharp -public class ProductAddValidationHandler : ValidationEventHandlerBase -{ - private readonly IProductService _productService; - - public ProductAddValidationHandler(IProductService productService) - { - _productService = productService; - } - - public override void Validate(ValidateOrderProductAdd evt) - { - var order = evt.Order; - var productReference = evt.ProductReference; - - var stock = _productService.GetProductStock(productReference); - - var totalQuantities = order?.OrderLines.Where(x => x.ProductReference == productReference).Sum(x => x.Quantity) ?? 0; - - if (stock.HasValue && totalQuantities >= stock.Value) - evt.Fail($"Only {stock} quantities can be purchased for {productReference}."); - } -} - -``` - -## OrderLineQuantityValidationHandler - -When changing the order line quantity on the cart page, we need to ensure that the quantities being changed are in stock. - -```csharp -public class OrderLineQuantityValidationHandler : ValidationEventHandlerBase -{ - private readonly IProductService _productService; - - public OrderLineQuantityValidationHandler(IProductService productService) - { - _productService = productService; - } - - public override void Validate(ValidateOrderLineQuantityChange evt) - { - var orderLine = evt.OrderLine; - var productReference = orderLine.ProductReference; - - var stock = _productService.GetProductStock(productReference); - - if (stock.HasValue && evt.Quantity.To > stock.Value) - evt.Fail($"Only {stock} quantities can be purchased for {productReference}."); - } -} - -``` - -## Register event handlers - -Finally, we need to register the Umbraco Commerce event handlers via an `IUmbracoCommerceBuilder` extension. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddEventHandlers(IUmbracoCommerceBuilder builder) - { - // Register event handlers - builder.WithValidationEvent() - .RegisterHandler(); - - builder.WithValidationEvent() - .RegisterHandler(); - - return builder; - } -} -``` diff --git a/10/umbraco-commerce/how-to-guides/overview.md b/10/umbraco-commerce/how-to-guides/overview.md deleted file mode 100644 index 85e3c8ac9e5..00000000000 --- a/10/umbraco-commerce/how-to-guides/overview.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -description: How-to Guides on how to perform specific tasks in Umbraco Commerce. ---- - -# Overview - -In this section, we will provide a series of How-To Guides, showcasing how to perform specific tasks within Umbraco Commerce. - -## Available guides - -
Migrate from Vendr to Umbraco Commercemigrate-from-vendr-to-umbraco-commerce
Configure SQLite supportconfigure-sqlite-support.md
Limit Order Line Quantitylimit-orderline-quantity.md
Use an alternative database for Umbraco Commerce tablesuse-an-alternative-database-for-umbraco-commerce-tables.md
diff --git a/10/umbraco-commerce/how-to-guides/use-an-alternative-database-for-umbraco-commerce-tables.md b/10/umbraco-commerce/how-to-guides/use-an-alternative-database-for-umbraco-commerce-tables.md deleted file mode 100644 index bb2423f0b7b..00000000000 --- a/10/umbraco-commerce/how-to-guides/use-an-alternative-database-for-umbraco-commerce-tables.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -description: >- - How-To Guide to configure using an alternative database for the tables of - Umbraco Commerce. ---- - -# Use an Alternative Database for Umbraco Commerce Tables - -By default, Umbraco Commerce will use the same database as Umbraco to store its data. As e-commerce and content management have different database needs, it may be beneficial to house the Umbraco Commerce database tables in an alternative database. - -To do this, you can configure a Umbraco Commerce-specific connection string in your app settings `ConnectionStrings` section using the `umbracoCommerceDbDSN` prefix. - -```json -{ - ... - "ConnectionStrings": { - "umbracoDbDSN": "Server=umbracoServerAddress;Database=myUmbracoDb;User Id=myUsername;Password=myPassword;", - "umbracoDbDSN_ProviderName": "Microsoft.Data.SqlClient", - "umbracoCommerceDbDSN": "Server=umbracoCommerceServerAddress;Database=myUmbracoCommerceDb;User Id=myUsername;Password=myPassword;", - "umbracoCommerceDbDSN_ProviderName": "Microsoft.Data.SqlClient" - }, - ... -} -``` - -When Umbraco Commerce runs, it will perform all of its migrations and operations against this database instead of the default Umbraco database. diff --git a/10/umbraco-commerce/installation/install.md b/10/umbraco-commerce/installation/install.md deleted file mode 100644 index bc8251955a7..00000000000 --- a/10/umbraco-commerce/installation/install.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -description: >- - Learn the steps needed in order to install Umbraco Commerce into your Umbraco CMS website. ---- - -# Installation - -Learn how to install Umbraco Commerce into your Umbraco CMS implementation. - -You can also find information about how to upgrade and how to install and activate your Umbraco Commerce license. - -## NuGet Package Installation - -Umbraco Commerce is available via [NuGet.Org](https://www.nuget.org/packages/Umbraco.Commerce/). - -To install Umbraco Commerce via NuGet you can run the following command directly in the NuGet Manager Console window: - -```bash -PM> dotnet add package Umbraco.Commerce -``` - -Alternatively, you can also find and install the NuGet package via the NuGet Package Manager in Visual Studio. You will see a number of packages available, however, you will want to install the main **Umbraco Commerce** package. - -![Installing Umbraco Commerce via the NuGet Package Manager](../media/nuget-packages-overview.png) - -For most sites using a single solution, the above will be all you need to install Umbraco Commerce into your project. When you have a more complex solution structure consisting of multiple projects, Umbraco Commerce is available in multiple sub-packages with varying dependencies. - -
Sub-packageDescription
Umbraco.Commerce.CommonA shared project of common, non-Commerce-specific patterns and helpers.
Umbraco.Commerce.CoreCore Commerce functionality that doesn't require any infrastructure-specific dependencies.
Umbraco.Commerce.InfrastructureInfrastructure-specific project containing implementations of core Commerce functionality.
Umbraco.Commerce.Persistence.SqlServerPersistence-specific project containing implementations of core Commerce persistence functionality for SQL Server.
Umbraco.Commerce.Persistence.SqllitePersistence-specific project containing implementations of core Commerce persistence functionality for SQLite.
Umbraco.Commerce.WebCore Commerce functionality that requires a web context.
Umbraco.Commerce.CmsCore Commerce functionality that requires an Umbraco dependency.
Umbraco.Commerce.Cms.WebThe Commerce functionality for the Umbraco presentation layer.
Umbraco.Commerce.Cms.Web.UIThe static Commerce assets for the Umbraco presentation layer.
Umbraco.Commerce.Cms.StartupThe Commerce functionality for registering Commerce with Umbraco.
Umbraco.CommerceThe main Commerce package entry point package.
- -## Installing a License - -See the [Licensing page](../installation/licensing-model.md#installing-your-license) for details on how to install a license. diff --git a/10/umbraco-commerce/installation/licensing-model.md b/10/umbraco-commerce/installation/licensing-model.md deleted file mode 100644 index dea4a4e3f10..00000000000 --- a/10/umbraco-commerce/installation/licensing-model.md +++ /dev/null @@ -1,169 +0,0 @@ -# Licensing - -Umbraco Commerce is a commercial product. You can run an Umbraco Commerce unrestricted locally without the need a license. Running Umbraco Commerce on a public domain will display a warning banner in the backoffice and will limit the maximum number of orders (20). To remove these restrictions, you'll need to have a **valid license**. - -## How does it work? - -Licenses are sold per backoffice domain and will also work on all subdomains. If you have alternative staging/qa environment domains, additional domains can be added to the license on request. - -{% hint style="info" %} -The licenses are not bound to a specific product version. They will work for all versions of the related product. -{% endhint %} - -Let's say that you have a license configured for your domain, `mysite.com`, and you've requested two development domains, `devdomain.com` and `devdomain2.com`. - -The license will cover the following domains: - -* `localhost` -* `*.local` -* `*.mysite.com` -* `www.mysite.com` -* `devdomain.com` -* `www.devdomain.com` -* `devdomain2.com` -* `www.devdomain2.com` - -{% hint style="info" %} -You can have only 1 license per Umbraco installation. -{% endhint %} - -## What does a license cover? - -There are a few differences as to what the licenses cover: - -* A single license covers the installation of Umbraco Commerce in 1 production backoffice domain, as well as in any requested development domains. -* The production domain includes **all subdomains** (e.g. `*.mysite.com`). -* The development domains work with or without the `www` subdomain. -* The license allows for an unlimited number of orders. -* The license also includes `localhost` and `*.local` as a valid domain. - -{% hint style="info" %} -If you have multiple backoffice domains pointing at the same installation, you have the option to purchase and [add **additional domains**](licensing-model.md#add-additional-domains) to your license. - -This is an add-on domain for existing licenses. Refunds will not be given for this product. -{% endhint %} - -## Configuring your license - -You can look at the pricing, features, and purchase a license on the [Umbraco Commerce](https://umbraco.com/products/add-ons/commerce/) page. A member of the sales team will manage this process. You will need to provide all domains you wish to have covered by the license such as primary and development/staging/QA domains. You should then receive a license code to be installed in your solution. - -### Add additional domains - -If you require to add addition domains to the license, [reach out the sales team](https://umbraco.com/products/add-ons/commerce/) with your request and they will manage this process. - -## Installing your license - -Once you have received your license code it needs to be installed on your site. - -1. Open the root directory for your project files. -2. Locate and open the `appSettings.json` file. -3. Add your Umbraco Commerce license key to `Umbraco:Licenses:Umbraco.Commerce`: - -```json -"Umbraco": { - "Licenses": { - "Umbraco.Commerce": "YOUR_LICENSE_KEY" - } -} -``` - -{% hint style="info" %} -You might run into issues when using a period in the product name when using environment variables. Use an underscore in the product name instead, to avoid problems. - -```json -"Umbraco_Commerce": "YOUR_LICENSE_KEY" -``` -{% endhint %} - -### Verify the license installation - -You can verify that your license is successfully installed by logging into your project's backoffice and navigating to the settings section. Here you will see a licenses dashboard which should display the status of your license. - -![Umbraco Commerce License Dashboard](../media/license-dashboard.png) - -### When and how to configure an `UmbracoApplicationUrl` - -If you are running on a single domain for both your frontend and backend environments, it's not necessary to configure a `UmbracoApplicationUrl`. - -If you have different domains for your frontend and backend, then it's advised that you configure an `UmbracoApplicationUrl` set to your backoffice URL. This helps the licensing engine know which URL should be used for validation checks. Without this configuration setting, the licensing engine will try and work out the domain to validate from the HTTP request object. This can lead to errors when switching between domains. - - -An `UmbracoApplicationUrl` can be configured in your `appSettings.json` file like so: - -```json -{ - "Umbraco": { - "CMS": { - "WebRouting": { - "UmbracoApplicationUrl": "https://admin.my-custom-domain.com/" - } - } - } -} -``` - -See the [Fixed Application URL](https://docs.umbraco.com/umbraco-cms/extending/health-check/guides/fixedapplicationurl) documentation for more details about this setting. - -#### Configuring `UmbracoApplicationUrl` on Umbraco Cloud - -If you are hosting on Umbraco Cloud you will find the configuration described above won't be reflected in your environment. The reason for this is that Umbraco Cloud sets this value as an environment variable set to the Cloud project domain (`.umbraco.io`). This overrides what is set via the `appSettings.json` file. - -There are two options in this case: -- Either the domains for each of your Cloud environments can be added to your license. -- Or, for more control and to ensure this value is set correctly for other reasons, you can apply the configuration via code. - -For example, in your `Startup.cs` file, you can add the following to the `ConfigureServices` method: - -```csharp -services.Configure(o => o.UmbracoApplicationUrl = ""); -``` - -In practice, you will probably want to make this a bit more sophisticated. You can read the value from another configuration key, removing the need to hard-code it and have it set as appropriate in different environments. You can also move this code into a composer or an extension method if you prefer not to clutter up the `Startup.ConfigureServices` method. - -### Validating a license without an outgoing Internet connection - -Some Umbraco installations will have a highly locked down production environment, with firewall rules that prevent outgoing HTTP requests. This will interfere with the normal process of license validation. - -On start-up, and periodically whilst Umbraco is running, the license component used by Umbraco Commerce will make an HTTP POST request to `https://license-validation.umbraco.com/api/ValidateLicense`. - -If it's possible to do so, the firewall rules should be adjusted to allow this request. - -If such a change is not feasible, there is another approach you can use. - -You will need to have a server, or serverless function, that is running and can make a request to the online license validation service. That needs to run on a daily schedule, making a request and relaying it onto the restricted Umbraco environment. - -To set this up, firstly ensure you have a reference to `Umbraco.Licenses` version 10.1 or higher. If the version of Commerce you are using depends on an earlier version, you can add a direct package reference for `Umbraco.Licenses`. - -Then configure a random string as an authorization key in configuration. This is used as protection to ensure only valid requests are handled. You can also disable the normal regular license checks - as there is no point in these running if they will be blocked: - -```json - "Umbraco": { - "Licenses": { - "Umbraco.Commerce": "" - }, - "LicensesOptions": { - "EnableScheduledValidation": false, - "ValidatedLicenseRelayAuthKey": "" - } -``` - -Your Internet enabled server should make a request of the following form to the online license validation service: - -``` -POST https://license-validation.umbraco.com/api/ValidateLicense -{ - "ProductId": "Umbraco.Commerce", - "LicenseKey": "", - "Domain": "" -} -``` - -The response should be relayed exactly via an HTTP request to your restricted Umbraco environment: - -``` -POST http:///umbraco/licenses/validatedLicense/relay?productId=&licenseKey= -``` - -A header with a key of `X-AUTH-KEY` and value of the authorization key you have configured should be provided. - -This will trigger the same processes that occur when the normal scheduled validation completes ensuring your product is considered licensed. diff --git a/10/umbraco-commerce/key-concepts/base-currency.md b/10/umbraco-commerce/key-concepts/base-currency.md deleted file mode 100644 index 74c62fe801e..00000000000 --- a/10/umbraco-commerce/key-concepts/base-currency.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -description: Base Currency for standardized reporting in Umbraco Commerce. ---- - -# Base Currency - -Within Umbraco Commerce we have support for showing analytics reports, including summaries of sales figures. At the same time, Umbraco Commerce also supports orders being placed in multiple currencies. These pose a problem of how to display a succinct sales figure when the orders are placed in multiple currencies. The answer to this is the store's **Base Currency**. - -When you configure a store you need to assign a base currency to it. This currency is there to identify which currency the store should use as its basis for reports and sales figures. This will be used regardless of whatever currency the order was placed in. - -When a store has a base currency configured, any order placed will track the price of the order in the customer's chosen currency. It will also track the current exchange rate between that currency and the store's base currency. Whenever a report is run the order total prices will be converted using this exchange rate. This means that they can all be automatically presented in the single base currency of the store. - -## Currency Exchange Rates - -Umbraco Commerce uses an `ICurrencyExchangeRateService` to retrieve the most up-to-date rate to be able to track the current exchange rate. This is done for each individual order. - -Out of the box, Umbraco Commerce comes with a number of available services you can choose to use. Some are free services, whilst others require a paid subscription. - -* **ExchangeRatesApiCurrencyExchangeRateService** uses the free [exchangeratesapi.io](https://exchangeratesapi.io/) API and is the default option. -* **FixerCurrencyExchangeRateService** uses the [fixer.io](https://fixer.io/) API which is a reliable paid option (with a reasonable free plan). -* **CurrencyLayerCurrencyExchangeRateService** uses the [currencylayer.com](https://currencylayer.com/) API which is another reliable paid option (with a reasonable free plan). - -If you wish to change the currency exchange rate service used, you can do so via the [dependency injection](dependency-injection.md) approach. This is used to override the default service configuration. For services that require configuration to be passed in, such as service API keys, you'll need to use the factory-based override as follows: - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyServices(IUmbracoCommerceBuilder builder) - { - // Register the fixer tax service with your API key - builder.Services.AddUnique(new FixerCurrencyExchangeRateService("YOUR_FIXER_API_KEY")); - - // Return the builder to continue the chain - return builder; - } -} -``` - -## Historic Orders - -Umbraco Commerce has a background service that will attempt to ensure that all historic orders without an exchange rate defined get updated. This is done in case the third-party APIs fail and we need a method of cleaning data. It is also done in case the store base currency is ever changed. In this case, we need to re-process all orders again with the newly selected base currency. - -The currency exchange rate background task will run once every 24 hours or after 20 seconds after an app pool recycle. diff --git a/10/umbraco-commerce/key-concepts/bulk-actions.md b/10/umbraco-commerce/key-concepts/bulk-actions.md deleted file mode 100644 index ad35ab82472..00000000000 --- a/10/umbraco-commerce/key-concepts/bulk-actions.md +++ /dev/null @@ -1,140 +0,0 @@ ---- -description: Perform bulk operations on entities in Umbraco Commerce. ---- - -# Bulk Actions - -You might need to execute a custom action for each entity in a selection while extending Umbraco Commerce. For example, being able to trigger label printing for a series of orders, or printing physical gift cards for specific gift card entities. - -Umbraco Commerce allows extending the different table views, adding in **Bulk Actions** to the bulk action bar that appears when you select multiple items. Out of the box all list views contain at minimum a **Delete** bulk action. - -## Injecting a Bulk Action - -Bulk actions are client-side concepts and so additional bulk actions are injected with JavaScript in an AngularJS configuration module. - -To create a configuration module you can create a custom folder in the `App_Plugins` directory and create a JavaScript file to hold your configuration in. - -1. Create a custom folder in the `App_Plugins` directory. -2. Create a JavaScript file with this new folder. - -```bash -App_Plugins\MyPlugin\backoffice\config\umbraco-commerce-bulk-actions-config.js -``` - -3. Register the file in a `package.manifest` file within the same folder. - -```bash -App_Plugins\MyPlugin\package.manifest -``` - -4. Add the following JSON to the `package.manifest` file: - -```javascript -{ - "javascript": [ - "~/App_Plugins/MyPlugin/backoffice/config/umbraco-commerce-bulk-actions-config.js" - ] -} -``` - -5. Inject a bulk action inside the `umbraco-commerce-bulk-actions-config.js` by adding the following: - -```csharp -// Define an angular module that has a dependency on `umbraco.commerce` -angular.module('myModule', ['umbraco.commerce']) - .config(['ucActionsProvider', function (ucActionsProvider) { - ucActionsProvider.bulkActions.push(['myResource', function (myResource) - { - return { - name: 'My Action', - icon: 'icon-box', - itemAction: function (bulkItem) { - return myResource.doAction(bulkItem.id); - }, - condition: function (ctx) { - return ctx.entityType == 'Order' - }, - sortOrder: 110 - } - }]); - }]); - -// Add your module as a dependency of the main umbraco module -angular.module('umbraco').requires.push('myModule'); -``` - -Once created, the bulk action will be displayed in the bulk actions bar for the configured entities. - -![Bulk Action Button](../media/custom\_bulk\_action.png) - -## Bulk Action Options - -| Property | Description | -| ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `name` | Name of your bulk action that will be displayed in the bulk action button. | -| `icon` | Icon for your bulk action that will be displayed in the bulk action button next to the name. | -| `sortOrder` | The order in which to display this action in the bulk actions bar. System bulk actions sort orders are in multiples of `100` in order to allow the positioning of items between system bulk actions. | - -| Method | Description | -| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `configure(items)` | A function to run before the bulk operation in order to provide configuration for the bulk action. Returns a Promise that returns an object which is then passed to the item/bulk action methods. | -| `itemAction(item, config)` | Individual action to perform per selected item. A status will be displayed after each processed item shows progress. Returns a Promise. | -| `bulkAction(items, config)` | Single action to be performed for all selected items in one go. Returns a Promise. | -| `getConfirmMessage(total)` | A function that can provide a message to display before a bulk action is triggered should confirmation be required for the action to run. Returns a Promise that returns a string. | -| `getStatusMessage(count, total)` | Function used to provide a status message after each item has been processed. Displayed in the bulk actions bar after each `itemAction` has been called. Returns a Promise that returns a string. | -| `getSuccessMessage(total)` | A function to return a success message after all bulk actions have been performed. Returns a Promise that returns a string. | -| `condition(context)` | As all bulk actions are registered globally for all entity types, the `condition` function can be used to filter when, and for which entities a bulk action will display. | - -Only an `itemAction` or a `bulkAction` method can be defined for a bulk action configuration. If both are present, the `bulkAction` will be used and the `itemAction` will be ignored. If processing of items can be done individually, it is better to use the `itemAction` in order to provide user feedback. The `bulkAction` can only be used where items need to be processed in a single action. - -## Important Notes - -* Most methods apart from `itemAction` or `bulkAction` are optional. If methods aren't present, a default implementation will be used. Where the methods trigger, specific functionality such as the `configure` or `getConfirmMessage` methods will become disabled. -* The array-based syntax for registering is a bulk action with angular dependencies. Each bulk action is registered as an array, where all dependencies are defined first and then a factory function is defined last which returns the actual bulk action definition. -* Whilst these docs outline how to define a bulk action, you will likely need to register further resources or services that can perform the given bulk operation and include these as a dependency for your action. - -## Examples - -The following section display an example of a bulk action with dialog configuration step: - -```csharp -angular.module('myModule', ['umbraco.commerce']) - .config(['ucActionsProvider', function (ucActionsProvider) { - ucActionsProvider.bulkActions.push(['$q', 'editorService', 'myResource', function ($q, editorService, myResource) - { - return { - name: 'My Action', - icon: 'icon-box', - configure: function (selected) { - return $q(function (resolve, reject) { - editorService.open({ - view: '/app_plugins/myplugin/views/dialogs/config.html', - size: 'small', - config: { - items: selected - }, - submit: function (model) { - editorService.close(); - resolve(model); - }, - close: function () { - editorService.close(); - reject(); - } - }); - }); - }, - bulkAction: function (items) { - var ids = items.map(itm => itm.id); - return myResource.doAction(ids); - }, - condition: function (ctx) { - return ctx.entityType == 'Order' - }, - sortOrder: 110 - } - }]); - }]); - -angular.module('umbraco').requires.push('myModule'); -``` diff --git a/10/umbraco-commerce/key-concepts/calculators.md b/10/umbraco-commerce/key-concepts/calculators.md deleted file mode 100644 index d1cff883162..00000000000 --- a/10/umbraco-commerce/key-concepts/calculators.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -description: Performing calculations with Calculators in Umbraco Commerce. ---- - -# Calculators - -Calculators are small service implementations with the sole responsibility of calculating prices for a given aspect of an Order. There are five main Calculator service interfaces in Umbraco Commerce: - -* **IShippingCalculator** - Responsible for calculating the Shipping Method price/tax rate of a given Shipping Method. -* **IPaymentCalculator** - Responsible for calculating the Payment Method price/tax rate of a given Payment Method. -* **IProductCalculator** - Responsible for calculating the Product unit price/tax rate of a given Product. -* **IOrderLineCalculator** - Responsible for calculating the price/tax rate of a given OrderLine. -* **IOrderCalculator** - Responsible for calculating the entire Order. - -All Calculator services can be replaced with alternative implementations should you wish to change how Umbraco Commerce performs its calculations. - -## Defining a Custom Calculator Implementation - -The individual Calculator interfaces may differ but the process for defining a custom Calculator implementation is the same for all of them. It is possible to create a new class that implements the default system Calculator that you wish to replace. You can then override the relevant calculation methods. - -```csharp -public class MyProductCalculator : ProductCalculator -{ - public MyProductCalculator(ITaxService taxService, IStoreService storeService) - : base(taxService, storeService) - { } - - public override TaxRate CalculateProductTaxRate(IProductSnapshot productSnapshot, TaxSource taxSource, TaxRate fallbackTaxRate) - { - // Do custom tax rate calculation here - } - - public override Price CalculateProductPrice(IProductSnapshot productSnapshot, Guid currencyId, TaxRate taxRate) - { - // Do custom price calculation here - } -} - -``` - -## Registering a custom Calculator implementation - -Calculators are [registered via the IUmbracoCommerceBuilder](umbraco-commerce-builder.md) interface using the `AddUnique()` method on the `Services` property. The `TServiceInterface` parameter in this case is the Calculator interface Type you wish to replace and `TReplacementService` is the Type of your custom Calculator implementation. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyServices(IUmbracoCommerceBuilder builder) - { - // Replacing the product calculator implementation - builder.Services.AddUnique(); - - // Return the builder to continue the chain - return builder; - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/dependency-injection.md b/10/umbraco-commerce/key-concepts/dependency-injection.md deleted file mode 100644 index fb6bd5cfd4c..00000000000 --- a/10/umbraco-commerce/key-concepts/dependency-injection.md +++ /dev/null @@ -1,149 +0,0 @@ ---- -description: Minimizing dependencies via dependency injection with Umbraco Commerce. ---- - -# Dependency Injection - -Dependency Injection (DI) can be an intimidating subject. DI reduces the number of hard-coded dependencies within a codebase by providing a means to define dependencies independently and have them "injected" dynamically. These dependencies are often exposed as interfaces, rather than concrete types. This enables them to be swapped out or replaced with minimal effort. - -The ability to "swap out" dependencies is used in Umbraco Commerce in a number of places to allow developers to provide alternative implementations of specific features. This could be the ability to: - -* Swap out the default Product Calculator to change how product prices are calculated. -* Swap out the default Order Number Generator should you wish to provide an alternative order numbering strategy. - -Umbraco Commerce makes heavy use of the dependency injection mechanism in Umbraco to manage many of the features. It is important to understand how to work with the registration process. - -What follows are examples of common tasks you'll need to be able to perform via the DI container in order to work effectively with Umbraco Commerce. For more detailed documentation, it is highly recommended that you read the [Umbraco CMS Dependency Injection and IoC documentation](https://docs.umbraco.com/umbraco-cms/reference/using-ioc). - -## Registering Dependencies - -Registering dependencies is an important ability to understand as this is used to register Umbraco Commerce event handlers and to extend system pipelines. - -To register a dependency you need to do so via the `IUmbracoBuilder` interface. This is exposed within the main `Startup` class, inside the `ConfigureServices` method between the `AddComposers()` method call and the `Build()` method call. - -```csharp -public class Startup -{ - ... - public void ConfigureServices(IServiceCollection services) - { - services.AddUmbraco(_env, _config) - .AddBackOffice() - .AddWebsite() - .AddComposers() - // Append your dependencies here... - .Build(); - } - ... -} -``` - -You can also add your registration logic inside an `IUmbracoBuilder` extension method and then call that within the `ConfigureServices` method. This is the recommended approach. - -```csharp -public static class UmbracoBuilderExtensions -{ - public static IUmbracoBuilder AddMyDependencies(this IUmbracoBuilder builder) - { - // Register my dependencies here via the builder parameter - ... - - // Return the builder to continue the chain - return builder; - } -} -``` - -```csharp -public class Startup -{ - ... - public void ConfigureServices(IServiceCollection services) - { - services.AddUmbraco(_env, _config) - .AddBackOffice() - .AddWebsite() - .AddComposers() - .AddMyDependencies() - .Build(); - } - ... -} -``` - -Registering a dependency is achieved by working with the `IUmbracoBuilder` API: - -```csharp -public static class UmbracoBuilderExtensions -{ - public static IUmbracoBuilder AddMyDependencies(this IUmbracoBuilder builder) - { - // Register a singleton dependency - builder.Services.AddSingleton(); - - // Register a transient dependency - builder.Services.AddTransient(); - - // Return the builder to continue the chain - return builder; - } -} -``` - -## Replacing Dependencies - -Like it is possible to add new dependencies it is also possible to replace existing dependencies. This could be dependencies such as the different Calculators available in Umbraco Commerce. - -Where a feature is replaceable, replacing that dependency is also achieved via the `IUmbracoBuilder` API: - -```csharp -public static class UmbracoBuilderExtensions -{ - public static IUmbracoBuilder AddMyDependencies(this IUmbracoBuilder builder) - { - // Replacing the product calculator implementation - builder.Services.AddUnique(); - - // Replacing the default product adapter - builder.Services.AddUnique(); - - // Return the builder to continue the chain - return builder; - } -} -``` - -## Injecting Dependencies - -As well as registering dependencies, you will also need to know how to access Umbraco Commerce dependencies from within your Controllers. To do this, we add parameters to our Controllers constructor for the dependencies we require. Then, the IoC container will inject them automatically for us. - -```csharp -using Umbraco.Commerce.Core.Api; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.ViewEngines; -using Microsoft.Extensions.Logging; -using Umbraco.Cms.Core.Web; -using Umbraco.Cms.Web.Common.Controllers; - -namespace MyProject.Web.Controllers -{ - public class HomeController : RenderController - { - private readonly IUmbracoCommerceApi _umbracoCommerceApi; - - public HomeController(IUmbracoCommerceApi umbracoCommerceApi, ILogger logger, - ICompositeViewEngine compositeViewEngine, IUmbracoContextAccessor umbracoContextAccessor) - : base(logger, compositeViewEngine, umbracoContextAccessor) - { - _umbracoCommerceApi = umbracoCommerceApi; - } - - public override IActionResult Index() - { - // Work with the _umbracoCommerceApi here - - return CurrentTemplate(CurrentPage); - } - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/discount-rules-and-rewards.md b/10/umbraco-commerce/key-concepts/discount-rules-and-rewards.md deleted file mode 100644 index 6774ec4e409..00000000000 --- a/10/umbraco-commerce/key-concepts/discount-rules-and-rewards.md +++ /dev/null @@ -1,176 +0,0 @@ ---- -description: Define when a Discount should apply and what should be the Reward in Umbraco Commerce. ---- - -# Discount Rules / Rewards - -Discounts in Umbraco Commerce are defined using a series of rules and reward builders that let you configure the following: - -* When a Discount should apply. -* What the Reward should be for that Discount. - -These builders come with a handful of the most common Rules and Rewards that should suit the majority of web stores' needs. When need to create your own Rules or Rewards then these are extendable via a Provider model allowing you to incorporate your own custom logic. - -## Discount Rules - -There are two types of Discount Rules in Umbraco Commerce: - -* **Order Discount Rules**: Determine whether a discount should apply to an Order. Returns a Fulfilled/Unfulfilled status depending on whether the Rule logic has been met. -* **Order Line Discount Rules**: Determine whether a discount should apply to an Order Line within an Order. Returns a Fulfilled/Unfulfilled status depending on whether the Rule logic has been met. Where the status is Fulfilled, a list of all Order Lines that are fulfilled by this Rule is also returned. - -### Example: Custom Order Discount Rule Provider - -An example of an Order Discount Rule Provider would look something like this: - -```csharp -[DiscountRuleProvider("myCustomOrderRule", "My Custom Order Rule")] -public class MyCustomOrderRuleProvider : OrderDiscountRuleProviderBase -{ - public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, MyCustomOrderRuleProviderSettings settings) - { - if (/* Some custom logic */) - return Fulfilled(); - - return Unfulfilled(); - } -} - -public class MyCustomOrderRuleProviderSettings -{ - [DiscountRuleProviderSetting(Key = "priceType", - Name = "Price Type", - Description = "The type of price to compare against")] - public OrderPriceType PriceType { get; set; } - - ... -} - -``` - -All Order Discount Rule Providers inherit from a base class `OrderDiscountRuleProviderBase`. `TSettings` is the type of a Plain Old Class Object (POCO) model class representing the Discount Rule Providers settings. - -{% hint style="info" %} -See the [Settings Objects](discount-rules-and-rewards.md#settings-objects) section below for more information on Settings objects. -{% endhint %} - -The class must be decorated with `DiscountRuleProviderAttribute` which defines the Discount Rule Providers `alias` and `name`, and can also specify a `description` or `icon` to be displayed in the backoffice. The `DiscountRuleProviderAttribute` is also responsible for defining a `labelView` for the Provider. - -{% hint style="info" %} -See the [Label views](discount-rules-and-rewards.md#label-views) section below for more information on Label Views. -{% endhint %} - -Rule Providers have a `ValidateRule` method that accepts a `DiscountRuleContext` as well as an instance of the Providers `TSettings` settings model. Inside this you can perform your custom logic, returning a `DiscountRuleResult` to notify Umbraco Commerce of the Rule outcome. - -If the passed-in context (which contains a reference to the Order) meets the Rule's criteria, then a fulfilled `DiscountRuleResult` can be returned by calling `return Fulfilled();`. Alternatively, if the Order didn't meet the Rules criteria an unfulfilled `DiscountRuleResult` can be returned by calling `return Unfulfilled();`. - -### Example: Custom Order Line Discount Rule Provider - -An example of an Order Line Discount Rule Provider would look something like this: - -```csharp -[DiscountRuleProvider("myCustomOrderLineRule", "My Custom Order Line Rule")] -public class MyCustomOrderLineRuleProvider : OrderLineDiscountRuleProviderBase -{ - public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, MyCustomOrderLineRuleProviderSettings settings) - { - if (/* Some custom logic */) - return Fulfilled(fulfilledOrderLines); - - return Unfulfilled(); - } -} - -public class MyCustomOrderLineRuleProviderSettings -{ - [DiscountRuleProviderSetting(Key = "priceType", - Name = "Price Type", - Description = "The type of price to compare against")] - public OrderPriceType PriceType { get; set; } - - ... -} - -``` - -All Order Line Discount Rule Providers inherit from a base class `OrderLineDiscountRuleProviderBase` and follows much the same requirements as the Order Discount Rule Provider defined above. Where they differ is in the `ValidateRule` method implementation and when a fulfilled `DiscountRuleResult` is returned. In this case, an Order Line Discount Rule returns a collection of Order Lines processed by the Rule that have met the rules criteria. Whether the rules are met, is checked by calling `return Fulfilled(fulfilledOrderLines);`. - -## Discount Rewards - -### Example: Custom Discount Reward Provider - -An example of a Discount Reward Provider would look something like this: - -```csharp -[DiscountRewardProvider("myDiscountReward", "My Discount Reward")] -public class MyDiscountRewardProvider : DiscountRewardProviderBase -{ - public override DiscountRewardCalculation CalculateReward(DiscountRewardContext ctx, MyDiscountRewardProviderSettings settings) - { - var result = new DiscountRewardCalculation(); - - // Some custom calculation logic goes here - - return result; - } -} - -public class MyDiscountRewardProviderSettings -{ - [DiscountRewardProviderSetting(Key = "priceType", - Name = "Price Type", - Description = "The price that will be affected by this reward")] - public OrderPriceType PriceType { get; set; } - - ... -} - -``` - -All Discount Reward Providers inherit from a base class `DiscountRewardProviderBase`. `TSettings` is the Type of a POCO model class representing the Discount Reward Providers settings. - -{% hint style="info" %} -See the [Settings Objects](settings-objects.md) documentation for more information on Settings objects. -{% endhint %} - -The class must be decorated with `DiscountRewardProviderAttribute` which defines the Discount Reward Providers `alias` and `name`. It can also specify a `description` or `icon` to be displayed in the Umbraco Commerce backoffice. The `DiscountRewardProviderAttribute` is responsible for defining a `labelView` for the Provider. - -{% hint style="info" %} -See the [Label views](discount-rules-and-rewards.md#label-views) section below for more information on Label Views. -{% endhint %} - -Reward Providers have a `CalculateReward` method that accepts a `DiscountRewardContext` as well as an instance of the Providers `TSettings` settings model. Inside this, you can perform your custom calculation logic, returning a `DiscountRewardCalculation` instance that defines any Reward values to apply to the Order. - -```csharp -// Add a shipping total discount -result.ShippingTotalPriceAdjustments.Add(new DiscountAdjustment(ctx.Discount, price)); - -// Add a subtotal discount -result.SubtotalPriceAdjustments.Add(new DiscountAdjustment(ctx.Discount, price)); -``` - -## Common Features - -### Settings Objects - -{% hint style="info" %} -See the [Settings Objects](settings-objects.md) documentation for more information on Settings objects. -{% endhint %} - -### Label Views - -Both the `DiscountRuleProviderAttribute` and the `DiscountRewardProviderAttribute` allow you to define a `labelView` for the Provider. It should be the path to an Angular JS view file that will be used to render a label in the Rule/Reward Builder UI. Where no `labelView` is supplied, one will be looked for by convention at the following location: - -`~/app_plugins/umbracocommerce/views/discount/{Type}/labelViews/{ProviderAlias}.html` - -`Type` is either `rules` or `rewards`, depending on the Type of Provider it refers to. `ProviderAlias` is the alias of the Provider. - -The Rule/Reward Label View should provide a user-friendly summary of its settings to display in the relevant Builder UI. - -![Discount Rule Label Views](../media/discount\_rule\_builder\_label\_views.png) - -The Label View file will be passed a `model` property which will be a JavaScript representation of the given Providers settings object. - -```html -Order {{ model.priceType | umbracoCommerceSplitCamelCase }} Discount - -``` diff --git a/10/umbraco-commerce/key-concepts/events.md b/10/umbraco-commerce/key-concepts/events.md deleted file mode 100644 index 26dab017470..00000000000 --- a/10/umbraco-commerce/key-concepts/events.md +++ /dev/null @@ -1,136 +0,0 @@ ---- -description: Listening for changes within Umbraco Commerce. ---- - -# Events - -Much like the standard events in .NET, Umbraco Commerce has an events system to notify you when certain things happen within the application. However, Umbraco Commerce differs slightly in the types of events that are fired and how you register your event handlers. - -Events in Umbraco Commerce are registered via the [`IUmbracoCommerceBuilder`](umbraco-commerce-builder.md) interface, rather than via static event delegates. This has a number of advantages, such as being able to control the order of when event handlers are fired. It also allows us to inject dependencies into the event handlers making it a much more decoupled approach to eventing. - -In Umbraco Commerce, there are two main types of events you can create handlers for. Both are explained in detail below. - -## Validation events - -Validation events are events that fire immediately before a change is about to be made to an entity. These events allow you to inject your own logic to decide whether an action should be possible or not. We already have a number of validation handlers built in to maintain the consistency of your data. Validation events allow you to extend this behavior with your own rules. - -### Example: Validation event handler - -An example of a Validation event handler would look something like this: - -```csharp -public class MyOrderProductAddValidationHandler : ValidationEventHandlerBase -{ - public override void Validate(ValidateOrderProductAdd evt) - { - if (evt.ProductReference == "MyProductRef" && evt.Quantity % 10 != 0) - evt.Fail("This product can only be purchased in increments of 10"); - } -} - -``` - -All Validation event handlers inherit from a base class `ValidationEventHandlerBase` where `TEvent` is the Type of the event the handler is for. They then have a `Validate` method that accepts an instance of the event type, and inside which you can perform your custom logic. If the event fails the validation logic, you can call `evt.Fail("Your message here")` to block the related action from happening and have a `ValidationException` be thrown. This can then be captured in the front end to display a friendly error message. - -### Registering a Validation event handler - -Validation event handlers are [registered via the IUmbracoCommerceBuilder](umbraco-commerce-builder.md) interface using the `WithValidationEvent()` builder extension method. This is done to identify the event you want to handle and then call the `RegisterHandler()` method to register your handler(s) for that event. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyEventHandlers(IUmbracoCommerceBuilder builder) - { - // Register my event handlers - builder.WithValidationEvent() - .RegisterHandler(); - - // Return the builder to continue the chain - return builder; - } -} -``` - -You can control the order of when Validation event handlers run, before or after another Validation event handler. This is done by registering them via the `RegisterHandlerBefore()` or `RegisterHandlerAfter()` methods respectively. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyEventHandlers(IUmbracoCommerceBuilder builder) - { - // Register MyOrderProductAddValidationHandler to execute before the SomeOtherValidationHandler handler - builder.WithValidationEvent() - .RegisterHandlerBefore(); - - // Register MyOrderProductAddValidationHandler to execute after the SomeOtherValidationHandler handler - builder.WithValidationEvent() - .RegisterHandlerAfter(); - - // Return the builder to continue the chain - return builder; - } -} -``` - -## Notification events - -Notification events are events that fire, often immediately before or after an action is executed. It provides you the ability to run custom logic to react to that action occurring. This is useful for scenarios such as sending emails when an Order is finalized or allowing you to synchronize stock updates with an external system. - -Notification events won't allow you to change the behavior of how Umbraco Commerce runs. They provide you with an effective means of reacting when changes occur. - -### Example: Notification event handler - -An example of a Notification event handler would look something like this: - -```csharp -public class MyOrderFinalizedHandler : NotificationEventHandlerBase -{ - public override void Handle(OrderFinalizedNotification evt) - { - // Implement your custom logic here - } -} - -``` - -All Notification event handlers inherit from a base class `NotificationEventHandlerBase` where `TEvent` is the Type of the event the handler is for. They then have a `Handle` method that accepts an instance of the event type, and inside which you can perform your custom logic. - -### Registering a Notification event handler - -Notification event handlers are [registered via the IUmbracoCommerceBuilder](umbraco-commerce-builder.md) interface using the `WithNotificationEvent()` builder extension method. This is used to identify the event you want to handle and then call the `RegisterHandler()` method to register your handler(s) for that event. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyEventHandlers(IUmbracoCommerceBuilder builder) - { - // Register my event handlers - builder.WithNotificationEvent() - .RegisterHandler(); - - // Return the builder to continue the chain - return builder; - } -} -``` - -You can also control the order of when Notification event handlers run by registering them via the `RegisterHandlerBefore()` or `RegisterHandlerAfter()` methods respectively. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyEventHandlers(IUmbracoCommerceBuilder builder) - { - // Register MyOrderFinalizedHandler to execute before the SomeOtherNotificationHandler handler - builder.WithNotificationEvent() - .RegisterHandlerBefore(); - - // Register MyOrderFinalizedHandler to execute after the SomeOtherNotificationHandler handler - builder.WithNotificationEvent() - .RegisterHandlerAfter(); - - // Return the builder to continue the chain - return builder; - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/fluent-api.md b/10/umbraco-commerce/key-concepts/fluent-api.md deleted file mode 100644 index e40b2e9f4df..00000000000 --- a/10/umbraco-commerce/key-concepts/fluent-api.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -description: Faster development thanks to the Fluent API of Umbraco Commerce. ---- - -# Fluent API - -An added side effect of having [ReadOnly and Writable entities](readonly-and-writable-entities.md) is that all of an entity's write operations are now performed via methods. This is instead of property setters, enabling to us convert Umbraco Commerce's write API in a fluent API. - -## Writing fluently - -You could perform a write operation as follows: - -```csharp -_uowProvider.Execute(uow => -{ - // Fetch the currency - var currency = _currencyService.GetCurrency(currencyId); - - // Convert the currency into it's Writable form - var writableCurrency = currency.AsWritable(uow); - - // Perform the write operation - writableCurrency.SetName("New Name"); - - // Persist the changes to the database - _currencyService.SaveCurrency(currency); - - // Close the transaction - uow.Complete(); -}); - -``` - -This could be simplified further by defining these actions fluently, chaining all of the entity methods into a succinct command sequence as follows: - -```csharp -_uowProvider.Execute(uow => -{ - var currency = _currencyService.GetCurrency(currencyId) - .AsWritable(uow) - .SetName("New Name"); - - _currencyService.SaveCurrency(currency); - - uow.Complete(); -}); - -``` - -{% hint style="info" %} -We know not everyone likes to write their code fluently and so the Umbraco Commerce Fluent API is an optional feature. Both code examples above are valid coding styles that will both work as well as each other. The Fluent API is an opt-in layer of syntax sugar that developers can use depending on their preferred style of coding. -{% endhint %} diff --git a/10/umbraco-commerce/key-concepts/order-calculation-state.md b/10/umbraco-commerce/key-concepts/order-calculation-state.md deleted file mode 100644 index ee68ff09939..00000000000 --- a/10/umbraco-commerce/key-concepts/order-calculation-state.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -description: Calculation context in Umbraco Commerce. ---- - -# Order Calculation State - -When extending the calculation process of Umbraco Commerce, either by custom [calculators](calculators.md) or custom [pipeline tasks](pipelines.md) it is important to be aware of the `OrderCalculation` object. - -## The Calculation Process - -When an order asks to be re-calculated, this triggers a calculation pipeline which in turn runs a series of calculation tasks. It then calls a number of extendable calculators in order to work out the orders' different prices. Throughout this process, Umbraco Commerce needs to keep track of all these prices as they change. At the same time, it also needs to ensure that the calculation is transactional in case something goes wrong. To accomplish both of these requirements we use a temporary state object called `OrderCalculation` to store all the information. Only at the end of the calculation, if everything was successful, we can copy those calculated prices back to the order. - -## Accessing Price Values - -In the different calculation extension points, Umbraco Commerce will often pass you **both** an `Order` object and the `OrderCalculation` object. We pass the order to get you access to any information held on it that you may need for calculations, such as custom properties. This shouldn't be used for accessing any price-related values of the order. - -As mentioned above, in order to maintain data integrity during the calculation process, the order itself is not updated until the end. This means that any calculations based on the order entities' price values would be based on the orders' **previously calculated price values**. - -In order to base your calculation on the current calculated price values you should instead access the `OrderCalculation` object. - -## The OrderCalculation Object - -```csharp -public class OrderCalculation -{ - public Dictionary OrderLines { get; } - - public Dictionary GiftCardAmounts { get; } - - public List FulfilledDiscountCodes { get; } - - public List FulfilledDiscounts { get; } - - public TaxRate TaxRate { get; set; } - - public OrderSubtotalPrice SubtotalPrice { get; set; } - - public TaxRate ShippingTaxRate { get; set; } - - public TotalPrice ShippingTotalPrice { get; set; } - - public TaxRate PaymentTaxRate { get; set; } - - public TotalPrice PaymentTotalPrice { get; set; } - - public OrderTotalPrice TotalPrice { get; set; } -} - -public class OrderLineCalculation -{ - public Dictionary OrderLines { get; } - - public TaxRate TaxRate { get; set; } - - public OrderLineUnitPrice UnitPrice { get; set; } - - public OrderLineTotalPrice TotalPrice { get; set; } - - public Price RollingSubOrderLinesTotalPrice { get; set; } - - public Price RollingSubOrderLinesTotalDiscountPrice { get; set; } -} -``` - -From the `OrderCalculation` object you can access the different order prices, including order line calculations. The order line calculations are stored in a dictionary. In this dictionary, the key is the order line's ID, and the value is an `OrderLineCalculation` object holding the calculated prices. - -By using the prices from the `OrderCalculation` object you can ensure that your calculation is based on the most up-to-date values for the order. - -{% hint style="info" %} -You should **always** base your price on the `OrderCalculation` object's price values when the following applies: - -* Your values are based on another price held on an order -* You have access to an `OrderCalculation` an object that isn't `null`. - -It should also only fall back to the order entity if there is no `OrderCalculation` available. -{% endhint %} diff --git a/10/umbraco-commerce/key-concepts/overview.md b/10/umbraco-commerce/key-concepts/overview.md deleted file mode 100644 index 410d5bee9c4..00000000000 --- a/10/umbraco-commerce/key-concepts/overview.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -description: >- - Learn everything you need to know about the main features and concepts of - Umbraco Commerce. ---- - -# Get to know the main features - -In this section, we will look at all the key concepts you will need to understand in order to work with Umbraco Commerce. Many of the concepts are based upon how Umbraco functions, although multiple Umbraco Commerce-specific concepts require your attention. - -
Umbraco PropertiesUmbraco Commerce is based on Umbraco CMS, which means that some of the things you'll be working with are native to the core product.umbraco-properties.md
CalculatorsLearn more about the different calculators that Umbraco Commerce ships with and how you can customize and extend them.calculators.md
Product VariantsWith Umbraco Commerce you can create a large array of different product variants. Learn more about how this all works.product-variants
diff --git a/10/umbraco-commerce/key-concepts/payment-forms.md b/10/umbraco-commerce/key-concepts/payment-forms.md deleted file mode 100644 index 147940c65e9..00000000000 --- a/10/umbraco-commerce/key-concepts/payment-forms.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -description: Preparing to enter a Payment Providers payment gateway in Umbraco Commerce. ---- - -# Payment Forms - -In Umbraco Commerce, a Payment Form is a form that is displayed immediately prior to redirecting to the Payment Gateway for payment processing. This is usually displayed on some kind of review page, allowing a final review of the Order before commencing payment. - -The role of the Payment Form is to perform two tasks: - -* **Prepare the Order for the Payment Gateway** - This includes initializing the Orders transaction info and assigning the Order with an Order Number. It's also at this time that the Order is assigned to a Member if there is currently a logged-in session. This task may also involve passing information to the Payment Gateway to create a session, which the customer will complete in the next step. This is dependent on the Payment Provider implementation. -* **Redirect to the Payment Gateway** - The configured Payment Provider will return a Form that contains all the relevant information the Payment Gateway needs. This includes the Forms `action` attribute is set to post to a page on the Payment Gateways server, starting the payment capture process. - -{% hint style="info" %} -An Order's Order Number is assigned at the point of the Payment Form being rendered. This is to ensure that an Order has an Order Number prior to redirecting to the Payment Gateway. When the customer is redirected to the Confirmation page, there is always an Order Number to display - -The reason this is necessary is that many Payment Gateways finalize Orders asynchronously via webhooks. This means that it is possible that the customer will be redirected to the Confirmation page prior to actual finalization. This is why we set it early to ensure it is always available. - -It can happen that a customer cancels a payment mid-way through the capture process and returns to the Order to make modifications. In these cases, a new Order Number will be assigned at the point of re-displaying the Payment Form. -{% endhint %} - -## Example Payment Form - -An example of displaying a Payment Form would look something like this: - -```html -@using(await Html.BeginPaymentFormAsync(currentOrder)) { - -} - -``` - -The Payment Form is rendered using a `using` statement to wrap any additional form elements you wish to add, such as a submit button. - -{% hint style="info" %} -It's important to know that the Payment Form by default doesn't contain any button inputs to submit the Form. These must be supplied by the implementer. This is to ensure that the form will work with the design of the Site in question, giving developers more freedom. -{% endhint %} diff --git a/10/umbraco-commerce/key-concepts/payment-providers.md b/10/umbraco-commerce/key-concepts/payment-providers.md deleted file mode 100644 index 7b115b15725..00000000000 --- a/10/umbraco-commerce/key-concepts/payment-providers.md +++ /dev/null @@ -1,108 +0,0 @@ ---- -description: Accepting payments via Payment Providers in Umbraco Commerce. ---- - -# Payment Providers - -Payment Providers are how Umbraco Commerce is able to accept multiple different methods of payment on a Site. Their job is to provide a standard interface between third-party payment gateways and Umbraco Commerce itself. This is done in order to allow the passing of information between the two platforms. - -How the integrations work is often different for each payment gateway. The Umbraco Commerce Payment Providers add a flexible interface that should be able to work with most payment gateways. - -## Example Payment Provider - -An example of a bare-bones Payment Provider would look something like this: - -```csharp -[PaymentProvider("my-payment-provider-alias", "My Payment Provider Name", "My Payment Provider Description")] -public class MyPaymentProvider : AsyncPaymentProviderBase -{ - public MyPaymentProvider(UmbracoCommerceContext umbracoCommerce) - : base(umbracoCommerce) - { } - - ... -} - -public class MyPaymentProviderSettings -{ - [PaymentProviderSetting(Name = "Continue URL", - Description = "The URL to continue to after this provider has done processing. eg: /continue/", - SortOrder = 100)] - public string ContinueUrl { get; set; } - - ... -} - -``` - -All Payment Providers inherit from a base class `AsyncPaymentProviderBase`. `TSettings` is the type of a Plan Old Class Object (POCO) model class representing the Payment Providers settings. The class must be decorated with `PaymentProviderAttribute` which defines the Payment Providers `alias`, `name` and `description`, and can also specify an `icon` to be displayed in the Umbraco Commerce backoffice. - -The settings class consists of a series of properties, each decorated with a `PaymentProviderSettingAttribute` defining a name, description, and possible angular editor view file. These will all be used to dynamically build an editor interface for the given settings in the backoffice. - -## Payment Provider Responsibilities - -There are two main responsibilities of a Payment Provider, and those are: - -* **Payment Capture** - Capturing the initial Order payment and finalizing the Order. -* **Payment Management** - Managing a payment post Order finalization, such as being able to Capture authorized payments or Refunding captured payments. - -### Payment Capture - -The Payment Capture workflow can be the hardest part of a Payment Provider. This is due to the fact that no two payment gateways are alike. Therefore it can be difficult to figure out how best to implement the gateway into the provider format. - -Generally, there are three methods within a Payment Provider that you may need to implement, and each one has a specific responsibility. - -* **GenerateForm** - The `GenerateForm` method is responsible for generating an HTML form that will redirect the customer to the given payment gateway payment form. In this method you may need to communicate with the payment gateway in order to initialize a payment, letting the payment gateway know how much to capture. This often results in some kind of code or redirect URL being returned which will need to be embedded into the generated form. The generated form is then usually displayed on a checkout **Review** page, the last page before payment is captured and will have an implementer-defined **Continue to Payment** button to submit the form and redirect the customer to the gateway. -* **ProcessCallback** - The `ProcessCallback` method is responsible for handling the response coming back from the payment gateway and processing whether the payment was successful or not. This can sometimes occur _synchronously_, if the payment gateway sends information back as part of the confirmation page redirect, or can occur _asynchronously_ if the payment gateway sends the information back via an out-of-band webhook request. -* **GetOrderReference** - The `GetOrderReference` method is responsible for extracting an order reference number from a request when the payment gateway uses an asynchronous webhook to finalize an Order **and** it uses a global webhook URL strategy for all notifications rather than a notification URL per transaction. Where a webhook URL can be passed per transaction, then Umbraco Commerce provides you with a unique callback URL you can register with the gateway that already identifies the order reference as part of the URL parameters, making implementing this method unnecessary. - -_\* denotes a required method implementation_. - -What follows is a generalized diagram in order to help in visualizing when each of these methods is called within a regular checkout flow. - -![Payment Provider Capture Workflow](../media/payment\_provider\_capture\_flow.png) - -### Payment Management - -In addition to the initial payment capture flow, Payment Providers can also be set up to manage the payment post-checkout. This could be Capturing Authorized transactions or Refunding Captured transactions. - -These features are optional and not required for Payment Provider developers to implement. They allow store owners to manage payments directly in the backoffice rather than through the payment gateway's portal when performing these types of actions. - -The implementable management methods are: - -* **FetchPaymentStatus** - The `FetchPaymentStatus` method communicates with the 3rd party payment gateway in order to fetch the current status of the given transaction. -* **CapturePayment** - The `CapturePayment` method communicates with the 3rd party payment gateway to capture a previously authorized payment associated with the given transaction. -* **CancelPayment** - The `CancelPayment` method communicates with the 3rd party payment gateway to cancel a previously authorized payment associated with the given transaction. -* **RefundPayment** - The `RefundPayment` method communicates with the 3rd party payment gateway to refund a previously captured payment associated with the given transaction. - -For each implemented method above, developers should also implement a corresponding boolean property returning a `true` value. This is to let Umbraco Commerce know that the given feature is supported by the Payment Provider. - -* **CanFetchPaymentStatus** -* **CanCapturePayments** -* **CanCancelPayments** -* **CanRefundPayments** - -## Payment Provider Meta Data - -For all implemented methods of a Payment Provider, all method return types support the returning of additional Meta Data. This is to allow Payment Providers to capture and store relevant information. This information will aid the provider in doing its job, or for storing useful reference information to display for the retailer. - -Any returned Meta Data from a Payment Provider method will be stored against the Order in its [Properties](properties.md) collection. Should you need to retrieve these values from other areas of the Payment Provider, you can use the passed-in Orders Properties collection. - -{% hint style="info" %} -Meta Data is stored in Orders Properties collections. Prefix your Meta Data keys with the Payment Providers alias to prevent possible conflicts. -{% endhint %} - -### Meta Data Definitions - -The Meta Data that is returned from the Payment Provider is useful for the retailer. The Payment Provider can also be used to display Meta Data descriptions and information in the backoffice. This is done by exposing a `TransactionMetaDataDefinitions` property consisting of a list of `TransactionMetaDataDefinition` values. Each of the values defines the `alias`, `name` and optional `description` of a Meta Data entry. - -```csharp -public override IEnumerable TransactionMetaDataDefinitions => new[]{ - new TransactionMetaDataDefinition("stripeSessionId", "Stripe Session ID"), - new TransactionMetaDataDefinition("stripePaymentIntentId", "Stripe Payment Intent ID"), - new TransactionMetaDataDefinition("stripeChargeId", "Stripe Charge ID"), - new TransactionMetaDataDefinition("stripeCardCountry", "Stripe Card Country") -}; -``` - -![Transaction Meta Data](../media/transaction\_meta\_data\_dialog.png) diff --git a/10/umbraco-commerce/key-concepts/pipelines.md b/10/umbraco-commerce/key-concepts/pipelines.md deleted file mode 100644 index f607ed71cb5..00000000000 --- a/10/umbraco-commerce/key-concepts/pipelines.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -description: Performing sequential tasks with Pipelines in Umbraco Commerce. ---- - -# Pipelines - -Pipelines allow a series of tasks to be performed in a set sequence. This is done with the input of a given task being the output of the preceding task. It allows a result to be built up as an input is passed through these individual tasks, instead of being calculated in one go. - -The Pipelines feature provides an approach to insert additional steps into the process as pipeline tasks can be added or removed from the pipeline sequence. - -Where Pipelines is used, it allows an additional point at which developers can interject some custom logic, tweaking how Umbraco Commerce works. - -Consider these use-case examples: - -* An additional task could be injected into the `CalculateOrderPipeline` to alter how an Order is calculated. -* A task could be injected into the `EmailSendPipeline` to add a dynamic attachment to an email. - -## Example Pipeline task - -An example of a Pipeline task would look something like this: - -```csharp -public class AddCustomAttachmentTask : PipelineTaskWithTypedArgsBase -{ - public override PipelineResult Execute(EmailSendPipelineArgs args) - { - var attachment = new Attachment(File.OpenRead("path\to\license.lic"), "license.lic"); - - args.EmailContext.MailMessage.Attachments.Add(attachment); - - return Ok(args.EmailContext); - } -} -``` - -All Pipeline tasks inherit from a base class `PipelineTaskWithTypedArgsBase`. `TPipelineArgs` is the type of arguments supported by the pipeline and `TModel` is the pipeline's return model Type. You then need to implement an `Execute` method that accepts an instance of the argument's type as input and expects a `PipelineResult` as its output. Inside this method, you can perform your custom logic as required. To complete the pipeline task, you can call `Ok(TModel)` if the task was successful. This will pass in the updated `TModel` instance to returnæ. Otherwise, you can call `Fail()` to fail the whole pipeline. - -All pipelines occur within a [Unit of Work](unit-of-work.md). In case a Pipeline task fails, the whole pipeline will fail and no changes will persist. - -## Registering a Pipeline task - -Pipeline tasks are [registered via the IUmbracoCommerceBuilder](umbraco-commerce-builder.md) interface using the appropriate `With{PipelineName}Pipeline()` builder extension method. This is done to identify the pipeline you want to extend. You can then call the `Add()` method to add your task to the end of that pipeline. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyPipelineTasks(IUmbracoCommerceBuilder builder) - { - // Add our custom pipeline tasks - builder.WithSendEmailPipeline() - .Add(); - - // Return the builder to continue the chain - return builder; - } -} -``` - -You can also control the order of when Pipeline tasks run, before or after another task, by appending them via the `InsertBefore()` or `InsertAfter()` methods respectively. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyPipelineTasks(IUmbracoCommerceBuilder builder) - { - // Register AddCustomAttachmentTask to execute before the RaiseSendingEventTask - builder.WithSendEmailPipeline() - .InsertBefore(); - - // Register LogEmailSentTask to execute after the RaiseSendingEventTask - builder.WithSendEmailPipeline() - .InsertAfter(); - - // Return the builder to continue the chain - return builder; - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/price-amount-adjustments.md b/10/umbraco-commerce/key-concepts/price-amount-adjustments.md deleted file mode 100644 index c8b681b6d13..00000000000 --- a/10/umbraco-commerce/key-concepts/price-amount-adjustments.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -description: Learn about adjusting prices in Umbraco Commerce. ---- - -# Price/Amount Adjustments - -In some cases, you may want to tweak the figures of an order. It could be reducing the price of a product if a customer purchases a given amount of a product. To handle this, Umbraco Commerce has the concept of Price/Amount Adjustments. What adjustments allow you to do is create a record/log of any changes that occur to a price/amount throughout the calculation process. Umbraco Commerce uses the adjustments in the calculation process to work out its final pricing and provides this list of the adjustments on the order. This makes it clear exactly how the price was calculated. - -Umbraco Commerce has two types of adjustments: - -* **Price Adjustment** - Adjusts one of the orders' price properties (discounts, fees). -* **Amount Adjustment** - Adjusts the final transaction amount of the order (gift cards, loyalty points). - -## Creating Custom Adjustments - -Adjustments are applied using a `IPriceAdjuster` or `IAmountAdjuster` with developers able to create their own adjusters to apply custom adjustments. - -```csharp -public class MyPriceAdjuster : PriceAdjusterBase -{ - public override void ApplyPriceAdjustments(PriceAdjusterArgs args) - { - // Calculate Adjustment - // Discount adjustments should be negative - // where as Fee adjustments should be positive - - // Create a £10 discount - var price = new Price(-8.33, -1.67, args.Order.CurrencyId); - var adjustment = new MyAdjustment("My Discount", "MD-001", price); - - // Add the adjustment to the sub total price - args.SubtotalPriceAdjustments.Add(adjustment); - } -} -``` - -Adjusters apply adjustments to the given price they wish to affect. Adjustments are strongly typed and each adjuster should define their own adjustment type, providing properties to collect any relevant information for the adjustment. This "metadata" gets serialized with the adjustment as is constantly available when accessing the given adjustment. - -```csharp -[Serializable] -public class MyAdjustment : PriceAdjustment -{ - public string MyAdjustmentRef { get; set; } - - // A parameterless constructor is required for cloning - public MyAdjustment() - : base() - { } - - // Additional helper constructors - public MyAdjustment (string name, string reference, Price adjustment) - : base(name, adjustment) - { - MyAdjustmentRef = reference; - } -} -``` - -Adjustments inherit from either `PriceAdjustment` or `AmountAdjustment` depending on the type of adjustment being applied. Both base classes follow a similar structure, the difference being whether the adjustment value is a `Price` or `Amount`. - -```csharp -public abstract class PriceAdjustment -{ - public Type Type { get; } - public string Name { get; } - public Price Price { get; } - public Price OriginalPrice { get; } -} -``` - -Once defined, the adjuster should be registered with the DI container to enable Umbraco Commerce to be aware of it and include it in the calculation process. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyServices(IUmbracoCommerceBuilder builder) - { - // Register the price adjuster - builder.WithPriceAdjusters() - .Append(); - - // Return the builder to continue the chain - return builder; - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/price-freezing.md b/10/umbraco-commerce/key-concepts/price-freezing.md deleted file mode 100644 index b08affefcc0..00000000000 --- a/10/umbraco-commerce/key-concepts/price-freezing.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -description: Freezing prices for shopping carts in Umbraco Commerce. ---- - -# Price Freezing - -Price Freezing in Umbraco Commerce is the ability to freeze prices for products that are added to the shopping cart. Umbraco Commerce takes a snapshot of a product's price once it's added to the shopping card. This is done in order to ensure the price is honored for the life of the shopping cart. This process prevents a customer's shopping cart from suddenly changing in value should a price change occur whilst their cart session is in progress. - -A product's price is frozen from the point it is added to the current Order, and only for the current Currency of the Order. Should the Customer change the Currency of their Order, then a new snapshot of the product price will be taken for that Currency. - -## Controlling Price Freezing - -There are times when you may wish to control when a frozen price should expire. This could be if a product was incorrectly priced, or if you have rules on how long an Order-session is allowed to maintain price. - -On these occasions, you can force frozen prices to expire by using the `IPriceFreezerService` and its `ThawPrices` method. - -All frozen prices have an `OrderId` property and a `Key` that uniquely identifies them. For product prices, this key consists of a generated token of the following format `{StoreId}_{OrderId}_{ProductReference}`. In addition, the product prices Currency, and date of the freeze are also tracked. It is important to know these details as we can use all of these attributes to target which prices we wish to thaw. - -For example, to thaw all prices for a product with the reference `c0296b75-1764-4f62-b59c-7005c2348fdd` we could call: - -```csharp -_priceFreezerService.ThawPrices(partialKey: "c0296b75-1764-4f62-b59c-7005c2348fdd"); -``` - -Or to thaw all prices for a given Currency that are greater than 30 days old we could call: - -```csharp -_priceFreezerService.ThawPrices(currencyId: currency.Id, olderThan: DateTime.Now.AddDays(-30)); -``` diff --git a/10/umbraco-commerce/key-concepts/product-adapters.md b/10/umbraco-commerce/key-concepts/product-adapters.md deleted file mode 100644 index 6146eb4737c..00000000000 --- a/10/umbraco-commerce/key-concepts/product-adapters.md +++ /dev/null @@ -1,185 +0,0 @@ ---- -description: Converting product sources into understandable products for Umbraco Commerce. ---- - -# Product Adapters - -The role of a Product Adapter in Umbraco Commerce is to provide an interface between a product information source and convert it into a standardized format. This is done to prevent the need for Umbraco Commerce to be tied to that source. - -What this means for developers is that Product Adapters allow you to hook in alternative product information sources that may not be Umbraco node based. You may hold your product information in a third-party database table. A custom Product Adapter would then allow Umbraco Commerce to interface with that custom data in the same way it would the default Umbraco node data. - -## Example Product Adapter - -An example of a Product Adapter would look something like this: - -```csharp -public class MyCustomProductAdapter : IProductAdapter -{ - public IProductSnapshot GetProductSnapshot(string productReference, string languageIsoCode) - { - // Lookup a product by productReference and convert to IProductSnapshot - } - - public IProductSnapshot GetProductSnapshot(string productReference, string productVariantReference, string languageIsoCode) - { - // Lookup a product by productVariantReference and convert to IProductSnapshot - } - - public bool TryGetProductReference(Guid storeId, string sku, out string productReference, out string productVariantReference) - { - // Try lookup a product / variant reference by store + sku - } -} - -``` - -All Product Adapters implement the `IProductAdapter` interface which requires three method implementations: - -* Two `GetProductSnapshot` methods that retrieve a Product Snapshot for either a product or product variant by reference parameters. -* A `TryGetProductReference` method which retrieves a product/variant reference for a product that belongs to a given `storeId` and has the given `sku`. - -A Product Snapshot consists of the following properties in order to present a Product to Umbraco Commerce in a standard way. - -```csharp -public interface IProductSnapshot -{ - // The unique reference for the product - string ProductReference { get; } - - // The unique reference for the variant (if this is a variant snapshot) - string ProductVariantReference { get; } - - // The unique SKU for this product/variant - string Sku { get; } - - // The name of this product/variant - string Name { get; } - - // The ID of the store this product/variant belongs to - Guid StoreId { get; } - - // An optional Tax Class ID for this product/variant - Guid? TaxClassId { get; } - - // Any properties exposed by this product/variant that should be copied to the orderline - IDictionary Properties { get; } - - // Any variant attributes for this product (if this is a variant snapshot) - IEnumerable Attributes { get; } - - // The available prices for this product/variant - IEnumerable Prices { get; } - - // Flag indicating whether this product is a gift card product - bool IsGiftCard { get; } -} - -``` - -## Support editable carts - -To allow Umbraco Commerce to search for products/variants to add to a cart via the backoffice, Product Adapters can implement 3 additional methods. This can also be done to support editable carts. - -```csharp -public class MyCustomProductAdapter : ProductAdapterBase -{ - ... - - public override PagedResult SearchProductSummaries(Guid storeId, string languageIsoCode, string searchTerm, long currentPage = 1, long itemsPerPage = 50) - { - // Search for products matching the given search term and convert to a IProductSummary - } - - public override IEnumerable GetProductVariantAttributes(Guid storeId, string productReference, string languageIsoCode) - { - // Lookup the in-use product attributes of a primary product - } - - public override PagedResult SearchProductVariantSummaries(Guid storeId, string productReference, string languageIsoCode, string searchTerm, IDictionary> attributes, long currentPage = 1, long itemsPerPage = 50) - { - // Search for product variants matching the given search term and/or the given attributes and convert to a IProductVariantSummary - } -} - -``` - -The `IProductSummary`, `Attribute` and `IProductVariantSummary` consists of the following properties in order to present a Product to Umbraco Commerce in a standard way. - -```csharp -public interface IProductSnapshot -{ - // The unique reference for the product - string Reference { get; } - - // The unique SKU for this product - string Sku { get; } - - // The name of this product - string Name { get; } - - // The available prices for this product - IEnumerable Prices { get; } - - // Flag indicating whether this product has variants - bool HasVariants { get; } -} - -public class Attribute -{ - // The alias of the attribute - public string Alias { get; } - - // The name of the attribute - public string Name { get; } - - // The attribute values - IEnumerable Values { get; } -} - -public class AttributeValue -{ - // The alias of the attribute value - public string Alias { get; } - - // The name of the attribute value - public string Name { get; } - -} - -public interface IProductVariantSnapshot -{ - // The unique reference for the product variant - string Reference { get; } - - // The unique SKU for this product variant - string Sku { get; } - - // The name of this product variant - string Name { get; } - - // The available prices for this product variant - IEnumerable Prices { get; } - - // The collection of attribute alias pairs of this product variant - IReadOnlyDictionary Attributes { get; } -} - -``` - -## Registering a Product Adapter - -typeProduct Adapters are [registered via the IUmbracoCommerceBuilder](umbraco-commerce-builder.md) interface using the `AddUnique()` method on the `Services` property. The `TReplacementAdapter` parameter is the type of our custom Product Adapter implementation. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyServices(IUmbracoCommerceBuilder builder) - { - // Replacing the default Product Adapter implementation - builder.Services.AddUnique(); - - // Return the builder to continue the chain - return builder; - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/product-bundles.md b/10/umbraco-commerce/key-concepts/product-bundles.md deleted file mode 100644 index 7e1b74db372..00000000000 --- a/10/umbraco-commerce/key-concepts/product-bundles.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -description: Creating bundles of products with Umbraco Commerce. ---- - -# Product Bundles - -Occasionally you may need to create a product with multiple sub-products. A good example of this is when buying a computer where you may pick the computer as the main product. You can then choose the different components to make up the computer, such as the hard disk options. The final order line then becomes the composite order line of the selected primary product and all its sub-product options. To achieve this kind of configurable product in Umbraco Commerce, we can use a feature called product bundling. - -## Creating a Bundle - -To create a bundle, we first add the primary product to an order as we normally would. In addition to the product/quantity information, we also provide a unique `bundleId` to identify that adding this product should create a bundle order line. - -```csharp -// Define a unique bundle id for the order line -var bundleId = "MyUniqueBundleId"; - -// Add the primary product to the order giving it a bundle ID -order.AddProduct(productReference, productQuantity, bundleId); -``` - -## Adding Sub Products to a Bundle - -With the primary product added as a bundle, we can then add sub-products to that bundle by calling one of the `AddProductToBundle` order methods. - -```csharp -// Define a unique bundle id for the order line -var bundleId = "MyUniqueBundleId"; - -// Add the primary product to the order giving it a bundle ID -order.AddProduct(productReference, productQuantity, bundleId); - -// Add a sub product to the bundle by calling a AddProductToBundle method -// passing in the same bundle ID as the primary order line -order.AddProductToBundle(bundleId, subProductReference, subProductQuantity); -``` - -## Order Line Price Calculation - -By adding sub-products to a bundle, Umbraco Commerce knows to automatically sum up all the sub-product prices together. It will then add them to the unit price of the primary order line for you. This means that there is nothing extra you need to do in the calculation process. - -## Displaying Bundles in the Back-Office - -As you can imagine, product bundles could get rather large making it a little difficult to display them in the backoffice. Umbraco Commerce bundles order lines together in a collapsible user interface. This gives you a clear view of your orders whilst still being able to drill into the detail of the items purchased. - -![Product bundles in the backoffice](../media/backback-office-bundles.png) diff --git a/10/umbraco-commerce/key-concepts/product-variants/README.md b/10/umbraco-commerce/key-concepts/product-variants/README.md deleted file mode 100644 index 48380e74417..00000000000 --- a/10/umbraco-commerce/key-concepts/product-variants/README.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -description: Creating product variants with Umbraco Commerce. ---- - -# Product Variants - -Product variants are the ability to define variants of a given product. If a product was available in multiple color options, you would create a primary product with product variants for each of the color options. - -Out of the box, Umbraco Commerce supports two types of product variant setups. - -## Child Variants - -Child variants are where the product variants are set up as child nodes below the primary product. Generally speaking, this setup is only sustainable for single variant options, where there is only one differing option between the variants. - -By using child variants the only thing you need to create is your own variant nodes as you already do in Umbraco. - -When a child variant is added Umbraco Commerce checks the primary product node for any properties that can't be found on the variant child node. - -This approach is how most of [the official Demo store](https://github.com/umbraco/Umbraco.Commerce.DemoStore) is set up. - -## [Complex Variants](complex-variants.md) - -Complex variants are where products vary by multiple possible options, such as by size, color, and fit. Complex variants tend to create a lot of variant products which makes the child variants approach impractical. - -For complex variants, Umbraco Commerce comes with a variants property editor which will handle a lot of this complexity for you. You can set up a variant element type to use as your data blueprint for your variant products. This can then be linked to the property editor. The variants property editor will use this as the data structure for your variants. You will be presented with the relevant UI to input the product details. - -{% hint style="info" %} -For more information on how you can setup Complex Variants, head to the [Complex Variants](complex-variants.md) article. -{% endhint %} - -### [Product Attributes](complex-variants.md#product-attributes) - -To aid with the setup of the complex variants, Umbraco Commerce has the **Product Attributes** concept which defines the individual options that make up your product variants. This could be colors, sizes, and fits. Each product attribute is made up of a label and as many values as needed. - -Product attributes are used by the complex variants property editor allowing you to select the combinations of product variants you wish to create. It will automatically generate the product variant entries for you, ready for product information updating. - -{% hint style="info" %} -For more information on how you can setup Product attributes, head to the [Complex Variants](complex-variants.md#product-attributes) article. -{% endhint %} diff --git a/10/umbraco-commerce/key-concepts/product-variants/complex-variants.md b/10/umbraco-commerce/key-concepts/product-variants/complex-variants.md deleted file mode 100644 index 946b8db06a7..00000000000 --- a/10/umbraco-commerce/key-concepts/product-variants/complex-variants.md +++ /dev/null @@ -1,139 +0,0 @@ ---- -description: Creating complex variants with Umbraco Commerce. ---- - -# Complex Variants - -The Commerce Complex Variants feature is powered by a new Variants Editor property editor that you can attach to your product content nodes. The editor itself is based on the Umbraco Block List editor format so under the hood we make use of the new data structure. - -We also make use of Umbraco’s block editor APIs. You can add supporting data needed to record against your variants simply by defining a document type and linking it with the editor. By basing the editor on the block editor data structure, we can take advantage of improvements made in Umbraco Commerce. An example is optimized persistence/searching. - -The Variants Editor isn’t just a regular property editor. Managing variant data is a complex task and having variants mingled in with the product content fields would be distracting. So a bit of Umbraco magic is used to allow the editor to render itself as a content app. By doing this it gives a focused tab on which to manage complex-variants and allows to create a much richer content management experience. - -

Variants editor table view

- -All you have to do is add the variants editor as a property on your product Document Type and Umbraco Commerce hooks up the rest. - -## Product Attributes - -Before you can go creating variants, there is another concept that you need to understand and that is product attributes. - -Product attributes are essentially lists of options that can be used to create your variant combinations. For example, things like color, size, or fit if you were selling clothing. - -Each product attribute consists of a name and a series of attribute values for the given options. So for example, color attribute might have a series of values like red, and blue, and size might have values of large, medium, and small. - -In order to manage these product attributes, we’ve created a new Options node inside the **Commerce** section, beneath each store. From this section, you can define as many product attributes + values as you need. If you're working with a multi-lingual setup, you can provide label translations. - -

Product attributes

- -

Product attributes values

- -## Product Attribute Presets - -Linked with product attributes, there is also the concept of product attribute presets. - -What product attribute presets do is allow to define groups of product attributes/values based on a specific **theme**. Then they are displayed at the point of product variant creation. This is where you can choose from a smaller, focused list of product attributes than if you were just presented with every possible option. - -

Product attribute presets

- -

Product attribute preset values

- -## Creating Variants - -With the product attributes defined (and optional product attribute presets), and the variants editor defined (on product Document Type), you can start creating product variants. - -With the product node open, you’ll now see the new Variants content app in the top right corner. From there you can click the **Create Product Variants** button to launch the **create** dialog. - -From the create dialog, you’ll be presented with a list of product attributes so that you can select all the combinations you want to create variants. If you have setup any product attribute presets, these will be presented first. - -Selecting a preset will show a smaller list of product attributes/values to choose from. To create the variants, check the checkbox against the attribute values and click Select. Then rows will be automatically created in the variants table for every combination of the selected attributes. - -

Create variants presets

- -

Create variants attributes

- -## Managing Variants - -With variants defined in the variants table, you can manage the content for each variant by clicking the **SKU** of the row. Then it will launch the content editor for that variant. From here you’ll be presented with all the fields defined on your variants Document Type and can add and save the information required. - -

Edit variant

- -In the variants table view, we've also added filtering features so you can filter by attribute values. You can also search for specific variant **SKUs** to easily locate items. Additionally, the table also supports sorting on the table columns, so you can also order the results as you need. - -

Variant filtering

- -You can change a variant attribute combination at any time by clicking the cog icon on the row. Then you can select a new combination. Lastly, you can remove a variant by clicking the trash can icon against the row. - -## Variant Fields - -Whilst you are free to add any fields you like to your variant, there are a few fields that you might want/need to add. - -The only required field is an **SKU** field with the alias `sku`. All the following fields are optional, with Umbraco Commerce falling back to the parent node if one isn’t found. - -* **Price** `[price]` - The fixed price of the product variant. Should use a **Commerce Price** input field. -* **Price Adjustment** `[priceAdjustment]` - Used instead of a price field to create a dynamic price by adding the adjustment amount to the parent product price. Should use a **Commerce Price** input field and can contain negative values. -* **Stock** `[stock]`- Allows for individual variant stock management. - -## Value Converter - -Once the variants are defined, you’ll then want to be able to access that data on the frontend. To do this the variants editor comes with a built-in value converter. This allows you to access a strongly typed collection of all the defined variants from the parent product node. - -The property value will be of type `ProductVariantCollection` that contains a series of `ProductVariantItem` entities. Each of these entities has a Config property which contains details of the product attribute combination for the variant. It also contains a content property of type IPublishedElement from which you can access the variant's data. The _Content_ property can also be cast to a models builder model type for strongly typed access to the variant content too. - -```csharp -public class ProductVariantItem -{ - public Udi ContentUdi { get; } - public IPublishedElement Content { get; } - public ProductVariantConfig Config { get; } -} -``` - -```csharp -public class ProductVariantConfig -{ - public IDictionary Attributes { get; set; } -} -``` - -Umbraco Commerce also ships with a helper extension method on the `ProductVariantCollection` class, `GetInUseProductAttributes(storeId).`This provides a convenient way to get a list of all attributes + values used by the variants collection. It comes in handy when rendering out the list of options on the front end, ensuring only attributes in use are displayed. - -```csharp -public class InUseProductAttribute -{ - public string Alias { get; } - public ReadOnlyTranslatedValue Name { get; } - public IReadOnlyCollection Values { get; } -} -``` - -```csharp -public class InUseProductAttributeValue -{ - public string Alias { get; } - public ReadOnlyTranslatedValue Name { get; } -} -``` - -```csharp -public class ReadOnlyTranslatedValue -{ - public T GetDefaultValue() - public bool HasValue(string languageIsoCode) - public T GetValue(string languageIsoCode, bool fallbackToDefault = true) - public bool TryGetValue(string languageIsoCode, out T value) - public T this[string languageIsoCode] -} -``` - -## API Updates - -The last piece of the complex variants puzzle is a few updates to Umbraco Commerce's API. - -This is largely around the `AddProduct` methods on the **Order** entity which now have additional signatures. These signatures take both a _productReference_ and a _productVariantReference_ which must both be supplied when adding a variant item to an order. - -Order lines have also been updated to expose a new Attribute property. This provides a collection of attribute combinations for the order lines product so that these can be rendered on carts and checkouts. The "uniqueness" logic for an order line has also been updated to take these attributes into account. - -With both of these changes, updates have also been made to the `IProductAdapter/IProductSnapshot` interfaces and built-in implementations. This is in order to support product variants and attributes, as it has the product and price freezer services. - -The built-in stock property editor has also had a slight overhaul in order to support both regular products and product variants. If anyone needs to provide an alternative implementation, a new `IStockService` interface has been created as well. diff --git a/10/umbraco-commerce/key-concepts/properties.md b/10/umbraco-commerce/key-concepts/properties.md deleted file mode 100644 index 1df33ba08c7..00000000000 --- a/10/umbraco-commerce/key-concepts/properties.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -description: Order and Order Line metadata in Umbraco Commerce. ---- - -# Properties - -There is little information that Umbraco Commerce needs to know about a product in order for it to do its job. There are, however, times when developers require the ability to store additional information against an Order or Order Line. This could be the billing/shipping address of an Order, or any specific configuration details of a given Product on an Order Line. - -To help facilitate this Umbraco Commerce has the concept of a Properties collection on both the Order entity and the Order Line entity respectively. The Properties collection of these entities can be thought of as a general store for additional information required by an implementation, but not strictly required by Umbraco Commerce itself. - -Anything you need to remember about an Order / Order Line can be stored in its Properties collection. - -## Setting Properties - -To set a Property on an Order or Order Line, it needs to be [in its Writable state](readonly-and-writable-entities.md#converting-a-readonly-entity-into-a-writable-entity). Then it's a case of calling one of the related property setting methods: - -```csharp -// Set a single property -order.SetProperty("propertyAlias", "Property Value"); - -// Set multiple properties at once -order.SetProperties(new Dictionary{ - { "propertyAlias1", "Property Value 1" }, - { "propertyAlias2", "Property Value 2" }, - { "propertyAlias3", "Property Value 3" } -}) - -// Remove a property -order.RemoveProperty("propertyAlias"); - -``` - -Property values can either be a `string`, or a Umbraco Commerce `PropertyValue` which allows you to define a value as being Server Side Only. This means that it won't be returned via non-server APIs or Read Only meaning it can't be updated once set. - -```csharp -// Set a string property -order.SetProperty("propertyAlias", "Property Value"); - -// Set a PropertyValue property as Read Only -order.SetProperty("propertyAlias", new PropertyValue("Property Value", isReadOnly: true)); -``` - -## System Properties - -On occasions where Umbraco Commerce needs to capture some information about an Order or Order Line, it uses the Properties collection to store this information. It's useful to know what these properties are as you should avoid using these system-related property keys. - -### Order System Properties - -| Alias | Description | -| ----------- | -------------------------------------------------------------------------------------------------------------- | -| `email` | The email address of the person placing the order. Is where `order.CustomerInfo.Email` reads it's value from. | -| `firstName` | The first name of the person placing the order. Is where `order.CustomerInfo.FirstName` reads it's value from. | -| `lastName` | The last name of the person placing the order. Is where `order.CustomerInfo.LastName` reads it's value from. | - -### Order Line System Properties - -| Alias | Description | -| ----- | --------------------------------------------------------------------------------------------------------- | -| `sku` | The `SKU` of the product, extracted from the product node via the [Product Adapter](product-adapters.md). | - -## Automatic Properties - -Umbraco Commerce has a built-in mechanism that can be configured to automatically copy properties from a Product information source to the Order Line automatically. This is done by using the **Product Property Aliases** field on the Store settings screen. - -![Product Property Aliases Configuration](../media/product\_property\_aliases.png) - -When a Product is added to the Order containing a comma-separated list of property aliases, the property values are automatically copied to the Order Lines Properties collection. - -This is useful for occasions such as rendering out the Order Lines on a Cart page and you have Product information you want to display. By copying it to the Order Lines Properties collection, you have instant access to those properties without the need to re-fetch the original Product entity. - -## Product Uniqueness Properties - -Another use of the Properties collection for an Order Line is that of identifying product "Uniqueness". - -Umbraco Commerce uses Product Uniqueness to identify either of the two: - -* Whether a Product is added to a Cart should be considered as a Quantity increase on an existing Order Line -* Whether it should be considered as a unique product combination and so should be given an Order Line of its own. - -A good example of this is when you have configurable products, such as customizable T-Shirt designs. In this case, each unique configuration should be considered as its own Order Line so that you can manage the specific configurations. - -Product uniqueness is configured via the **Product Uniqueness Property Aliases** field on the Store setting screen. - -![Product Uniqueness Property Aliases Configuration](../media/product\_uniqueness\_property\_aliases.png) - -When set to a comma-separated list of property aliases and a Product is added to an Order, the properties are compared against all pre-existing Order Lines for that Product. Should their values be different, then a unique Order Line will be created for that Product. diff --git a/10/umbraco-commerce/key-concepts/readonly-and-writable-entities.md b/10/umbraco-commerce/key-concepts/readonly-and-writable-entities.md deleted file mode 100644 index 0e83991743d..00000000000 --- a/10/umbraco-commerce/key-concepts/readonly-and-writable-entities.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -description: >- - Great performance and simplified change tracking using ReadOnly and Writable - entities in Umbraco Commerce. ---- - -# ReadOnly and Writable Entities - -When working with the Umbraco Commerce entities, it's important to know that all entities come in two states, ReadOnly and Writable. By default, all Umbraco Commerce API methods will return entities in their ReadOnly state. This means that when you are accessing Umbraco Commerce entities directly from an API endpoint you are able to read and iterate over its properties. You won't, however, be able to make changes to that entity without first converting it into its Writable state. - -## Why have ReadOnly and Writable entities? - -The reason why we have split entities in this way for a number of reasons, however, the two primary factors are: - -* **Making APIs fast by default** - By returning ReadOnly entities by default we can ensure all API methods are as fast as possible by feeding values directly out of our caching layer. Because the entities can't change it means we don't have to laden the entities with extra change tracking logic, we can feed out the cached values directly and only worry about that logic when the entities become Writable. -* **Simplified change tracking** - When we convert a ReadOnly entity to its writable state, internally we take a deep clone of that state so that changes can occur within a scoped "sandbox". At the same time, we retain a copy of the original state meaning when it comes time to persist those changes we have two copies of the state we can perform a comparison on, simplifying the whole change tracking process. - -## Converting a ReadOnly entity into a Writable entity - -To convert a ReadOnly entity into its Writable form, we achieve this by calling the entities `AsWritable(uow)` method, passing in a valid Unit of Work instance to perform the write operations on. Once we have a Writable entity, we can then perform the write operations we desire and persist those changes back to the database. - -```csharp -_uowProvider.Execute(uow => -{ - // Fetch the currency - var currency = _currencyService.GetCurrency(currencyId); - - // Convert the currency into it's Writable form - var writableCurrency = currency.AsWritable(uow); - - // Peform our write operation - writableCurrency.SetName("New Name"); - - // Persist the changes to the database - _currencyService.SaveCurrency(currency); - - // Close our transaction - uow.Complete(); -}); - -``` - -{% hint style="info" %} -All write operations must occur within a Unit of Work so by passing in a Unit of Work instance into the entities `AsWritable` method, we are ensuring that you are in fact within an active Unit of Work. -{% endhint %} diff --git a/10/umbraco-commerce/key-concepts/search-specifications.md b/10/umbraco-commerce/key-concepts/search-specifications.md deleted file mode 100644 index 34327612443..00000000000 --- a/10/umbraco-commerce/key-concepts/search-specifications.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -description: Learn more about the flexible search functionaities in Umbraco Commerce. ---- - -# Search Specifications - -Providing a search API for developers to be able to search for entities that match given criteria is a bit of a balancing act. You want to provide a flexible API to allow for meaningful results to be returned but at the same time, you don't want to allow every possible search combination as this can lead to performance problems. - -The way we have addressed this is by using the Specification pattern. - -## Specifications - -Specifications are a programming design pattern that allows you to encapsulate business rules in blocks that can be chained together to define boolean logic. - -What this means is that we can provide a series of specifications for the types of queries we are able to support in a performant way and allow developers to chain these together in whatever combination they require in order to create dynamic filters for entity searches. - -## Searching - -To perform a search using specifications you'll need to use one of the search methods on the given entity service that accepts a `Func>` parameter. This parameter type might look complex, but its use should be pretty straightforward thanks to the use of delegates. - -To use one of the search methods, the implementation will look something like the following: - -```csharp -var results = _orderService.SearchOrders( - (where) => where - .FromStore(storeId) - .And(where.HasOrderNumber(orderNumber).Or(where.ByCustomer(customerEmail)))) -``` - -The above is an example, but it demonstrates the use of a delegate method that then uses a fluent specifications API to build up a query filter. The query filter itself can be made up of many different individual queries which themselves can be grouped using `AND` and `OR` query logic. - -Because the API is fluent it is also self-documenting, with Visual Studio intellisense able to guide developers through all the available specifications. - -## Ordering Results - -Alongside the query specifications documented above, we also have to sort specifications that allow a similar fluent API for defining the order in which results are returned. These are passed in a similar way to the search methods as demonstrated below. - -```csharp -var results = _orderService.SearchOrders( - (where) => where - .FromStore(storeId) - .And(where.HasOrderNumber(orderNumber).Or(where.ByCustomer(customerEmail))), - (orderBy) => orderBy - .FinalizedDate(Sort.Descending) - .Then(orderBy.CreateDate(Sort.Descending))) -``` diff --git a/10/umbraco-commerce/key-concepts/settings-objects.md b/10/umbraco-commerce/key-concepts/settings-objects.md deleted file mode 100644 index 550ecf6b7c3..00000000000 --- a/10/umbraco-commerce/key-concepts/settings-objects.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -description: Strongly typed Settings objects in Umbraco Commerce. ---- - -# Settings Objects - -There are places in Umbraco Commerce where you can use Settings Objects to pass configuration to a Provider, such as Discount Rule Providers, Reward Providers, and Payment Providers. - -The settings objects have a number of responsibilities. - -* **Typed Settings Model** - The type represents a strongly typed settings model the given Provider accepts. Any stored settings in the database will be deserialized to this type before being passed to the Provider for processing. This provides strongly typed access to the relevant configuration settings. -* **UI Scaffold** - The settings object defines metadata on its properties via an Attribute implementing `UmbracoCommerceSettingAttribute`, each Provider type has its own attribute type in case they require additional config, for example `DiscountRewardProviderSettingAttribute`, `DiscountRuleProviderSettingAttribute` or `PaymentProviderSettingAttribute`. The attributes are used to dynamically build the AngularJS-based UI for the given Provider configuration. See the [UI Scaffolding](settings-objects.md#ui-scaffolding) section below for more information on UI Scaffolding. -* **JavaScript Settings Model** - The settings object also defines the JavaScript settings model passed to the Provider editor UI, using either the settings Property name as the object property key, or using the `key` property of the Setting Attribute declared on the given Property. - -## UI Scaffolding - -An important element of the Settings object is UI Scaffolding. UI Scaffolding is where Umbraco Commerce reads a series of Settings Attributes defined on your Settings object properties in order to dynamically build a User Interface for that Providers settings. - -An example of a Discount Reward Settings Object might look something like this: - -```csharp -public class MyDiscountRewardProviderSettings -{ - [DiscountRewardProviderSetting(Key = "nodeId", - Name = "Product Node", - Description = "The product to discount the price of", - View = "contentpicker", - Config = "{ startNodeId: -1, multiPicker: false, idType: 'udi' }")] - public Udi NodeId { get; set; } - - ... -} -``` - -Attributes define a property `key`, `name`, `description` to display in the UI as well as an optional `view` and `config` option to define the Umbraco property editor to use to edit the given property. If no view is defined, one will attempt to automatically be chosen based on the properties value type. - -An example of a generated UI built from these properties would look something like this: - -![Discount Rule UI](../media/discount\_rule\_ui.png) - -### Default Values - -To define default values for a settings object, you can assign a value to a property in your model and Umbraco Commerce will automatically fall back to that value if no explicit value is defined. - -```csharp -public class MyDiscountRewardProviderSettings -{ - [DiscountRewardProviderSetting(Key = "title", Name = "Title", Description = "A friendly title for this item"] - public string Title { get; set; } = "Untitled"; - - ... -} -``` diff --git a/10/umbraco-commerce/key-concepts/tax-sources.md b/10/umbraco-commerce/key-concepts/tax-sources.md deleted file mode 100644 index 62eb76fd1f2..00000000000 --- a/10/umbraco-commerce/key-concepts/tax-sources.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -description: Identifying the source of taxation of an Order within Umbraco Commerce. ---- - -# Tax Sources - -A Tax Source identifies which geographic location an Order should use in order to calculate its tax liability. Depending on the country that the web store is operating in and the country, an order is being purchased from/shipping to, this can dictate how your taxes should be calculated. - -To aid with this Umbraco Commerce allows the Tax Source of a Store to be configured via the implementation of a Tax Source Factory. The Tax Source Factory is responsible for determining the source of Tax given the billing and shipping country of an Order. - -Out of the box, Umbraco Commerce comes with two Tax Source Factory implementations: - -* **DestinationTaxSourceFactory** - (Default) Sets the Tax Source as being the destination country where an Order will be shipped to. -* **OriginTaxSourceFactory** - Sets the Tax Source as being the origin country where an Order was billed to. - -## Changing the Tax Source Factory - -Tax Source Factories are [registered via the IUmbracoCommerceBuilder](umbraco-commerce-builder.md) interface using the `AddUnique()` method on the `Services` property where the `TReplacementTaxSourceFactory` parameter is the type of your replacement Tax Source Factory implementation. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyServices(IUmbracoCommerceBuilder builder) - { - // Replacing the default Tax Source Factory implementation - builder.Services.AddUnique(); - - // Return the builder to continue the chain - return builder; - } -} -``` diff --git a/10/umbraco-commerce/key-concepts/ui-config-files.md b/10/umbraco-commerce/key-concepts/ui-config-files.md deleted file mode 100644 index b4751cc89bb..00000000000 --- a/10/umbraco-commerce/key-concepts/ui-config-files.md +++ /dev/null @@ -1,309 +0,0 @@ ---- -description: Customizing the UI in Umbraco Commerce. ---- - -# UI Config Files - -With Umbraco Commerce, there are minimal rules about what information you are required to record about an Order, however, this does pose a problem for how we provide a User Interface for managing carts and orders when we don't know exactly what properties you are going to be recording. - -In order to allow this flexibility whilst still providing the ability to view and manage carts and orders in the backoffice, Umbraco Commerce supports a number of UI config files to map [Order/Order Line Properties](properties.md) to its UI elements. - -## Supported UI Config Files - -The configuration files supported by Umbraco Commerce are. - -* **cart.list.config.json** - Cart list view configuration. -* **cart.editor.config.json** - Cart editor view configuration. -* **order.list.config.json** - Order list view configuration. -* **order.editor.config.json** - Order editor view configuration. - -{% hint style="info" %} -If there are no cart config files defined, then Umbraco Commerce will fall back to the order config files. -{% endhint %} - -## Assigning a UI Config File to a Store - -To assign a UI config file to a Store, this is done by file name convention. This is where configs are looked for in `App_Plugins/UmbracoCommerce/config` with the following file name format `{storeAlias}.{entityType}.{viewType}.config.json`. If no store-specific file is found, it will fallback into the default `{entityType}.{viewType}.config.json`. - -## Cart/Order List Config Files - -With these configuration files, you can customize the columns displayed in the Cart/Order list view. - -### Example Cart/Order List Config File - -```javascript -{ - properties: [ - { alias: "color", header: "Color", placeholder: "Undefined" }, - { alias: "size", header: "Size", placeholder: "Undefined", align: "right" } - ] -} -``` - -The following properties are supported: - -| Name | Description | -| ------------- | ------------------------------------------------------------------------------------------------------------ | -| `alias` | The alias of the Order property to use | -| `label` | A label to display as the table column header | -| `align` | Sets the alignment of the column. Can be `left` (default), `center` or `right` | -| `placeholder` | The placeholder value to display if there is now Order property value | -| `template` | An angular template to use for rendering the property value. Defaults to `{{ properties['alias'].value }}` | - -Properties configured to display in the list view will appear in order, after the cart name column. - -![Order List Properties](../media/cart\_list\_properties.png) - -## Cart/Order Editor Config Files - -With these configuration files, you can customize the Cart/Order Editor interface to suit your particular needs. - -### Example Cart/Order Editor Config File - -An example of an Order Editor config file would look something like this: - -```javascript -{ - orderLine: { - properties: [ - { alias: "color", label: "Color", isReadOnly: true, showInOrderLineSummary: true }, - { alias: "size", label: "Size", isReadOnly: true } - ] - }, - customer: { - // Firstname, Lastname and Email are already known - company: { alias: "company", label: "Company Name" }, - taxCode: { alias: "taxCode", label: "Tax Code" }, - telephone: { alias: "telephone", label: "Telephone" }, - }, - billing: { - addressLine1: { alias: "billingAddressLine1", label: "Street Address Line 1" }, - addressLine2: { alias: "billingAddressLine2", label: "Street Address Line 2" }, - city: { alias: "billingCity", label: "City" }, - zipCode: { alias: "billingZipCode", label: "Zip Code" }, - telephone: { alias: "billingTelephone", label: "Telephone" }, - // Country and Region are already known - }, - shipping: { - enabled: true, - sameAsBilling: { alias: "shippingSameAsBilling", label: "Same as billing", trueValue: "1", falseValue: "0" }, - firstName: { alias: "shippingFirstName", label: "First Name" }, - lastName: { alias: "shippingLastName", label: "Last Name" }, - addressLine1: { alias: "shippingAddressLine1", label: "Street Address Line 1" }, - addressLine2: { alias: "shippingAddressLine2", label: "Street Address Line 2" }, - city: { alias: "shippingCity", label: "City" }, - zipCode: { alias: "shippingZipCode", label: "Zip Code" }, - telephone: { alias: "shippingTelephone", label: "Telephone" }, - // Country and Region are already known - }, - notes: { - customerNotes: { alias: "comments", label: "Customer Comments" }, - internalNotes: { alias: "notes", label: "Internal Notes" } - }, - additionalInfo: [ - { alias: "ipAddress", label: "IP Address", isReadOnly: true } - ] -} -``` - -The Cart/Order Editor config file is broken up into a series of sections, each of which relates to a particular section of the Cart/Order Editor User Interface. - -### Order Line Config Options - -The Order Line config block configures which Order Line properties should be viewable and/or manageable within the Cart/Order Editor UI. For each Order Line Property, you can provide the following options: - -| Name | Description | -| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------- | -| `alias` | The alias of the Order Line property | -| `label` | A friendly label to display for this property in the editor interface | -| `description` | A friendly description to display for this property in the editor interface | -| `template` | An angular template to use for rendering the property value. Defaults to `{{ properties['alias'].value }}` | -| `isReadOnly` | Sets the property as read only and so doesn't provide a means of editing the value in the editor interface (Default: `false`) | -| `showInOrderLineSummary` | Sets whether to display this property in the Order Lines summary next to the `SKU` in the Order editor interface (Default: `true`) | -| `view` | Sets the name or path of a Property Editor to use when editing this property | -| `config` | Defines a JSON config for the Property Editor if required | - -Properties configured to display in the Order Line Summary will be displayed inline next to the "Order Lines `SKU`" as follows: - -![Order Line Summary](../media/order\_line\_summary.png) - -Where there are editable Order Line Properties for an Order Line, a pencil icon is displayed next to the Order Lines Product name which when clicked will open out the Order Line Property editor interface for that Order Line. - -![Order Line Property Editing](../media/order\_line\_property\_editing.png) - -### Customer Config Options - -The Customer config block configures which Cart/Order properties relate to a Cart/Orders customer information. The following properties are supported. - -| Key | Description | -| ----------- | --------------------------------------------------------------------------------- | -| `firstName` | The customers first name. Uses the `order.CustomerInfo.FirstName` system property | -| `lastName` | The customers last name. Uses the `order.CustomerInfo.LastName` system property | -| `email` | The customers email address. Uses the `order.CustomerInfo.Email` system property | -| `company` | The company the customer works for | -| `taxCode` | The tax code of the company the customer works for | -| `telephone` | The contact telephone number of the customer | - -Any missing property definition in this config block will disable that property from displaying/being editable. - -For each property, the following config options are available: - -| Name | Description | -| ------------- | ---------------------------------------------------------------------------- | -| `alias` | The alias of the Order property to use | -| `label` | A friendly label to display for this property in the editor interface | -| `description` | A friendly description to display for this property in the editor interface | -| `view` | Sets the name or path of a Property Editor to use when editing this property | -| `config` | Defines a JSON config for the Property Editor if required | - -A fully configured Customer config block will produce a Customer summary like so: - -![Order Line Property Editing](../media/order\_customer\_info.png) - -Clicking the Customer Details `Edit` button will display an editing interface like so: - -![Order Line Property Editing](../media/order\_customer\_info\_editor.png) - -### Billing Config Options - -The Billing config block configures which Cart/Order properties relate to a Cart/Orders billing information. The following properties are supported. - -| Key | Description | -| -------------- | ------------------------------------------- | -| `addressLine1` | Line 1 of the billing address | -| `addressLine2` | Line 2 of the billing address | -| `city` | The City of the billing address | -| `zipCode` | The Zip/Postal Code of the billing address | -| `telephone` | The telephone number of the billing address | - -In addition to these properties, the `order.PaymentInfo` Country/Region will be associated with the billing address. - -Any missing property definition in this config block will disable that property from displaying/being editable. - -For each property, the following config options are available: - -| Name | Description | -| ------------- | ---------------------------------------------------------------------------- | -| `alias` | The alias of the Order property to use | -| `label` | A friendly label to display for this property in the editor interface | -| `description` | A friendly description to display for this property in the editor interface | -| `view` | Sets the name or path of a Property Editor to use when editing this property | -| `config` | Defines a JSON config for the Property Editor if required | - -A fully configured Billing config block will produce a Billing Address summary like so: - -![Order Billing Address Summary](../media/order\_billing\_address\_summary.png) - -Clicking the Customer Details `Edit` button will display an editing interface like so: - -![Order Billing Address Editor](../media/order\_billing\_address\_editor.png) - -### Shipping Config Options - -The Shipping config block configures which Cart/Order properties relate to a Cart/Orders shipping information. The following properties are supported. - -| Key | Description | -| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -| `enabled` | Sets whether the collection of shipping information is enabled or not. If set to `false` not shipping info will be displayed (Default: `true`) | -| `sameAsBilling` | Determines the Order property to use as a flag to indicate the shipping address is the same as the billing address | -| `firstName` | The first name of the shipping contact | -| `lastName` | The last name of the shipping contact | -| `addressLine1` | Line 1 of the shipping address | -| `addressLine2` | Line 2 of the shipping address | -| `city` | The City of the shipping address | -| `zipCode` | The Zip/Postal Code of the shipping address | -| `telephone` | The telephone number of the shipping address | - -In addition to these properties, the `order.ShippingInfo` Country/Region will be associated with the shipping address. - -Any missing property definition in this config block will disable that property from displaying/being editable. - -For each property, except `enabled` or `sameAsBilling`, the following config options are available: - -| Name | Description | -| ------------- | ---------------------------------------------------------------------------- | -| `alias` | The alias of the Order property to use | -| `label` | A friendly label to display for this property in the editor interface | -| `description` | A friendly description to display for this property in the editor interface | -| `view` | Sets the name or path of a Property Editor to use when editing this property | -| `config` | Defines a JSON config for the Property Editor if required | - -For the `sameAsBilling` property, the following config options are available: - -| Name | Description | -| ------------ | --------------------------------------------------------------------------------------------- | -| `alias` | The alias of the Order property to use | -| `label` | A friendly label to display next to a toggle switch for this property in the editor interface | -| `trueValue` | The value to expect for a `true` value | -| `falseValue` | The value to expect for a `false` value | - -A fully configured Shipping config block, where the `sameAsBilling` property is `false`, will produce a Shipping Address summary like so: - -![Order Shipping Address Summary](../media/order\_shipping\_address\_summary.png) - -Where as, a fully configured Shipping config block, where the `sameAsBilling` property is `true`, will produce a Shipping Address summary like so: - -![Order Shipping Address Summary - Same as Billing](../media/order\_shipping\_address\_summary\_same\_as\_billing.png) - -Clicking the Customer Details `Edit` button will display an editing interface like so: - -![Order Shipping Address Editor](../media/order\_shipping\_address\_editor.png) - -If the `sameAsBilling` toggle switch is toggled, the appropriate Cart/Order property will be toggled between the configured Properties true/false values, and the editor interface will be collapsed like so: - -![Order Shipping Address Editor - Same as Billing](../media/order\_shipping\_address\_editor\_same\_as\_billing.png) - -### Notes Config Options - -The Notes config block configures which Cart/Order properties relate to a Cart/Orders note information. The following properties are supported. - -| Key | Description | -| --------------- | ---------------------------------------------------------------------------------- | -| `customerNotes` | The property to use for customer provided notes | -| `internalNotes` | The property to use to store internal notes that shouldn't be sent to the customer | - -Any missing property definition in this config block will disable that property from displaying/being editable. - -For each property the following config options are available: - -| Name | Description | -| ------------- | --------------------------------------------------------------------------- | -| `alias` | The alias of the Order property to use | -| `label` | A friendly label to display for this property in the editor interface | -| `description` | A friendly description to display for this property in the editor interface | - -A fully configured Notes config block will produce an editor interface like so: - -![Order Notes Editor](../media/order\_notes\_editor.png) - -### Additional Info Config Options - -The Additional Info config block configures any other Cart/Order properties you wish to display in the Cart/Order editor interface in the **Additional Info** section. For each Order Property to display you can provide the following options: - -| Name | Description | -| ------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `alias` | The alias of the Order property | -| `label` | A friendly label to display for this property in the editor interface | -| `description` | A friendly description to display for this property in the editor interface | -| `template` | An angular template to use for rendering the property value. Defaults to `{{ properties['alias'].value }}` | -| `isReadOnly` | Sets the property as read only and so doesn't provide a means of editing the value in the editor interface (Default: `false`) | -| `view` | Sets the name or path of a Property Editor to use when editing this property | -| `config` | Defines a JSON config for the Property Editor if required | - -A fully configured Additional Info config block will produce an Additional Info summary interface like so: - -![Additional Info Summary](../media/order\_additional\_info\_summary.png) - -Clicking the Additional Info `Edit` button will display an editing interface like so: - -![Additional Info Editor](../media/order\_additional\_info\_editor.png) - -### Custom Cart/Order Editor View - -If you wish to entirely replace the Cart/Order Editor view with a custom implementation you can create a Cart/Order Editor Config file with a single `view` config option which points to the path of an alternative AngularJS view file to use for editing the Order. - -```javascript -{ - view: '/app_plugins/myplugin/views/ordereditor/ordereditor.html' -} -``` diff --git a/10/umbraco-commerce/key-concepts/umbraco-commerce-builder.md b/10/umbraco-commerce/key-concepts/umbraco-commerce-builder.md deleted file mode 100644 index 47a667eee8b..00000000000 --- a/10/umbraco-commerce/key-concepts/umbraco-commerce-builder.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -description: Learn more about the different options for configured Umbraco Commerce. ---- - -# Umbraco Commerce Builder - -When it comes to configuring and extending Umbraco Commerce, such as by registering your own event handlers, we achieve this with the `IUmbracoCommerceBuilder` interface that can be accessed via a delegate function passed into the `AddUmbracoCommerce()` extension method called on the `IUmbracoBuilder` interface when explicitly registering Umbraco Commerce. - -```csharp -public class Startup -{ - ... - public void ConfigureServices(IServiceCollection services) - { - services.AddUmbraco(_env, _config) - .AddBackOffice() - .AddWebsite() - .AddUmbracoCommerce(umbracoCommerceBuilder => { - // Configure Umbraco Commerce here - }) - .AddComposers() - .Build(); - } - ... -} - -``` - -## Registering Dependencies - -The `IUmbracoCommerceBuilder` interface gives you access to the current `IServiceCollection` and `IConfiguration` to allow you to register dependencies like you would with the [`IUmbracoBuilder` interface](dependency-injection.md#registering-dependencies) but its primary use case would be to access Umbraco Commerce's own collection builders, such as for registering validation or notification events, and any other Umbraco Commerce-specific configuration APIs. - -```csharp -... -.AddUmbracoCommerce(umbracoCommerceBuilder => { - - // Register validation events - umbracoCommerceBuilder.WithValidationEvent() - .RegisterHandler(); - -}) -... -``` - -As per the [Dependency Injection docs](dependency-injection.md), whilst you can register your dependencies directly within this configuration delegate, you may prefer to group your dependencies registration code into an extension method. - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -{ - public static IUmbracoCommerceBuilder AddMyDependencies(this IUmbracoCommerceBuilder builder) - { - // Register my dependencies here via the builder parameter - ... - - // Return the builder to continue the chain - return builder; - } -} -``` - -```csharp -... -.AddUmbracoCommerce(umbracoCommerceBuilder => { - - umbracoCommerceBuilder.AddMyDependencies(); - -}) -... -``` diff --git a/10/umbraco-commerce/key-concepts/umbraco-properties.md b/10/umbraco-commerce/key-concepts/umbraco-properties.md deleted file mode 100644 index d4b92ecb5b1..00000000000 --- a/10/umbraco-commerce/key-concepts/umbraco-properties.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -description: Key Umbraco node properties used by Umbraco Commerce. ---- - -# Umbraco Properties - -Umbraco Commerce uses Umbraco nodes as its source of information. In order for Umbraco Commerce to gather the information it needs, it requires that a number of properties are defined at different locations. These properties must have specific property aliases. - -## Properties - -
AliasTypeDescription
storeUmbraco.Commerce.StorePickerOften placed on the site root node, but can be placed on any node higher than the product nodes themselves, this property links the website to a specific Umbraco Commerce store configuration.
productNameTextstringOptional product node property that allows you to define an explicit product name other than the product nodes .Name property, which will be used as fallback.
skuTextstringProduct node property defining the unique SKU of the product.
priceUmbraco.Commerce.PriceProduct node property defining the prices for the product.
stockUmbraco.Commerce.StockProduct node property defining the stock level of the product.
taxClassUmbraco.Commerce.StoreEntityPickerOptional product node property that allows you to define an explicit Tax Class for the product, should it differ from the stores default.
isGiftCardTrue/FalseOptional product node property that defined whether the product node should be considered a Gift Card product, in which case it triggers the automatic generation of a Gift Card in the backoffice and emails it directly to the customer on checkout.
productSourceContentPickerOptional product node property allowing you to link a product to another product outside of it's hierarchy to be used as it's source of product information.
diff --git a/10/umbraco-commerce/key-concepts/unit-of-work.md b/10/umbraco-commerce/key-concepts/unit-of-work.md deleted file mode 100644 index eabac773e45..00000000000 --- a/10/umbraco-commerce/key-concepts/unit-of-work.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -description: Transactional updates using the Unit of Work pattern in Umbraco Commerce. ---- - -# Unit of Work - -## Unit of Work - -When working with Umbraco Commerce's API it is important that data integrity is maintained should any errors occur. In order to achieve this Umbraco Commerce uses the [Unit of Work pattern](https://www.martinfowler.com/eaaCatalog/unitOfWork.html) to effectively create a transaction that wraps around sections of your code ensuring that all Umbraco Commerce write operations that occur within that code block must succeed and be persisted in their entirety, otherwise, none of them should, and the database should rollback to its state prior to when those changes were made. - -### Creating a Unit of Work - -Creating a unit of work will require access to Umbraco Commerce's `IUnitOfWorkProvider` which can be [injected into your Controller directly](dependency-injection.md), or can also be accessed via the `UoW` property on the `IUmbraco CommerceApi` helper. - -Once you have access to either of these entry points, you can define a Unit of Work as follows - -```csharp -_uowProvider.Execute(uow => -{ - // Perform your write operations here - - uow.Complete(); -}); - -``` - -The anatomy of a Unit of Work is an `Execute` method call on the `IUnitOfWorkProvider` instance which accepts a delegate function with a `uow` argument. Inside the delegate, we perform our tasks and confirm the Unit of Work as complete by calling `uow.Complete()`. If we fail to call `uow.Complete()` either due to forgetting to add the `uow.Complete()` call or due to an exception in our code, then any write operations that occur within that code block will **not** be persisted in the database. - -### Unit of Work Best Practice - -When using a Unit of Work it is best practice that you should perform **all** write operations inside a single Unit of Work and **not** create individual Units of Work per write operation. - -{% hint style="info" %} -Perform all write operations in a single Unit of Work -{% endhint %} - -```csharp -_uowProvider.Execute(uow => -{ - // Create a Country - var country = Country.Create(uow, storeId, "DK", "Denmark"); - - _countryService.Save(country); - - // Create a Currency - var currency = Currency.Create(uow, storeId, "DKK", "Danish Kroner", "da-DK"); - - _currencyService.Save(currency); - - uow.Complete(); -}); -``` - -{% hint style="info" %} -It is not recommended to create a Unit of Work per write operation. -{% endhint %} - -```csharp -_uowProvider.Execute(uow => -{ - // Create a Country - var country = Country.Create(uow, storeId, "DK", "Denmark"); - - _countryService.Save(country); - - uow.Complete(); -}); - -_uowProvider.Execute(uow => -{ - // Create a Currency - var currency = Currency.Create(uow, storeId, "DKK", "Danish Kroner", "da-DK"); - - _currencyService.Save(currency); - - uow.Complete(); -}); -``` diff --git a/10/umbraco-commerce/media/back-office-bundles.png b/10/umbraco-commerce/media/back-office-bundles.png deleted file mode 100644 index 154c8d21510..00000000000 Binary files a/10/umbraco-commerce/media/back-office-bundles.png and /dev/null differ diff --git a/10/umbraco-commerce/media/cart_list_properties.png b/10/umbraco-commerce/media/cart_list_properties.png deleted file mode 100644 index 952793eff17..00000000000 Binary files a/10/umbraco-commerce/media/cart_list_properties.png and /dev/null differ diff --git a/10/umbraco-commerce/media/commerce_order_details.png b/10/umbraco-commerce/media/commerce_order_details.png deleted file mode 100644 index 920ba93a382..00000000000 Binary files a/10/umbraco-commerce/media/commerce_order_details.png and /dev/null differ diff --git a/10/umbraco-commerce/media/commerce_orders_view.png b/10/umbraco-commerce/media/commerce_orders_view.png deleted file mode 100644 index 322945f12db..00000000000 Binary files a/10/umbraco-commerce/media/commerce_orders_view.png and /dev/null differ diff --git a/10/umbraco-commerce/media/commerce_section.png b/10/umbraco-commerce/media/commerce_section.png deleted file mode 100644 index 87af16e4731..00000000000 Binary files a/10/umbraco-commerce/media/commerce_section.png and /dev/null differ diff --git a/10/umbraco-commerce/media/content_store_picker.png b/10/umbraco-commerce/media/content_store_picker.png deleted file mode 100644 index 541c90e12ab..00000000000 Binary files a/10/umbraco-commerce/media/content_store_picker.png and /dev/null differ diff --git a/10/umbraco-commerce/media/create_commerce_user_group.png b/10/umbraco-commerce/media/create_commerce_user_group.png deleted file mode 100644 index 10212d25e3a..00000000000 Binary files a/10/umbraco-commerce/media/create_commerce_user_group.png and /dev/null differ diff --git a/10/umbraco-commerce/media/custom_bulk_action.png b/10/umbraco-commerce/media/custom_bulk_action.png deleted file mode 100644 index 50444a1bc40..00000000000 Binary files a/10/umbraco-commerce/media/custom_bulk_action.png and /dev/null differ diff --git a/10/umbraco-commerce/media/discount_rule_builder_label_views.png b/10/umbraco-commerce/media/discount_rule_builder_label_views.png deleted file mode 100644 index 1a24c1d0d8b..00000000000 Binary files a/10/umbraco-commerce/media/discount_rule_builder_label_views.png and /dev/null differ diff --git a/10/umbraco-commerce/media/discount_rule_ui.png b/10/umbraco-commerce/media/discount_rule_ui.png deleted file mode 100644 index b2f963b3d79..00000000000 Binary files a/10/umbraco-commerce/media/discount_rule_ui.png and /dev/null differ diff --git a/10/umbraco-commerce/media/license-dashboard.png b/10/umbraco-commerce/media/license-dashboard.png deleted file mode 100644 index 73a75fd640f..00000000000 Binary files a/10/umbraco-commerce/media/license-dashboard.png and /dev/null differ diff --git a/10/umbraco-commerce/media/ngrok (1).png b/10/umbraco-commerce/media/ngrok (1).png deleted file mode 100644 index 5b471cfbf04..00000000000 Binary files a/10/umbraco-commerce/media/ngrok (1).png and /dev/null differ diff --git a/10/umbraco-commerce/media/ngrok.png b/10/umbraco-commerce/media/ngrok.png deleted file mode 100644 index 5b471cfbf04..00000000000 Binary files a/10/umbraco-commerce/media/ngrok.png and /dev/null differ diff --git a/10/umbraco-commerce/media/nuget-packages-overview.png b/10/umbraco-commerce/media/nuget-packages-overview.png deleted file mode 100644 index 2e33be59953..00000000000 Binary files a/10/umbraco-commerce/media/nuget-packages-overview.png and /dev/null differ diff --git a/10/umbraco-commerce/media/nuget_package_manager_gui (1).png b/10/umbraco-commerce/media/nuget_package_manager_gui (1).png deleted file mode 100644 index 94498083076..00000000000 Binary files a/10/umbraco-commerce/media/nuget_package_manager_gui (1).png and /dev/null differ diff --git a/10/umbraco-commerce/media/nuget_package_manager_gui.png b/10/umbraco-commerce/media/nuget_package_manager_gui.png deleted file mode 100644 index 94498083076..00000000000 Binary files a/10/umbraco-commerce/media/nuget_package_manager_gui.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_additional_info_editor.png b/10/umbraco-commerce/media/order_additional_info_editor.png deleted file mode 100644 index aea2fe1dda7..00000000000 Binary files a/10/umbraco-commerce/media/order_additional_info_editor.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_additional_info_summary.png b/10/umbraco-commerce/media/order_additional_info_summary.png deleted file mode 100644 index eb0d12cb731..00000000000 Binary files a/10/umbraco-commerce/media/order_additional_info_summary.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_billing_address_editor.png b/10/umbraco-commerce/media/order_billing_address_editor.png deleted file mode 100644 index d9017391913..00000000000 Binary files a/10/umbraco-commerce/media/order_billing_address_editor.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_billing_address_summary.png b/10/umbraco-commerce/media/order_billing_address_summary.png deleted file mode 100644 index f83ce56884f..00000000000 Binary files a/10/umbraco-commerce/media/order_billing_address_summary.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_customer_info.png b/10/umbraco-commerce/media/order_customer_info.png deleted file mode 100644 index 39c8be42bbc..00000000000 Binary files a/10/umbraco-commerce/media/order_customer_info.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_customer_info_editor.png b/10/umbraco-commerce/media/order_customer_info_editor.png deleted file mode 100644 index 2708a23e76b..00000000000 Binary files a/10/umbraco-commerce/media/order_customer_info_editor.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_editor_config_store_setting.png b/10/umbraco-commerce/media/order_editor_config_store_setting.png deleted file mode 100644 index f188da068f1..00000000000 Binary files a/10/umbraco-commerce/media/order_editor_config_store_setting.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_line_property_editing.png b/10/umbraco-commerce/media/order_line_property_editing.png deleted file mode 100644 index 3e3bda18f61..00000000000 Binary files a/10/umbraco-commerce/media/order_line_property_editing.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_line_summary.png b/10/umbraco-commerce/media/order_line_summary.png deleted file mode 100644 index e49726ac0e1..00000000000 Binary files a/10/umbraco-commerce/media/order_line_summary.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_notes_editor.png b/10/umbraco-commerce/media/order_notes_editor.png deleted file mode 100644 index 4f2ccde87b3..00000000000 Binary files a/10/umbraco-commerce/media/order_notes_editor.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_shipping_address_editor.png b/10/umbraco-commerce/media/order_shipping_address_editor.png deleted file mode 100644 index a20110745d2..00000000000 Binary files a/10/umbraco-commerce/media/order_shipping_address_editor.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_shipping_address_editor_same_as_billing.png b/10/umbraco-commerce/media/order_shipping_address_editor_same_as_billing.png deleted file mode 100644 index f9b5713e807..00000000000 Binary files a/10/umbraco-commerce/media/order_shipping_address_editor_same_as_billing.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_shipping_address_summary.png b/10/umbraco-commerce/media/order_shipping_address_summary.png deleted file mode 100644 index 6c3761d0c3a..00000000000 Binary files a/10/umbraco-commerce/media/order_shipping_address_summary.png and /dev/null differ diff --git a/10/umbraco-commerce/media/order_shipping_address_summary_same_as_billing.png b/10/umbraco-commerce/media/order_shipping_address_summary_same_as_billing.png deleted file mode 100644 index e376b36cc89..00000000000 Binary files a/10/umbraco-commerce/media/order_shipping_address_summary_same_as_billing.png and /dev/null differ diff --git a/10/umbraco-commerce/media/package-files-list.png b/10/umbraco-commerce/media/package-files-list.png deleted file mode 100644 index 5e2ccc38e70..00000000000 Binary files a/10/umbraco-commerce/media/package-files-list.png and /dev/null differ diff --git a/10/umbraco-commerce/media/payment_provider_capture_flow.png b/10/umbraco-commerce/media/payment_provider_capture_flow.png deleted file mode 100644 index 15c5c049b91..00000000000 Binary files a/10/umbraco-commerce/media/payment_provider_capture_flow.png and /dev/null differ diff --git a/10/umbraco-commerce/media/product_property_aliases.png b/10/umbraco-commerce/media/product_property_aliases.png deleted file mode 100644 index d0b82446273..00000000000 Binary files a/10/umbraco-commerce/media/product_property_aliases.png and /dev/null differ diff --git a/10/umbraco-commerce/media/product_uniqueness_property_aliases.png b/10/umbraco-commerce/media/product_uniqueness_property_aliases.png deleted file mode 100644 index 22801c0221e..00000000000 Binary files a/10/umbraco-commerce/media/product_uniqueness_property_aliases.png and /dev/null differ diff --git a/10/umbraco-commerce/media/transaction_meta_data_dialog.png b/10/umbraco-commerce/media/transaction_meta_data_dialog.png deleted file mode 100644 index 3714fa8b778..00000000000 Binary files a/10/umbraco-commerce/media/transaction_meta_data_dialog.png and /dev/null differ diff --git a/10/umbraco-commerce/media/umbraco-commerce_settings_section_editor_view.png b/10/umbraco-commerce/media/umbraco-commerce_settings_section_editor_view.png deleted file mode 100644 index 2c4cdcf53af..00000000000 Binary files a/10/umbraco-commerce/media/umbraco-commerce_settings_section_editor_view.png and /dev/null differ diff --git a/10/umbraco-commerce/media/umbraco-commerce_settings_section_list_view.png b/10/umbraco-commerce/media/umbraco-commerce_settings_section_list_view.png deleted file mode 100644 index adcbc717d78..00000000000 Binary files a/10/umbraco-commerce/media/umbraco-commerce_settings_section_list_view.png and /dev/null differ diff --git a/10/umbraco-commerce/media/umbraco_local_package_install.png b/10/umbraco-commerce/media/umbraco_local_package_install.png deleted file mode 100644 index 0ff2b0d4e07..00000000000 Binary files a/10/umbraco-commerce/media/umbraco_local_package_install.png and /dev/null differ diff --git a/10/umbraco-commerce/media/umbraco_packages_install.png b/10/umbraco-commerce/media/umbraco_packages_install.png deleted file mode 100644 index b7955c6cc51..00000000000 Binary files a/10/umbraco-commerce/media/umbraco_packages_install.png and /dev/null differ diff --git a/10/umbraco-commerce/reference/README.md b/10/umbraco-commerce/reference/README.md deleted file mode 100644 index ccdea977083..00000000000 --- a/10/umbraco-commerce/reference/README.md +++ /dev/null @@ -1,12 +0,0 @@ -# Umbraco Commerce Reference Docs - -| Namespace | -| --- | -| [Umbraco.Commerce.Cms](umbraco-commerce-cms/README.md) | -| [Umbraco.Commerce.Cms.Startup](umbraco-commerce-cms-startup/README.md) | -| [Umbraco.Commerce.Cms.Web](umbraco-commerce-cms-web/README.md) | -| [Umbraco.Commerce.Common](umbraco-commerce-common/README.md) | -| [Umbraco.Commerce.Core](umbraco-commerce-core/README.md) | -| [Umbraco.Commerce.Infrastructure](umbraco-commerce-infrastructure/README.md) | -| [Umbraco.Commerce.Persistence-sqlite](umbraco-commerce-persistence-sqlite/README.md) | -| [Umbraco.Commerce.Persistence-sqlserver](umbraco-commerce-persistence-sqlserver/README.md) | diff --git a/10/umbraco-commerce/reference/go-behind-the-scenes.md b/10/umbraco-commerce/reference/go-behind-the-scenes.md deleted file mode 100644 index d5460b0d5fc..00000000000 --- a/10/umbraco-commerce/reference/go-behind-the-scenes.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -description: >- - Explore the core services and methods in Umbraco Commerce, used for extending - the product. ---- - -# Go behind the scenes - -{% hint style="info" %} -You can find all the reference documentation for Umbraco Commerce on GitHub. We might eventually move this to this or another site. - -[**Umbraco Commerce Reference Documentation**](https://github.com/umbraco/UmbracoDocs/tree/main/10/umbraco-commerce/reference) -{% endhint %} diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/README.md deleted file mode 100644 index 02c142d2964..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Startup -description: API reference for Umbraco.Commerce.Cms.Startup in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Startup assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Cms](umbraco-commerce-cms/README.md) | -| [Umbraco.Commerce.Cms.Composing](umbraco-commerce-cms-composing/README.md) | -| [Umbraco.Commerce.Cms.Events.Notification.Handlers](umbraco-commerce-cms-events-notification-handlers/README.md) | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-composing/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-composing/README.md deleted file mode 100644 index 1d121f2d57a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-composing/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Composing -description: API reference for Umbraco.Commerce.Cms.Composing in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Composing namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceAssemblyProvider](umbracocommerceassemblyprovider.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-composing/umbracocommerceassemblyprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-composing/umbracocommerceassemblyprovider.md deleted file mode 100644 index d1af065a390..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-composing/umbracocommerceassemblyprovider.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: UmbracoCommerceAssemblyProvider -description: API reference for UmbracoCommerceAssemblyProvider in Umbraco Commerce ---- -## UmbracoCommerceAssemblyProvider - -```csharp -public class UmbracoCommerceAssemblyProvider -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Composing](README.md) - -### Constructors - -#### UmbracoCommerceAssemblyProvider - -```csharp -public UmbracoCommerceAssemblyProvider(ILoggerFactory loggerFactory) -``` - - -### Properties - -#### Assemblies - -```csharp -public IEnumerable Assemblies { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/README.md deleted file mode 100644 index 6ec54afe721..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/README.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Events.Notification.Handlers -description: API reference for Umbraco.Commerce.Cms.Events.Notification.Handlers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Events.Notification.Handlers namespace - -| Public Type | Description | -| --- | --- | -| class [ConvertUmbracoCommerceVariantsEditorToContentApp](convertumbracocommercevariantseditortocontentapp.md) | | -| class [InjectUmbracoCommerceServerVariables](injectumbracocommerceservervariables.md) | | -| class [OptimizeUmbracoCommerceVariantsEditorExamineValues](optimizeumbracocommercevariantseditorexaminevalues.md) | | -| class [RegisterUmbracoCommerceCacheRefreshers](registerumbracocommercecacherefreshers.md) | | -| class [RunUmbracoCommerceMigrations](runumbracocommercemigrations.md) | | -| class [SynchronizeUmbracoCommerceVarientsEditorOnCopy](synchronizeumbracocommercevarientseditoroncopy.md) | | -| class [SynchronizeUmbracoCommerceVarientsEditorOnMove](synchronizeumbracocommercevarientseditoronmove.md) | | -| class [SynchronizeUmbracoCommerceVarientsEditorOnSave](synchronizeumbracocommercevarientseditoronsave.md) | | -| class [SynchronizeUmbracoStockOnSaved](synchronizeumbracostockonsaved.md) | | -| class [SynchronizeUmbracoStockOnSaving](synchronizeumbracostockonsaving.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/convertumbracocommercevariantseditortocontentapp.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/convertumbracocommercevariantseditortocontentapp.md deleted file mode 100644 index a58c5e8cf1e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/convertumbracocommercevariantseditortocontentapp.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ConvertUmbracoCommerceVariantsEditorToContentApp -description: API reference for ConvertUmbracoCommerceVariantsEditorToContentApp in Umbraco Commerce ---- -## ConvertUmbracoCommerceVariantsEditorToContentApp - -```csharp -public class ConvertUmbracoCommerceVariantsEditorToContentApp : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### ConvertUmbracoCommerceVariantsEditorToContentApp - -```csharp -public ConvertUmbracoCommerceVariantsEditorToContentApp( - UmbracoCommerceVariantsPropertyEditorToContentAppConverter converter) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(SendingContentNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/injectumbracocommerceservervariables.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/injectumbracocommerceservervariables.md deleted file mode 100644 index 315218e96f9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/injectumbracocommerceservervariables.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: InjectUmbracoCommerceServerVariables -description: API reference for InjectUmbracoCommerceServerVariables in Umbraco Commerce ---- -## InjectUmbracoCommerceServerVariables - -```csharp -public class InjectUmbracoCommerceServerVariables : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### InjectUmbracoCommerceServerVariables - -```csharp -public InjectUmbracoCommerceServerVariables( - UmbracoCommerceServerVariablesInjector serverVariablesInjector) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(ServerVariablesParsingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/optimizeumbracocommercevariantseditorexaminevalues.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/optimizeumbracocommercevariantseditorexaminevalues.md deleted file mode 100644 index f52eec927a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/optimizeumbracocommercevariantseditorexaminevalues.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: OptimizeUmbracoCommerceVariantsEditorExamineValues -description: API reference for OptimizeUmbracoCommerceVariantsEditorExamineValues in Umbraco Commerce ---- -## OptimizeUmbracoCommerceVariantsEditorExamineValues - -```csharp -public class OptimizeUmbracoCommerceVariantsEditorExamineValues : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### OptimizeUmbracoCommerceVariantsEditorExamineValues - -```csharp -public OptimizeUmbracoCommerceVariantsEditorExamineValues(IExamineManager examineManager, - UmbracoCommerceVariantsEditorExamineValueOptimizer optimizer) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(UmbracoApplicationStartingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/registerumbracocommercecacherefreshers.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/registerumbracocommercecacherefreshers.md deleted file mode 100644 index c4de80261cf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/registerumbracocommercecacherefreshers.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: RegisterUmbracoCommerceCacheRefreshers -description: API reference for RegisterUmbracoCommerceCacheRefreshers in Umbraco Commerce ---- -## RegisterUmbracoCommerceCacheRefreshers - -```csharp -public class RegisterUmbracoCommerceCacheRefreshers : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### RegisterUmbracoCommerceCacheRefreshers - -```csharp -public RegisterUmbracoCommerceCacheRefreshers(UmbracoCommerceCacheRefresherRegistrar registrar) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(UmbracoApplicationStartingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/runumbracocommercemigrations.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/runumbracocommercemigrations.md deleted file mode 100644 index 8201cb8978d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/runumbracocommercemigrations.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: RunUmbracoCommerceMigrations -description: API reference for RunUmbracoCommerceMigrations in Umbraco Commerce ---- -## RunUmbracoCommerceMigrations - -```csharp -public class RunUmbracoCommerceMigrations : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### RunUmbracoCommerceMigrations - -```csharp -public RunUmbracoCommerceMigrations(IRuntimeState runtimeState, - IUmbracoCommerceMigrationsRunner migrationRunner) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(UmbracoApplicationStartingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoroncopy.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoroncopy.md deleted file mode 100644 index 357c85123e2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoroncopy.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: SynchronizeUmbracoCommerceVarientsEditorOnCopy -description: API reference for SynchronizeUmbracoCommerceVarientsEditorOnCopy in Umbraco Commerce ---- -## SynchronizeUmbracoCommerceVarientsEditorOnCopy - -```csharp -public class SynchronizeUmbracoCommerceVarientsEditorOnCopy : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### SynchronizeUmbracoCommerceVarientsEditorOnCopy - -```csharp -public SynchronizeUmbracoCommerceVarientsEditorOnCopy(VariantsEditorSynchronizer sync) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(ContentCopyingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoronmove.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoronmove.md deleted file mode 100644 index 78cc4b1d643..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoronmove.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: SynchronizeUmbracoCommerceVarientsEditorOnMove -description: API reference for SynchronizeUmbracoCommerceVarientsEditorOnMove in Umbraco Commerce ---- -## SynchronizeUmbracoCommerceVarientsEditorOnMove - -```csharp -public class SynchronizeUmbracoCommerceVarientsEditorOnMove : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### SynchronizeUmbracoCommerceVarientsEditorOnMove - -```csharp -public SynchronizeUmbracoCommerceVarientsEditorOnMove(VariantsEditorSynchronizer sync) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(ContentMovingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoronsave.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoronsave.md deleted file mode 100644 index e6cd3bcc537..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracocommercevarientseditoronsave.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: SynchronizeUmbracoCommerceVarientsEditorOnSave -description: API reference for SynchronizeUmbracoCommerceVarientsEditorOnSave in Umbraco Commerce ---- -## SynchronizeUmbracoCommerceVarientsEditorOnSave - -```csharp -public class SynchronizeUmbracoCommerceVarientsEditorOnSave : - INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### SynchronizeUmbracoCommerceVarientsEditorOnSave - -```csharp -public SynchronizeUmbracoCommerceVarientsEditorOnSave(VariantsEditorSynchronizer sync) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(ContentSavingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracostockonsaved.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracostockonsaved.md deleted file mode 100644 index 8fa5bcdf5ee..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracostockonsaved.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: SynchronizeUmbracoStockOnSaved -description: API reference for SynchronizeUmbracoStockOnSaved in Umbraco Commerce ---- -## SynchronizeUmbracoStockOnSaved - -```csharp -public class SynchronizeUmbracoStockOnSaved : INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### SynchronizeUmbracoStockOnSaved - -```csharp -public SynchronizeUmbracoStockOnSaved(IContentService contentService, UmbracoStockSynchronizer sync) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(ContentSavedNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracostockonsaving.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracostockonsaving.md deleted file mode 100644 index 5c84183836a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms-events-notification-handlers/synchronizeumbracostockonsaving.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: SynchronizeUmbracoStockOnSaving -description: API reference for SynchronizeUmbracoStockOnSaving in Umbraco Commerce ---- -## SynchronizeUmbracoStockOnSaving - -```csharp -public class SynchronizeUmbracoStockOnSaving : INotificationHandler -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification.Handlers](README.md) - -### Constructors - -#### SynchronizeUmbracoStockOnSaving - -```csharp -public SynchronizeUmbracoStockOnSaving(UmbracoStockSynchronizer sync) -``` - - -### Methods - -#### Handle - -```csharp -public void Handle(ContentSavingNotification notification) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/README.md deleted file mode 100644 index 137d6984c98..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Cms -description: API reference for Umbraco.Commerce.Cms in Umbraco Commerce ---- -## Umbraco.Commerce.Cms namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceComponent](umbracocommercecomponent.md) | | -| class [UmbracoCommerceComposer](umbracocommercecomposer.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/umbracocommercecomponent.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/umbracocommercecomponent.md deleted file mode 100644 index 404d2f69c48..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/umbracocommercecomponent.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: UmbracoCommerceComponent -description: API reference for UmbracoCommerceComponent in Umbraco Commerce ---- -## UmbracoCommerceComponent - -```csharp -public class UmbracoCommerceComponent : IComponent -``` - -**Namespace** -* [Umbraco.Commerce.Cms](README.md) - -### Constructors - -#### UmbracoCommerceComponent - -```csharp -public UmbracoCommerceComponent(IFactory factory) -``` - - -### Methods - -#### Initialize - -```csharp -public void Initialize() -``` - - ---- - -#### Terminate - -```csharp -public void Terminate() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/umbracocommercecomposer.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/umbracocommercecomposer.md deleted file mode 100644 index 7ddf63a01cb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-cms/umbracocommercecomposer.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceComposer -description: API reference for UmbracoCommerceComposer in Umbraco Commerce ---- -## UmbracoCommerceComposer - -```csharp -public class UmbracoCommerceComposer : IComposer -``` - -**Namespace** -* [Umbraco.Commerce.Cms](README.md) - -### Constructors - -#### UmbracoCommerceComposer - -The default constructor. - -```csharp -public UmbracoCommerceComposer() -``` - - -### Methods - -#### Compose - -```csharp -public void Compose(IUmbracoBuilder builder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/README.md deleted file mode 100644 index 06e537381af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [CompositionExtensions](compositionextensions.md) | | -| static class [UmbracoCommerceUmbracoBuilderExtensions](umbracocommerceumbracobuilderextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/compositionextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/compositionextensions.md deleted file mode 100644 index beb138dbb77..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/compositionextensions.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: CompositionExtensions -description: API reference for CompositionExtensions in Umbraco Commerce ---- -## CompositionExtensions - -```csharp -public static class CompositionExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/umbracocommerceumbracobuilderextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/umbracocommerceumbracobuilderextensions.md deleted file mode 100644 index 6afc3edd828..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-startup/umbraco-commerce-extensions/umbracocommerceumbracobuilderextensions.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: UmbracoCommerceUmbracoBuilderExtensions -description: API reference for UmbracoCommerceUmbracoBuilderExtensions in Umbraco Commerce ---- -## UmbracoCommerceUmbracoBuilderExtensions - -```csharp -public static class UmbracoCommerceUmbracoBuilderExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### AddUmbracoCommerce - -```csharp -public static IUmbracoBuilder AddUmbracoCommerce(this IUmbracoBuilder builder, - Action config = null, - Action defaultOptions = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/README.md deleted file mode 100644 index 1c5c1e8c4bc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/README.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web -description: API reference for Umbraco.Commerce.Cms.Web in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Cms.Web](umbraco-commerce-cms-web/README.md) | -| [Umbraco.Commerce.Cms.Web.ActionResults](umbraco-commerce-cms-web-actionresults/README.md) | -| [Umbraco.Commerce.Cms.Web.ContentEditing](umbraco-commerce-cms-web-contentediting/README.md) | -| [Umbraco.Commerce.Cms.Web.Controllers](umbraco-commerce-cms-web-controllers/README.md) | -| [Umbraco.Commerce.Cms.Web.Events.Notification](umbraco-commerce-cms-web-events-notification/README.md) | -| [Umbraco.Commerce.Cms.Web.Filters](umbraco-commerce-cms-web-filters/README.md) | -| [Umbraco.Commerce.Cms.Web.IO](umbraco-commerce-cms-web-io/README.md) | -| [Umbraco.Commerce.Cms.Web.Models](umbraco-commerce-cms-web-models/README.md) | -| [Umbraco.Commerce.Cms.Web.Models.Mappers](umbraco-commerce-cms-web-models-mappers/README.md) | -| [Umbraco.Commerce.Cms.Web.Models.Reporting](umbraco-commerce-cms-web-models-reporting/README.md) | -| [Umbraco.Commerce.Cms.Web.Mvc](umbraco-commerce-cms-web-mvc/README.md) | -| [Umbraco.Commerce.Cms.Web.Routing](umbraco-commerce-cms-web-routing/README.md) | -| [Umbraco.Commerce.Cms.Web.Sections](umbraco-commerce-cms-web-sections/README.md) | -| [Umbraco.Commerce.Cms.Web.Trees](umbraco-commerce-cms-web-trees/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-actionresults/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-actionresults/README.md deleted file mode 100644 index f2f2ea8b43e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-actionresults/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.ActionResults -description: API reference for Umbraco.Commerce.Cms.Web.ActionResults in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.ActionResults namespace - -| Public Type | Description | -| --- | --- | -| class [ValidationErrorResult](validationerrorresult.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-actionresults/validationerrorresult.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-actionresults/validationerrorresult.md deleted file mode 100644 index a7823a73551..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-actionresults/validationerrorresult.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: ValidationErrorResult -description: API reference for ValidationErrorResult in Umbraco Commerce ---- -## ValidationErrorResult - -```csharp -public class ValidationErrorResult : ObjectResult -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.ActionResults](README.md) - -### Constructors - -#### ValidationErrorResult (1 of 2) - -```csharp -public ValidationErrorResult(HttpRequest request, object value) -``` - ---- - -#### ValidationErrorResult (2 of 2) - -```csharp -public ValidationErrorResult(HttpRequest request, string errorMessage) -``` - - -### Methods - -#### OnFormatting - -```csharp -public override void OnFormatting(ActionContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-contentediting/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-contentediting/README.md deleted file mode 100644 index 4d41b34a41d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-contentediting/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.ContentEditing -description: API reference for Umbraco.Commerce.Cms.Web.ContentEditing in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.ContentEditing namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceVariantsPropertyEditorToContentAppConverter](umbracocommercevariantspropertyeditortocontentappconverter.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-contentediting/umbracocommercevariantspropertyeditortocontentappconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-contentediting/umbracocommercevariantspropertyeditortocontentappconverter.md deleted file mode 100644 index b5b9586e881..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-contentediting/umbracocommercevariantspropertyeditortocontentappconverter.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceVariantsPropertyEditorToContentAppConverter -description: API reference for UmbracoCommerceVariantsPropertyEditorToContentAppConverter in Umbraco Commerce ---- -## UmbracoCommerceVariantsPropertyEditorToContentAppConverter - -```csharp -public class UmbracoCommerceVariantsPropertyEditorToContentAppConverter -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.ContentEditing](README.md) - -### Constructors - -#### UmbracoCommerceVariantsPropertyEditorToContentAppConverter - -The default constructor. - -```csharp -public UmbracoCommerceVariantsPropertyEditorToContentAppConverter() -``` - - -### Methods - -#### Convert - -```csharp -public void Convert(ContentItemDisplay model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/README.md deleted file mode 100644 index 3e072eeba82..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/README.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Controllers -description: API reference for Umbraco.Commerce.Cms.Web.Controllers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Controllers namespace - -| Public Type | Description | -| --- | --- | -| class [DictionarySearchDto](dictionarysearchdto.md) | | -| class [UmbracoCommerceActivityLogController](umbracocommerceactivitylogcontroller.md) | | -| class [UmbracoCommerceAnalyticsController](umbracocommerceanalyticscontroller.md) | | -| abstract class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) | | -| class [UmbracoCommerceCartController](umbracocommercecartcontroller.md) | | -| class [UmbracoCommerceCountryController](umbracocommercecountrycontroller.md) | | -| class [UmbracoCommerceCultureController](umbracocommerceculturecontroller.md) | | -| class [UmbracoCommerceCurrencyController](umbracocommercecurrencycontroller.md) | | -| class [UmbracoCommerceDictionaryController](umbracocommercedictionarycontroller.md) | | -| class [UmbracoCommerceDiscountController](umbracocommercediscountcontroller.md) | | -| class [UmbracoCommerceEmailController](umbracocommerceemailcontroller.md) | | -| class [UmbracoCommerceEmailTemplateController](umbracocommerceemailtemplatecontroller.md) | | -| class [UmbracoCommerceEntityController](umbracocommerceentitycontroller.md) | | -| class [UmbracoCommerceExportController](umbracocommerceexportcontroller.md) | | -| class [UmbracoCommerceExportTemplateController](umbracocommerceexporttemplatecontroller.md) | | -| class [UmbracoCommerceGiftCardController](umbracocommercegiftcardcontroller.md) | | -| class [UmbracoCommerceOrderController](umbracocommerceordercontroller.md) | | -| abstract class [UmbracoCommerceOrderControllerBase](umbracocommerceordercontrollerbase.md) | | -| class [UmbracoCommerceOrderStatusController](umbracocommerceorderstatuscontroller.md) | | -| class [UmbracoCommercePaymentController](umbracocommercepaymentcontroller.md) | | -| class [UmbracoCommercePaymentMethodController](umbracocommercepaymentmethodcontroller.md) | | -| class [UmbracoCommercePrintController](umbracocommerceprintcontroller.md) | | -| class [UmbracoCommercePrintTemplateController](umbracocommerceprinttemplatecontroller.md) | | -| class [UmbracoCommerceProductAttributeController](umbracocommerceproductattributecontroller.md) | | -| class [UmbracoCommerceProductController](umbracocommerceproductcontroller.md) | | -| class [UmbracoCommerceShippingMethodController](umbracocommerceshippingmethodcontroller.md) | | -| class [UmbracoCommerceStoreController](umbracocommercestorecontroller.md) | | -| class [UmbracoCommerceTagController](umbracocommercetagcontroller.md) | | -| class [UmbracoCommerceTaxController](umbracocommercetaxcontroller.md) | | -| class [UmbracoCommerceUtilsController](umbracocommerceutilscontroller.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/dictionarysearchdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/dictionarysearchdto.md deleted file mode 100644 index 5579b6fb216..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/dictionarysearchdto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: DictionarySearchDto -description: API reference for DictionarySearchDto in Umbraco Commerce ---- -## DictionarySearchDto - -```csharp -public class DictionarySearchDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### DictionarySearchDto - -The default constructor. - -```csharp -public DictionarySearchDto() -``` - - -### Properties - -#### MaxItems - -```csharp -public int MaxItems { get; set; } -``` - - ---- - -#### ParentKey - -```csharp -public string ParentKey { get; set; } -``` - - ---- - -#### SearchKey - -```csharp -public string SearchKey { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceactivitylogcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceactivitylogcontroller.md deleted file mode 100644 index e90f983f16a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceactivitylogcontroller.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: UmbracoCommerceActivityLogController -description: API reference for UmbracoCommerceActivityLogController in Umbraco Commerce ---- -## UmbracoCommerceActivityLogController - -```csharp -public class UmbracoCommerceActivityLogController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceActivityLogController - -```csharp -public UmbracoCommerceActivityLogController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx, IUserHelper userHelper) -``` - - -### Methods - -#### GetActivityLogs - -```csharp -public IActionResult GetActivityLogs(Guid storeId, long currentPage = 1, long itemsPerPage = 10) -``` - - ---- - -#### GetActivityLogsByEntity - -```csharp -public IActionResult GetActivityLogsByEntity(Guid entityId, string entityType, - long currentPage = 1, long itemsPerPage = 10) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceanalyticscontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceanalyticscontroller.md deleted file mode 100644 index eed1f9d0877..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceanalyticscontroller.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: UmbracoCommerceAnalyticsController -description: API reference for UmbracoCommerceAnalyticsController in Umbraco Commerce ---- -## UmbracoCommerceAnalyticsController - -```csharp -public class UmbracoCommerceAnalyticsController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceAnalyticsController - -```csharp -public UmbracoCommerceAnalyticsController( - IUmbracoCommerceConfigFileProviderFactory umbracoCommerceConfigFileProviderFactory, - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### GetAnalyticsDashboardConfig - -```csharp -public IActionResult GetAnalyticsDashboardConfig(Guid storeId) -``` - - ---- - -#### GetAverageOrderValueReport - -```csharp -public IActionResult GetAverageOrderValueReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), - int localTimezoneOffset = 0) -``` - - ---- - -#### GetCartConversionRatesReport - -```csharp -public IActionResult GetCartConversionRatesReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), - int localTimezoneOffset = 0) -``` - - ---- - -#### GetRepeatCustomerRatesReport - -```csharp -public IActionResult GetRepeatCustomerRatesReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), - int localTimezoneOffset = 0) -``` - - ---- - -#### GetTopSellingProductsReport - -```csharp -public IActionResult GetTopSellingProductsReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), - int localTimezoneOffset = 0) -``` - - ---- - -#### GetTotalOrdersReport - -```csharp -public IActionResult GetTotalOrdersReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), - int localTimezoneOffset = 0) -``` - - ---- - -#### GetTotalRevenueReport - -```csharp -public IActionResult GetTotalRevenueReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom = default(DateTime?), DateTime? compareTo = default(DateTime?), - int localTimezoneOffset = 0) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceauthorizedjsoncontrollerbase.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceauthorizedjsoncontrollerbase.md deleted file mode 100644 index ef7f3fafca2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceauthorizedjsoncontrollerbase.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: UmbracoCommerceAuthorizedJsonControllerBase -description: API reference for UmbracoCommerceAuthorizedJsonControllerBase in Umbraco Commerce ---- -## UmbracoCommerceAuthorizedJsonControllerBase - -```csharp -public abstract class UmbracoCommerceAuthorizedJsonControllerBase : UmbracoAuthorizedJsonController -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Methods - -#### Dummy - -```csharp -public bool Dummy() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecartcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecartcontroller.md deleted file mode 100644 index 5e0b47ae256..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecartcontroller.md +++ /dev/null @@ -1,120 +0,0 @@ ---- -title: UmbracoCommerceCartController -description: API reference for UmbracoCommerceCartController in Umbraco Commerce ---- -## UmbracoCommerceCartController - -```csharp -public class UmbracoCommerceCartController : UmbracoCommerceOrderControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceOrderControllerBase](umbracocommerceordercontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceCartController - -```csharp -public UmbracoCommerceCartController( - IUmbracoCommerceConfigFileProviderFactory commerceConfigFileProviderFactory, - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx, - CartAdvancedFilterCollection advancedFilters) -``` - - -### Methods - -#### CalculateCart - -```csharp -public IActionResult CalculateCart(CartSaveDto cart) -``` - - ---- - -#### CreateCart - -```csharp -public IActionResult CreateCart(Guid storeId, string languageIsoCode, Guid currencyId) -``` - - ---- - -#### DeleteCart - -```csharp -public IActionResult DeleteCart(Guid cartId) -``` - - ---- - -#### GetCart - -```csharp -public IActionResult GetCart(Guid cartId) -``` - - ---- - -#### GetCartAdvancedFilters - -```csharp -public IActionResult GetCartAdvancedFilters() -``` - - ---- - -#### GetCartEditorConfig - -```csharp -public IActionResult GetCartEditorConfig(Guid storeId) -``` - - ---- - -#### GetCartEmailConfig - -```csharp -public IActionResult GetCartEmailConfig(Guid cartId) -``` - - ---- - -#### GetCartListConfig - -```csharp -public IActionResult GetCartListConfig(Guid storeId) -``` - - ---- - -#### SaveCart - -```csharp -public IActionResult SaveCart(CartSaveDto cart) -``` - - ---- - -#### SearchCarts - -```csharp -public IActionResult SearchCarts(CartSearchDto model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecountrycontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecountrycontroller.md deleted file mode 100644 index 613e935cf65..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecountrycontroller.md +++ /dev/null @@ -1,145 +0,0 @@ ---- -title: UmbracoCommerceCountryController -description: API reference for UmbracoCommerceCountryController in Umbraco Commerce ---- -## UmbracoCommerceCountryController - -```csharp -public class UmbracoCommerceCountryController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceCountryController - -```csharp -public UmbracoCommerceCountryController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateAllCountryRegions - -```csharp -public IActionResult CreateAllCountryRegions(Guid storeId, Guid defaultCurrencyId) -``` - - ---- - -#### CreateCountry - -```csharp -public IActionResult CreateCountry(Guid storeId) -``` - - ---- - -#### CreateRegion - -```csharp -public IActionResult CreateRegion(Guid storeId, Guid countryId) -``` - - ---- - -#### DeleteCountry - -```csharp -public IActionResult DeleteCountry(Guid countryId) -``` - - ---- - -#### DeleteRegion - -```csharp -public IActionResult DeleteRegion(Guid regionId) -``` - - ---- - -#### GetCountries - -```csharp -public IActionResult GetCountries(Guid storeId) -``` - - ---- - -#### GetCountriesWithRegions - -```csharp -public IActionResult GetCountriesWithRegions(Guid storeId) -``` - - ---- - -#### GetCountry - -```csharp -public IActionResult GetCountry(Guid countryId) -``` - - ---- - -#### GetIso3166CountryRegions - -```csharp -public IActionResult GetIso3166CountryRegions() -``` - - ---- - -#### GetRegion - -```csharp -public IActionResult GetRegion(Guid regionId) -``` - - ---- - -#### GetRegions - -```csharp -public IActionResult GetRegions(Guid storeId, Guid? countryId) -``` - - ---- - -#### SaveCountry - -```csharp -public IActionResult SaveCountry(CountrySaveDto country) -``` - - ---- - -#### SaveRegion - -```csharp -public IActionResult SaveRegion(RegionSaveDto region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceculturecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceculturecontroller.md deleted file mode 100644 index 721df47f373..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceculturecontroller.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: UmbracoCommerceCultureController -description: API reference for UmbracoCommerceCultureController in Umbraco Commerce ---- -## UmbracoCommerceCultureController - -```csharp -public class UmbracoCommerceCultureController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceCultureController - -```csharp -public UmbracoCommerceCultureController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### GetCultures - -```csharp -public IActionResult GetCultures() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecurrencycontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecurrencycontroller.md deleted file mode 100644 index 8725d6542d9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercecurrencycontroller.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: UmbracoCommerceCurrencyController -description: API reference for UmbracoCommerceCurrencyController in Umbraco Commerce ---- -## UmbracoCommerceCurrencyController - -```csharp -public class UmbracoCommerceCurrencyController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceCurrencyController - -```csharp -public UmbracoCommerceCurrencyController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateCurrency - -```csharp -public IActionResult CreateCurrency(Guid storeId) -``` - - ---- - -#### DeleteCurrency - -```csharp -public IActionResult DeleteCurrency(Guid currencyId) -``` - - ---- - -#### GetCurrencies - -```csharp -public IActionResult GetCurrencies(Guid storeId) -``` - - ---- - -#### GetCurrency - -```csharp -public IActionResult GetCurrency(Guid currencyId) -``` - - ---- - -#### SaveCurrency - -```csharp -public IActionResult SaveCurrency(CurrencySaveDto currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercedictionarycontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercedictionarycontroller.md deleted file mode 100644 index 53fee66e13f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercedictionarycontroller.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: UmbracoCommerceDictionaryController -description: API reference for UmbracoCommerceDictionaryController in Umbraco Commerce ---- -## UmbracoCommerceDictionaryController - -```csharp -public class UmbracoCommerceDictionaryController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceDictionaryController - -```csharp -public UmbracoCommerceDictionaryController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - ILocalizationService localizationService, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateDictionaryItem - -```csharp -public IActionResult CreateDictionaryItem(int parentId, string key) -``` - - ---- - -#### EnsureRootDictionaryItem - -```csharp -public IActionResult EnsureRootDictionaryItem(string key) -``` - - ---- - -#### GetDictionaryItemById - -```csharp -public IActionResult GetDictionaryItemById(int id) -``` - - ---- - -#### GetDictionaryItemByKey - -```csharp -public IActionResult GetDictionaryItemByKey(string key) -``` - - ---- - -#### SaveDictionaryItem - -```csharp -public IActionResult SaveDictionaryItem(DictionarySave dictionary) -``` - - ---- - -#### SearchKeys - -```csharp -public IActionResult SearchKeys(DictionarySearchDto model) -``` - - ---- - -#### TryGetDictionaryItemIdByKey - -```csharp -public IActionResult TryGetDictionaryItemIdByKey(string key) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercediscountcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercediscountcontroller.md deleted file mode 100644 index 3b1bccb6edb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercediscountcontroller.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: UmbracoCommerceDiscountController -description: API reference for UmbracoCommerceDiscountController in Umbraco Commerce ---- -## UmbracoCommerceDiscountController - -```csharp -public class UmbracoCommerceDiscountController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceDiscountController - -```csharp -public UmbracoCommerceDiscountController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateDiscount - -```csharp -public IActionResult CreateDiscount(Guid storeId) -``` - - ---- - -#### DeleteDiscount - -```csharp -public IActionResult DeleteDiscount(Guid discountId) -``` - - ---- - -#### GetDiscount - -```csharp -public IActionResult GetDiscount(Guid discountId) -``` - - ---- - -#### GetDiscountRewardProviderDefinitions - -```csharp -public IActionResult GetDiscountRewardProviderDefinitions() -``` - - ---- - -#### GetDiscountRewardProviderScaffold - -```csharp -public IActionResult GetDiscountRewardProviderScaffold(string discountRewardProviderAlias) -``` - - ---- - -#### GetDiscountRuleProviderDefinitions - -```csharp -public IActionResult GetDiscountRuleProviderDefinitions() -``` - - ---- - -#### GetDiscountRuleProviderScaffold - -```csharp -public IActionResult GetDiscountRuleProviderScaffold(string discountRuleProviderAlias) -``` - - ---- - -#### GetDiscounts - -```csharp -public IActionResult GetDiscounts(Guid storeId) -``` - - ---- - -#### SaveDiscount - -```csharp -public IActionResult SaveDiscount(DiscountSaveDto discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceemailcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceemailcontroller.md deleted file mode 100644 index b85100e6c14..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceemailcontroller.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: UmbracoCommerceEmailController -description: API reference for UmbracoCommerceEmailController in Umbraco Commerce ---- -## UmbracoCommerceEmailController - -```csharp -public class UmbracoCommerceEmailController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceEmailController - -```csharp -public UmbracoCommerceEmailController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### SendDiscountEmail - -```csharp -public IActionResult SendDiscountEmail(SendDiscountEmailDto dto) -``` - - ---- - -#### SendGiftCardEmail - -```csharp -public IActionResult SendGiftCardEmail(SendGiftCardEmailDto dto) -``` - - ---- - -#### SendOrderEmail - -```csharp -public IActionResult SendOrderEmail(SendOrderEmailDto dto) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceemailtemplatecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceemailtemplatecontroller.md deleted file mode 100644 index 0441cdb26f7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceemailtemplatecontroller.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: UmbracoCommerceEmailTemplateController -description: API reference for UmbracoCommerceEmailTemplateController in Umbraco Commerce ---- -## UmbracoCommerceEmailTemplateController - -```csharp -public class UmbracoCommerceEmailTemplateController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceEmailTemplateController - -```csharp -public UmbracoCommerceEmailTemplateController( - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateEmailTemplate - -```csharp -public IActionResult CreateEmailTemplate(Guid storeId) -``` - - ---- - -#### DeleteEmailTemplate - -```csharp -public IActionResult DeleteEmailTemplate(Guid emailTemplateId) -``` - - ---- - -#### GetEmailTemplate - -```csharp -public IActionResult GetEmailTemplate(Guid emailTemplateId) -``` - - ---- - -#### GetEmailTemplateCount - -```csharp -public IActionResult GetEmailTemplateCount(Guid storeId, TemplateCategory? category = null) -``` - - ---- - -#### GetEmailTemplates - -```csharp -public IActionResult GetEmailTemplates(Guid storeId, TemplateCategory? category = null) -``` - - ---- - -#### SaveEmailTemplate - -```csharp -public IActionResult SaveEmailTemplate(EmailTemplateSaveDto emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceentitycontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceentitycontroller.md deleted file mode 100644 index 1a413e8f226..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceentitycontroller.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: UmbracoCommerceEntityController -description: API reference for UmbracoCommerceEntityController in Umbraco Commerce ---- -## UmbracoCommerceEntityController - -```csharp -public class UmbracoCommerceEntityController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceEntityController - -```csharp -public UmbracoCommerceEntityController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### DeleteEntity - -```csharp -public IActionResult DeleteEntity(string entityType, Guid entityId) -``` - - ---- - -#### GetEntities - -```csharp -public IActionResult GetEntities(string entityType, Guid? storeId = default(Guid?), - Guid? parentId = default(Guid?)) -``` - - ---- - -#### GetEntity - -```csharp -public IActionResult GetEntity(string entityType, Guid entityId) -``` - - ---- - -#### GetStoreByEntityId - -```csharp -public IActionResult GetStoreByEntityId(string entityType, Guid entityId) -``` - - ---- - -#### SortEntities - -```csharp -public IActionResult SortEntities(SortEntitiesPostDto model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceexportcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceexportcontroller.md deleted file mode 100644 index 83966f129f1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceexportcontroller.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -title: UmbracoCommerceExportController -description: API reference for UmbracoCommerceExportController in Umbraco Commerce ---- -## UmbracoCommerceExportController - -```csharp -public class UmbracoCommerceExportController : UmbracoController -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceExportController - -```csharp -public UmbracoCommerceExportController(UmbracoCommerceContext ctx, ITemplateEngine templateEngine) -``` - - -### Methods - -#### Export - -```csharp -public ActionResult Export(ExportPostModel model) -``` - - -### Classes - -#### UmbracoCommerceExportController.ExportPostModel - -```csharp -public class ExportPostModel -``` - -##### Constructors - -#### UmbracoCommerceExportController.ExportPostModel - -The default constructor. - -```csharp -public ExportPostModel() -``` - - -##### Properties - -#### EntityIds - -```csharp -public Guid[] EntityIds { get; set; } -``` - - ---- - -#### EntityType - -```csharp -public string EntityType { get; set; } -``` - - ---- - -#### LanguageIsoCode - -```csharp -public string LanguageIsoCode { get; set; } -``` - - ---- - -#### TemplateIds - -```csharp -public Guid[] TemplateIds { get; set; } -``` - - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceexporttemplatecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceexporttemplatecontroller.md deleted file mode 100644 index 52dc0b912ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceexporttemplatecontroller.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: UmbracoCommerceExportTemplateController -description: API reference for UmbracoCommerceExportTemplateController in Umbraco Commerce ---- -## UmbracoCommerceExportTemplateController - -```csharp -public class UmbracoCommerceExportTemplateController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceExportTemplateController - -```csharp -public UmbracoCommerceExportTemplateController( - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateExportTemplate - -```csharp -public IActionResult CreateExportTemplate(Guid storeId) -``` - - ---- - -#### DeleteExportTemplate - -```csharp -public IActionResult DeleteExportTemplate(Guid exportTemplateId) -``` - - ---- - -#### GetExportTemplate - -```csharp -public IActionResult GetExportTemplate(Guid exportTemplateId) -``` - - ---- - -#### GetExportTemplateCount - -```csharp -public IActionResult GetExportTemplateCount(Guid storeId, TemplateCategory? category = null) -``` - - ---- - -#### GetExportTemplates - -```csharp -public IActionResult GetExportTemplates(Guid storeId, TemplateCategory? category = null) -``` - - ---- - -#### SaveExportTemplate - -```csharp -public IActionResult SaveExportTemplate(ExportTemplateSaveDto exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercegiftcardcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercegiftcardcontroller.md deleted file mode 100644 index cf917feed53..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercegiftcardcontroller.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: UmbracoCommerceGiftCardController -description: API reference for UmbracoCommerceGiftCardController in Umbraco Commerce ---- -## UmbracoCommerceGiftCardController - -```csharp -public class UmbracoCommerceGiftCardController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceGiftCardController - -```csharp -public UmbracoCommerceGiftCardController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateGiftCard - -```csharp -public IActionResult CreateGiftCard(Guid storeId) -``` - - ---- - -#### DeleteGiftCard - -```csharp -public IActionResult DeleteGiftCard(Guid giftCardId) -``` - - ---- - -#### GenerateGiftCardCode - -```csharp -public IActionResult GenerateGiftCardCode(Guid storeId) -``` - - ---- - -#### GetGiftCard - -```csharp -public IActionResult GetGiftCard(Guid giftCardId) -``` - - ---- - -#### GetGiftCards - -```csharp -public IActionResult GetGiftCards(Guid storeId) -``` - - ---- - -#### SaveGiftCard - -```csharp -public IActionResult SaveGiftCard(GiftCardSaveDto giftCard) -``` - - ---- - -#### SearchGiftCards - -```csharp -public IActionResult SearchGiftCards(GiftCardSearchDto model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceordercontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceordercontroller.md deleted file mode 100644 index 3aa0aef8d3e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceordercontroller.md +++ /dev/null @@ -1,174 +0,0 @@ ---- -title: UmbracoCommerceOrderController -description: API reference for UmbracoCommerceOrderController in Umbraco Commerce ---- -## UmbracoCommerceOrderController - -```csharp -public class UmbracoCommerceOrderController : UmbracoCommerceOrderControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceOrderControllerBase](umbracocommerceordercontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceOrderController - -```csharp -public UmbracoCommerceOrderController( - IUmbracoCommerceConfigFileProviderFactory commerceConfigFileProviderFactory, - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx, - OrderAdvancedFilterCollection advancedFilters) -``` - - -### Methods - -#### CancelPayment - -```csharp -public Task CancelPayment(Guid orderId, CancellationToken cancellationToken) -``` - - ---- - -#### CapturePayment - -```csharp -public Task CapturePayment(Guid orderId, CancellationToken cancellationToken) -``` - - ---- - -#### ChangeOrderStatus - -```csharp -public IActionResult ChangeOrderStatus(Guid orderId, Guid orderStatusId) -``` - - ---- - -#### DeleteOrder - -```csharp -public IActionResult DeleteOrder(Guid orderId) -``` - - ---- - -#### GetOrder - -```csharp -public IActionResult GetOrder(Guid orderId) -``` - - ---- - -#### GetOrderAdvancedFilters - -```csharp -public IActionResult GetOrderAdvancedFilters() -``` - - ---- - -#### GetOrderEditorConfig - -```csharp -public IActionResult GetOrderEditorConfig(Guid storeId) -``` - - ---- - -#### GetOrderEmailConfig - -```csharp -public IActionResult GetOrderEmailConfig(Guid orderId) -``` - - ---- - -#### GetOrderHistoryByOrder - -```csharp -public IActionResult GetOrderHistoryByOrder(Guid orderId) -``` - - ---- - -#### GetOrderListConfig - -```csharp -public IActionResult GetOrderListConfig(Guid storeId) -``` - - ---- - -#### GetOrderRegisteredCustomerInfo - -```csharp -public IActionResult GetOrderRegisteredCustomerInfo(Guid orderId) -``` - - ---- - -#### GetOrderTransactionInfo - -```csharp -public IActionResult GetOrderTransactionInfo(Guid orderId) -``` - - ---- - -#### RefundPayment - -```csharp -public Task RefundPayment(Guid orderId, CancellationToken cancellationToken) -``` - - ---- - -#### SaveOrder - -```csharp -public IActionResult SaveOrder(OrderSaveDto order) -``` - - ---- - -#### SearchOrders - -```csharp -public IActionResult SearchOrders(OrderSearchDto model) -``` - - ---- - -#### SyncPaymentStatus - -```csharp -public Task SyncPaymentStatus(Guid orderId, CancellationToken cancellationToken) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceordercontrollerbase.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceordercontrollerbase.md deleted file mode 100644 index c4ad8bc46e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceordercontrollerbase.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: UmbracoCommerceOrderControllerBase -description: API reference for UmbracoCommerceOrderControllerBase in Umbraco Commerce ---- -## UmbracoCommerceOrderControllerBase - -```csharp -public abstract class UmbracoCommerceOrderControllerBase : - UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceOrderControllerBase - -```csharp -public UmbracoCommerceOrderControllerBase( - IUmbracoCommerceConfigFileProviderFactory commerceConfigFileProviderFactory, - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceorderstatuscontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceorderstatuscontroller.md deleted file mode 100644 index 4f318a4886d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceorderstatuscontroller.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: UmbracoCommerceOrderStatusController -description: API reference for UmbracoCommerceOrderStatusController in Umbraco Commerce ---- -## UmbracoCommerceOrderStatusController - -```csharp -public class UmbracoCommerceOrderStatusController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceOrderStatusController - -```csharp -public UmbracoCommerceOrderStatusController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateOrderStatus - -```csharp -public IActionResult CreateOrderStatus(Guid storeId) -``` - - ---- - -#### DeleteOrderStatus - -```csharp -public IActionResult DeleteOrderStatus(Guid orderStatusId) -``` - - ---- - -#### GetOrderStatus - -```csharp -public IActionResult GetOrderStatus(Guid orderStatusId) -``` - - ---- - -#### GetOrderStatuses - -```csharp -public IActionResult GetOrderStatuses(Guid storeId) -``` - - ---- - -#### SaveOrderStatus - -```csharp -public IActionResult SaveOrderStatus(OrderStatusSaveDto orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercepaymentcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercepaymentcontroller.md deleted file mode 100644 index 7298cadd991..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercepaymentcontroller.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: UmbracoCommercePaymentController -description: API reference for UmbracoCommercePaymentController in Umbraco Commerce ---- -## UmbracoCommercePaymentController - -```csharp -public class UmbracoCommercePaymentController : ApiController -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommercePaymentController - -```csharp -public UmbracoCommercePaymentController(UmbracoCommerceContext ctx, - PaymentProviderContextFactory paymentProviderContextFactory, - IPaymentProviderUriResolver uriResolver, ILogger logger) -``` - - -### Methods - -#### Callback - -```csharp -public Task Callback(string paymentProviderAlias, Guid orderOrPaymentMethodId, - string orderNumber, string hash) -``` - - ---- - -#### Cancel - -```csharp -public Task Cancel(string paymentProviderAlias, Guid orderOrPaymentMethodId, - string orderNumber, string hash) -``` - - ---- - -#### Continue - -```csharp -public Task Continue(string paymentProviderAlias, Guid orderOrPaymentMethodId, - string orderNumber, string hash) -``` - - ---- - -#### Error - -```csharp -public Task Error(string paymentProviderAlias, Guid orderOrPaymentMethodId, - string orderNumber, string hash) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercepaymentmethodcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercepaymentmethodcontroller.md deleted file mode 100644 index 761adc1eec3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercepaymentmethodcontroller.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: UmbracoCommercePaymentMethodController -description: API reference for UmbracoCommercePaymentMethodController in Umbraco Commerce ---- -## UmbracoCommercePaymentMethodController - -```csharp -public class UmbracoCommercePaymentMethodController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommercePaymentMethodController - -```csharp -public UmbracoCommercePaymentMethodController( - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreatePaymentMethod - -```csharp -public IActionResult CreatePaymentMethod(Guid storeId, string paymentProviderAlias) -``` - - ---- - -#### DeletePaymentMethod - -```csharp -public IActionResult DeletePaymentMethod(Guid paymentMethodId) -``` - - ---- - -#### GetPaymentMethod - -```csharp -public IActionResult GetPaymentMethod(Guid paymentMethodId) -``` - - ---- - -#### GetPaymentMethods - -```csharp -public IActionResult GetPaymentMethods(Guid storeId) -``` - - ---- - -#### GetPaymentProviderDefinitions - -```csharp -public IActionResult GetPaymentProviderDefinitions() -``` - - ---- - -#### GetPaymentProviderScaffold - -```csharp -public IActionResult GetPaymentProviderScaffold(string paymentProviderAlias) -``` - - ---- - -#### SavePaymentMethod - -```csharp -public IActionResult SavePaymentMethod(PaymentMethodSaveDto paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceprintcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceprintcontroller.md deleted file mode 100644 index c5e76cf93ad..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceprintcontroller.md +++ /dev/null @@ -1,98 +0,0 @@ ---- -title: UmbracoCommercePrintController -description: API reference for UmbracoCommercePrintController in Umbraco Commerce ---- -## UmbracoCommercePrintController - -```csharp -public class UmbracoCommercePrintController : UmbracoController -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommercePrintController - -```csharp -public UmbracoCommercePrintController(UmbracoCommerceContext ctx, ITemplateEngine templateEngine) -``` - - -### Methods - -#### Preview - -```csharp -public ActionResult Preview(Guid templateId, Guid entityId, string entityType, - string languageIsoCode = null) -``` - - ---- - -#### Print - -```csharp -public ActionResult Print(PrintPostModel model) -``` - - -### Classes - -#### UmbracoCommercePrintController.PrintPostModel - -```csharp -public class PrintPostModel -``` - -##### Constructors - -#### UmbracoCommercePrintController.PrintPostModel - -The default constructor. - -```csharp -public PrintPostModel() -``` - - -##### Properties - -#### EntityIds - -```csharp -public Guid[] EntityIds { get; set; } -``` - - ---- - -#### EntityType - -```csharp -public string EntityType { get; set; } -``` - - ---- - -#### LanguageIsoCode - -```csharp -public string LanguageIsoCode { get; set; } -``` - - ---- - -#### TemplateIds - -```csharp -public Guid[] TemplateIds { get; set; } -``` - - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceprinttemplatecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceprinttemplatecontroller.md deleted file mode 100644 index a3c29c6e90a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceprinttemplatecontroller.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: UmbracoCommercePrintTemplateController -description: API reference for UmbracoCommercePrintTemplateController in Umbraco Commerce ---- -## UmbracoCommercePrintTemplateController - -```csharp -public class UmbracoCommercePrintTemplateController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommercePrintTemplateController - -```csharp -public UmbracoCommercePrintTemplateController( - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreatePrintTemplate - -```csharp -public IActionResult CreatePrintTemplate(Guid storeId) -``` - - ---- - -#### DeletePrintTemplate - -```csharp -public IActionResult DeletePrintTemplate(Guid printTemplateId) -``` - - ---- - -#### GetPrintTemplate - -```csharp -public IActionResult GetPrintTemplate(Guid printTemplateId) -``` - - ---- - -#### GetPrintTemplateCount - -```csharp -public IActionResult GetPrintTemplateCount(Guid storeId, TemplateCategory? category = null) -``` - - ---- - -#### GetPrintTemplates - -```csharp -public IActionResult GetPrintTemplates(Guid storeId, TemplateCategory? category = null) -``` - - ---- - -#### SavePrintTemplate - -```csharp -public IActionResult SavePrintTemplate(PrintTemplateSaveDto printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceproductattributecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceproductattributecontroller.md deleted file mode 100644 index eab9d46827e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceproductattributecontroller.md +++ /dev/null @@ -1,137 +0,0 @@ ---- -title: UmbracoCommerceProductAttributeController -description: API reference for UmbracoCommerceProductAttributeController in Umbraco Commerce ---- -## UmbracoCommerceProductAttributeController - -```csharp -public class UmbracoCommerceProductAttributeController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceProductAttributeController - -```csharp -public UmbracoCommerceProductAttributeController( - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateProductAttribute - -```csharp -public IActionResult CreateProductAttribute(Guid storeId) -``` - - ---- - -#### CreateProductAttributePreset - -```csharp -public IActionResult CreateProductAttributePreset(Guid storeId) -``` - - ---- - -#### DeleteProductAttribute - -```csharp -public IActionResult DeleteProductAttribute(Guid productAttributeId) -``` - - ---- - -#### DeleteProductAttributePreset - -```csharp -public IActionResult DeleteProductAttributePreset(Guid productAttributePresetId) -``` - - ---- - -#### GetProductAttribute - -```csharp -public IActionResult GetProductAttribute(Guid productAttributeId) -``` - - ---- - -#### GetProductAttributePreset - -```csharp -public IActionResult GetProductAttributePreset(Guid productAttributePresetId) -``` - - ---- - -#### GetProductAttributePresets - -```csharp -public IActionResult GetProductAttributePresets(Guid storeId) -``` - - ---- - -#### GetProductAttributePresetsWithAllowedAttributes - -```csharp -public IActionResult GetProductAttributePresetsWithAllowedAttributes(Guid storeId) -``` - - ---- - -#### GetProductAttributes - -```csharp -public IActionResult GetProductAttributes(Guid storeId) -``` - - ---- - -#### GetProductAttributesWithValues - -```csharp -public IActionResult GetProductAttributesWithValues(Guid storeId) -``` - - ---- - -#### SaveProductAttribute - -```csharp -public IActionResult SaveProductAttribute(ProductAttributeSaveDto productAttribute) -``` - - ---- - -#### SaveProductAttributePreset - -```csharp -public IActionResult SaveProductAttributePreset( - ProductAttributePresetSaveDto productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceproductcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceproductcontroller.md deleted file mode 100644 index 8d0ff269c2c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceproductcontroller.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: UmbracoCommerceProductController -description: API reference for UmbracoCommerceProductController in Umbraco Commerce ---- -## UmbracoCommerceProductController - -```csharp -public class UmbracoCommerceProductController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceProductController - -```csharp -public UmbracoCommerceProductController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### GetAllStock - -```csharp -public IActionResult GetAllStock(GetAllStockDto model) -``` - - ---- - -#### GetProductVariantAttributes - -```csharp -public IActionResult GetProductVariantAttributes(Guid storeId, string productReference, - string languageIsoCode) -``` - - ---- - -#### GetStock - -```csharp -public IActionResult GetStock(Guid storeId, string productReference, - string productVariantReference = null) -``` - - ---- - -#### SearchProductSummaries - -```csharp -public IActionResult SearchProductSummaries(ProductSearchDto model) -``` - - ---- - -#### SearchProductVariantSummaries - -```csharp -public IActionResult SearchProductVariantSummaries(ProductVariantSearchDto model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceshippingmethodcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceshippingmethodcontroller.md deleted file mode 100644 index 12931cc5bd3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceshippingmethodcontroller.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: UmbracoCommerceShippingMethodController -description: API reference for UmbracoCommerceShippingMethodController in Umbraco Commerce ---- -## UmbracoCommerceShippingMethodController - -```csharp -public class UmbracoCommerceShippingMethodController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceShippingMethodController - -```csharp -public UmbracoCommerceShippingMethodController( - IBackOfficeSecurityAccessor backOfficeSecurityAccesor, UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateShippingMethod - -```csharp -public IActionResult CreateShippingMethod(Guid storeId) -``` - - ---- - -#### DeleteShippingMethod - -```csharp -public IActionResult DeleteShippingMethod(Guid shippingMethodId) -``` - - ---- - -#### GetShippingMethod - -```csharp -public IActionResult GetShippingMethod(Guid shippingMethodId) -``` - - ---- - -#### GetShippingMethods - -```csharp -public IActionResult GetShippingMethods(Guid storeId) -``` - - ---- - -#### SaveShippingMethod - -```csharp -public IActionResult SaveShippingMethod(ShippingMethodSaveDto shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercestorecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercestorecontroller.md deleted file mode 100644 index bfbb121fc11..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercestorecontroller.md +++ /dev/null @@ -1,127 +0,0 @@ ---- -title: UmbracoCommerceStoreController -description: API reference for UmbracoCommerceStoreController in Umbraco Commerce ---- -## UmbracoCommerceStoreController - -```csharp -public class UmbracoCommerceStoreController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceStoreController - -```csharp -public UmbracoCommerceStoreController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx, IUmbracoStoreService storeService) -``` - - -### Methods - -#### CreateStore - -```csharp -public IActionResult CreateStore() -``` - - ---- - -#### DeleteStore - -```csharp -public IActionResult DeleteStore(Guid storeId) -``` - - ---- - -#### GetBasicStore - -```csharp -public IActionResult GetBasicStore(Guid storeId) -``` - - ---- - -#### GetBasicStoreByNodeId - -```csharp -public IActionResult GetBasicStoreByNodeId(int nodeId) -``` - - ---- - -#### GetStore - -```csharp -public IActionResult GetStore(Guid storeId) -``` - - ---- - -#### GetStoreActionsForDay - -```csharp -public IActionResult GetStoreActionsForDay(Guid storeId, DateTime date, int localTimezoneOffset) -``` - - ---- - -#### GetStoreAlias - -```csharp -public IActionResult GetStoreAlias(Guid storeId) -``` - - ---- - -#### GetStores - -```csharp -public IActionResult GetStores() -``` - - ---- - -#### GetStoreStatsForDay - -```csharp -public IActionResult GetStoreStatsForDay(Guid storeId, DateTime date, int localTimezoneOffset) -``` - - ---- - -#### GetStoreSummariesForCurrentUser - -```csharp -public IActionResult GetStoreSummariesForCurrentUser() -``` - - ---- - -#### SaveStore - -```csharp -public IActionResult SaveStore(StoreSaveDto store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercetagcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercetagcontroller.md deleted file mode 100644 index 68c1a40181f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercetagcontroller.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: UmbracoCommerceTagController -description: API reference for UmbracoCommerceTagController in Umbraco Commerce ---- -## UmbracoCommerceTagController - -```csharp -public class UmbracoCommerceTagController : UmbracoAuthorizedApiController -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceTagController - -```csharp -public UmbracoCommerceTagController(UmbracoCommerceContext ctx) -``` - - -### Methods - -#### Dummy - -```csharp -public bool Dummy() -``` - - ---- - -#### GetEntityTags - -```csharp -public IActionResult GetEntityTags(Guid storeId, Guid entityId, string query = null) -``` - - ---- - -#### GetTags - -```csharp -public IActionResult GetTags(Guid storeId, string query = null) -``` - - ---- - -#### GetTagsByEntityType - -```csharp -public IActionResult GetTagsByEntityType(Guid storeId, string entityType, string query = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercetaxcontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercetaxcontroller.md deleted file mode 100644 index ba32b00b0e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommercetaxcontroller.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: UmbracoCommerceTaxController -description: API reference for UmbracoCommerceTaxController in Umbraco Commerce ---- -## UmbracoCommerceTaxController - -```csharp -public class UmbracoCommerceTaxController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceTaxController - -```csharp -public UmbracoCommerceTaxController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### CreateTaxClass - -```csharp -public IActionResult CreateTaxClass(Guid storeId) -``` - - ---- - -#### DeleteTaxClass - -```csharp -public IActionResult DeleteTaxClass(Guid taxClassId) -``` - - ---- - -#### GetTaxClass - -```csharp -public IActionResult GetTaxClass(Guid taxClassId) -``` - - ---- - -#### GetTaxClasses - -```csharp -public IActionResult GetTaxClasses(Guid storeId) -``` - - ---- - -#### SaveTaxClass - -```csharp -public IActionResult SaveTaxClass(TaxClassSaveDto taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceutilscontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceutilscontroller.md deleted file mode 100644 index 2560fefdb61..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-controllers/umbracocommerceutilscontroller.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: UmbracoCommerceUtilsController -description: API reference for UmbracoCommerceUtilsController in Umbraco Commerce ---- -## UmbracoCommerceUtilsController - -```csharp -public class UmbracoCommerceUtilsController : UmbracoCommerceAuthorizedJsonControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceAuthorizedJsonControllerBase](umbracocommerceauthorizedjsoncontrollerbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Controllers](README.md) - -### Constructors - -#### UmbracoCommerceUtilsController - -```csharp -public UmbracoCommerceUtilsController(IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - UmbracoCommerceContext ctx) -``` - - -### Methods - -#### GetEnumOptions - -```csharp -public IActionResult GetEnumOptions(string type) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/README.md deleted file mode 100644 index 240bb0437bd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/README.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Events.Notification -description: API reference for Umbraco.Commerce.Cms.Web.Events.Notification in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Events.Notification namespace - -| Public Type | Description | -| --- | --- | -| class [ActivityLogEntriesRenderingNotification](activitylogentriesrenderingnotification.md) | | -| class [AnalyticsDashboardConfigParsingNotification](analyticsdashboardconfigparsingnotification.md) | | -| class [CartEditorConfigParsingNotification](carteditorconfigparsingnotification.md) | | -| class [CartListConfigParsingNotification](cartlistconfigparsingnotification.md) | | -| class [CartSearchingNotification](cartsearchingnotification.md) | | -| abstract class [ConfigParsingNotificationBase](configparsingnotificationbase.md) | | -| class [GiftCardSearchingNotification](giftcardsearchingnotification.md) | | -| class [OrderEditorConfigParsingNotification](ordereditorconfigparsingnotification.md) | | -| class [OrderListConfigParsingNotification](orderlistconfigparsingnotification.md) | | -| class [OrderSearchingNotification](ordersearchingnotification.md) | | -| class [StoreActionsRenderingNotification](storeactionsrenderingnotification.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/activitylogentriesrenderingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/activitylogentriesrenderingnotification.md deleted file mode 100644 index 26d3f434750..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/activitylogentriesrenderingnotification.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ActivityLogEntriesRenderingNotification -description: API reference for ActivityLogEntriesRenderingNotification in Umbraco Commerce ---- -## ActivityLogEntriesRenderingNotification - -```csharp -public class ActivityLogEntriesRenderingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### ActivityLogEntriesRenderingNotification - -```csharp -public ActivityLogEntriesRenderingNotification(Guid storeId, - IReadOnlyCollection logEntries) -``` - - -### Properties - -#### LogEntries - -```csharp -public IReadOnlyCollection LogEntries { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/analyticsdashboardconfigparsingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/analyticsdashboardconfigparsingnotification.md deleted file mode 100644 index 5555d273fb5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/analyticsdashboardconfigparsingnotification.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: AnalyticsDashboardConfigParsingNotification -description: API reference for AnalyticsDashboardConfigParsingNotification in Umbraco Commerce ---- -## AnalyticsDashboardConfigParsingNotification - -```csharp -public class AnalyticsDashboardConfigParsingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### AnalyticsDashboardConfigParsingNotification - -```csharp -public AnalyticsDashboardConfigParsingNotification(Guid storeId, JObject config) -``` - - -### Properties - -#### Config - -```csharp -public JObject Config { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/carteditorconfigparsingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/carteditorconfigparsingnotification.md deleted file mode 100644 index fb2cac007a6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/carteditorconfigparsingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CartEditorConfigParsingNotification -description: API reference for CartEditorConfigParsingNotification in Umbraco Commerce ---- -## CartEditorConfigParsingNotification - -```csharp -public class CartEditorConfigParsingNotification : ConfigParsingNotificationBase -``` - -**Inheritance** - -* Class [ConfigParsingNotificationBase](configparsingnotificationbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### CartEditorConfigParsingNotification - -```csharp -public CartEditorConfigParsingNotification(Guid storeId, JObject config) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/cartlistconfigparsingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/cartlistconfigparsingnotification.md deleted file mode 100644 index 6ca7bdd3964..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/cartlistconfigparsingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CartListConfigParsingNotification -description: API reference for CartListConfigParsingNotification in Umbraco Commerce ---- -## CartListConfigParsingNotification - -```csharp -public class CartListConfigParsingNotification : ConfigParsingNotificationBase -``` - -**Inheritance** - -* Class [ConfigParsingNotificationBase](configparsingnotificationbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### CartListConfigParsingNotification - -```csharp -public CartListConfigParsingNotification(Guid storeId, JObject config) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/cartsearchingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/cartsearchingnotification.md deleted file mode 100644 index 0306bcfb3e7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/cartsearchingnotification.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: CartSearchingNotification -description: API reference for CartSearchingNotification in Umbraco Commerce ---- -## CartSearchingNotification - -```csharp -public class CartSearchingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### CartSearchingNotification - -The default constructor. - -```csharp -public CartSearchingNotification() -``` - - -### Properties - -#### Filter - -```csharp -public Func> - Filter { get; set; } -``` - - ---- - -#### SearchTermFilter - -```csharp -public Func> - SearchTermFilter { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/configparsingnotificationbase.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/configparsingnotificationbase.md deleted file mode 100644 index c5af71ebb27..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/configparsingnotificationbase.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ConfigParsingNotificationBase -description: API reference for ConfigParsingNotificationBase in Umbraco Commerce ---- -## ConfigParsingNotificationBase - -```csharp -public abstract class ConfigParsingNotificationBase : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### ConfigParsingNotificationBase - -```csharp -public ConfigParsingNotificationBase(Guid storeId, JObject config) -``` - - -### Properties - -#### Config - -```csharp -public JObject Config { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/giftcardsearchingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/giftcardsearchingnotification.md deleted file mode 100644 index 10aeeb383b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/giftcardsearchingnotification.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: GiftCardSearchingNotification -description: API reference for GiftCardSearchingNotification in Umbraco Commerce ---- -## GiftCardSearchingNotification - -```csharp -public class GiftCardSearchingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### GiftCardSearchingNotification - -The default constructor. - -```csharp -public GiftCardSearchingNotification() -``` - - -### Properties - -#### Filter - -```csharp -public Func> - Filter { get; set; } -``` - - ---- - -#### SearchTermFilter - -```csharp -public Func> - SearchTermFilter { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/ordereditorconfigparsingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/ordereditorconfigparsingnotification.md deleted file mode 100644 index 843da22279e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/ordereditorconfigparsingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderEditorConfigParsingNotification -description: API reference for OrderEditorConfigParsingNotification in Umbraco Commerce ---- -## OrderEditorConfigParsingNotification - -```csharp -public class OrderEditorConfigParsingNotification : ConfigParsingNotificationBase -``` - -**Inheritance** - -* Class [ConfigParsingNotificationBase](configparsingnotificationbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### OrderEditorConfigParsingNotification - -```csharp -public OrderEditorConfigParsingNotification(Guid storeId, JObject config) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/orderlistconfigparsingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/orderlistconfigparsingnotification.md deleted file mode 100644 index 1fa9ee42b19..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/orderlistconfigparsingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderListConfigParsingNotification -description: API reference for OrderListConfigParsingNotification in Umbraco Commerce ---- -## OrderListConfigParsingNotification - -```csharp -public class OrderListConfigParsingNotification : ConfigParsingNotificationBase -``` - -**Inheritance** - -* Class [ConfigParsingNotificationBase](configparsingnotificationbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### OrderListConfigParsingNotification - -```csharp -public OrderListConfigParsingNotification(Guid storeId, JObject config) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/ordersearchingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/ordersearchingnotification.md deleted file mode 100644 index 7d14f6e16e6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/ordersearchingnotification.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: OrderSearchingNotification -description: API reference for OrderSearchingNotification in Umbraco Commerce ---- -## OrderSearchingNotification - -```csharp -public class OrderSearchingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### OrderSearchingNotification - -The default constructor. - -```csharp -public OrderSearchingNotification() -``` - - -### Properties - -#### Filter - -```csharp -public Func> - Filter { get; set; } -``` - - ---- - -#### SearchTermFilter - -```csharp -public Func> - SearchTermFilter { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/storeactionsrenderingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/storeactionsrenderingnotification.md deleted file mode 100644 index 973c59fbc77..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-events-notification/storeactionsrenderingnotification.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: StoreActionsRenderingNotification -description: API reference for StoreActionsRenderingNotification in Umbraco Commerce ---- -## StoreActionsRenderingNotification - -```csharp -public class StoreActionsRenderingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Events.Notification](README.md) - -### Constructors - -#### StoreActionsRenderingNotification - -```csharp -public StoreActionsRenderingNotification(Guid storeId, StoreActionsDto actions) -``` - - -### Properties - -#### Actions - -```csharp -public StoreActionsDto Actions { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-filters/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-filters/README.md deleted file mode 100644 index 7ef76d18505..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-filters/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Filters -description: API reference for Umbraco.Commerce.Cms.Web.Filters in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Filters namespace - -| Public Type | Description | -| --- | --- | -| class [AllowJsonXHRRequestsFilter](allowjsonxhrrequestsfilter.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-filters/allowjsonxhrrequestsfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-filters/allowjsonxhrrequestsfilter.md deleted file mode 100644 index 27e8f8a6fc3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-filters/allowjsonxhrrequestsfilter.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: AllowJsonXHRRequestsFilter -description: API reference for AllowJsonXHRRequestsFilter in Umbraco Commerce ---- -## AllowJsonXHRRequestsFilter - -```csharp -public class AllowJsonXHRRequestsFilter : TypeFilterAttribute -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Filters](README.md) - -### Constructors - -#### AllowJsonXHRRequestsFilter - -The default constructor. - -```csharp -public AllowJsonXHRRequestsFilter() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-io/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-io/README.md deleted file mode 100644 index abe7882bc9b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-io/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.IO -description: API reference for Umbraco.Commerce.Cms.Web.IO in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.IO namespace - -| Public Type | Description | -| --- | --- | -| interface [IUmbracoCommerceConfigFileProviderFactory](iumbracocommerceconfigfileproviderfactory.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-io/iumbracocommerceconfigfileproviderfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-io/iumbracocommerceconfigfileproviderfactory.md deleted file mode 100644 index 94c69a43e3d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-io/iumbracocommerceconfigfileproviderfactory.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: IUmbracoCommerceConfigFileProviderFactory -description: API reference for IUmbracoCommerceConfigFileProviderFactory in Umbraco Commerce ---- -## IUmbracoCommerceConfigFileProviderFactory - -```csharp -public interface IUmbracoCommerceConfigFileProviderFactory : IFileProviderFactory -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.IO](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/README.md deleted file mode 100644 index c49d6ae1dea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/README.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Models.Mappers -description: API reference for Umbraco.Commerce.Cms.Web.Models.Mappers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Models.Mappers namespace - -| Public Type | Description | -| --- | --- | -| static class [ActivityLogEntryMapper](activitylogentrymapper.md) | | -| static class [AllowedCountryRegionMapper](allowedcountryregionmapper.md) | | -| static class [AttributeMapper](attributemapper.md) | | -| static class [CartMapper](cartmapper.md) | | -| static class [CountryMapper](countrymapper.md) | | -| static class [CurrencyMapper](currencymapper.md) | | -| static class [DiscountMapper](discountmapper.md) | | -| static class [EmailTemplateMapper](emailtemplatemapper.md) | | -| class [EntityMapperAdapter](entitymapperadapter.md) | | -| static class [EntityMapperFactory](entitymapperfactory.md) | | -| static class [ExportTemplateMapper](exporttemplatemapper.md) | | -| static class [GiftCardMapper](giftcardmapper.md) | | -| static class [OrderMapper](ordermapper.md) | | -| static class [OrderStatusMapper](orderstatusmapper.md) | | -| static class [PaymentMethodMapper](paymentmethodmapper.md) | | -| static class [PrintTemplateMapper](printtemplatemapper.md) | | -| static class [ProductAttributeMapper](productattributemapper.md) | | -| static class [ProductAttributePresetMapper](productattributepresetmapper.md) | | -| static class [ProductMapper](productmapper.md) | | -| static class [RegionMapper](regionmapper.md) | | -| static class [ServicePriceMapper](servicepricemapper.md) | | -| static class [ShippingMethodMapper](shippingmethodmapper.md) | | -| static class [StoreMapper](storemapper.md) | | -| static class [TaxClassMapper](taxclassmapper.md) | | -| static class [TaxRateMapper](taxratemapper.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/activitylogentrymapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/activitylogentrymapper.md deleted file mode 100644 index 25d62d5d8aa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/activitylogentrymapper.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ActivityLogEntryMapper -description: API reference for ActivityLogEntryMapper in Umbraco Commerce ---- -## ActivityLogEntryMapper - -```csharp -public static class ActivityLogEntryMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### ActivityLogEntryToDto - -```csharp -public static ActivityLogEntryDto ActivityLogEntryToDto(ActivityLogEntry entity, - Func userNameResolver) -``` - - ---- - -#### ActivityLogEntryToDtos - -```csharp -public static IEnumerable ActivityLogEntryToDtos( - IEnumerable entity, Func userNameResolver) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/allowedcountryregionmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/allowedcountryregionmapper.md deleted file mode 100644 index 6ea47e109bc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/allowedcountryregionmapper.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: AllowedCountryRegionMapper -description: API reference for AllowedCountryRegionMapper in Umbraco Commerce ---- -## AllowedCountryRegionMapper - -```csharp -public static class AllowedCountryRegionMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### AllowedCountryCollectionToDtos - -```csharp -public static List AllowedCountryCollectionToDtos( - IEnumerable collection) -``` - - ---- - -#### AllowedCountryDtosToCollection - -```csharp -public static IEnumerable AllowedCountryDtosToCollection( - IEnumerable dtos) -``` - - ---- - -#### AllowedCountryDtoToEntity - -```csharp -public static AllowedCountry AllowedCountryDtoToEntity(AllowedCountryDto dto) -``` - - ---- - -#### AllowedCountryEntityToDto - -```csharp -public static AllowedCountryDto AllowedCountryEntityToDto(AllowedCountry entity) -``` - - ---- - -#### AllowedCountryRegionCollectionToDtos - -```csharp -public static List AllowedCountryRegionCollectionToDtos( - IEnumerable collection) -``` - - ---- - -#### AllowedCountryRegionDtosToCollection - -```csharp -public static IEnumerable AllowedCountryRegionDtosToCollection( - IEnumerable dtos) -``` - - ---- - -#### AllowedCountryRegionDtoToEntity - -```csharp -public static AllowedCountryRegion AllowedCountryRegionDtoToEntity(AllowedCountryRegionDto dto) -``` - - ---- - -#### AllowedCountryRegionEntityToDto - -```csharp -public static AllowedCountryRegionDto AllowedCountryRegionEntityToDto(AllowedCountryRegion entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/attributemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/attributemapper.md deleted file mode 100644 index a235fe23eb8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/attributemapper.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: AttributeMapper -description: API reference for AttributeMapper in Umbraco Commerce ---- -## AttributeMapper - -```csharp -public static class AttributeMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### AttributesToDtos - -```csharp -public static IEnumerable AttributesToDtos(IEnumerable entities) -``` - - ---- - -#### AttributeToDto - -```csharp -public static AttributeDto AttributeToDto(Attribute entity, AttributeDto dto = null) -``` - - ---- - -#### AttributeValuesToDtos - -```csharp -public static IEnumerable AttributeValuesToDtos( - IEnumerable entities) -``` - - ---- - -#### AttributeValueToDto - -```csharp -public static AliasNamePairDto AttributeValueToDto(AttributeValue entity, - AliasNamePairDto dto = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/cartmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/cartmapper.md deleted file mode 100644 index 442efec8b76..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/cartmapper.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: CartMapper -description: API reference for CartMapper in Umbraco Commerce ---- -## CartMapper - -```csharp -public static class CartMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### CartEntitiesToBasicDtos - -```csharp -public static IEnumerable CartEntitiesToBasicDtos(IEnumerable entities) -``` - - ---- - -#### CartEntityToBasicDto - -```csharp -public static CartBasicDto CartEntityToBasicDto(OrderReadOnly entity, CartBasicDto dto = null) -``` - - ---- - -#### CartEntityToEditDto - -```csharp -public static CartEditDto CartEntityToEditDto(OrderReadOnly entity, CurrencyBasicDto currency, - PaymentMethodBasicDto paymentMethod, CountryBasicDto paymentCountry, - RegionBasicDto paymentRegion, ShippingMethodBasicDto shippingMethod, - CountryBasicDto shippingCountry, RegionBasicDto shippingRegion, CartEditDto dto = null) -``` - - ---- - -#### CartSaveDtoToEntity - -```csharp -public static Order CartSaveDtoToEntity(CartSaveDto dto, Order entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/countrymapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/countrymapper.md deleted file mode 100644 index 33eb4e120b3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/countrymapper.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: CountryMapper -description: API reference for CountryMapper in Umbraco Commerce ---- -## CountryMapper - -```csharp -public static class CountryMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### CountryEntitiesToBasicDtos - -```csharp -public static IEnumerable CountryEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### CountryEntitiesToBasicDtos<TDto> - -```csharp -public static IEnumerable CountryEntitiesToBasicDtos( - IEnumerable entities) - where TDto : CountryBasicDto, new() -``` - - ---- - -#### CountryEntityToBasicDto<TDto> - -```csharp -public static TDto CountryEntityToBasicDto(CountryReadOnly entity, TDto dto = default(TDto)) - where TDto : CountryBasicDto, new() -``` - - ---- - -#### CountryEntityToEditDto - -```csharp -public static CountryEditDto CountryEntityToEditDto(CountryReadOnly entity, - CountryEditDto dto = null) -``` - - ---- - -#### CountrySaveDtoToEntity - -```csharp -public static Country CountrySaveDtoToEntity(CountrySaveDto dto, Country entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/currencymapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/currencymapper.md deleted file mode 100644 index fd0ebad18d0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/currencymapper.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: CurrencyMapper -description: API reference for CurrencyMapper in Umbraco Commerce ---- -## CurrencyMapper - -```csharp -public static class CurrencyMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### CurrencyEntitiesToBasicDtos - -```csharp -public static IEnumerable CurrencyEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### CurrencyEntityToBasicDto - -```csharp -public static CurrencyBasicDto CurrencyEntityToBasicDto(CurrencyReadOnly entity, - CurrencyBasicDto dto = null) -``` - - ---- - -#### CurrencyEntityToEditDto - -```csharp -public static CurrencyEditDto CurrencyEntityToEditDto(CurrencyReadOnly entity, - CurrencyEditDto dto = null) -``` - - ---- - -#### CurrencySaveDtoToEntity - -```csharp -public static Currency CurrencySaveDtoToEntity(CurrencySaveDto dto, Currency entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/discountmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/discountmapper.md deleted file mode 100644 index 833248d7746..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/discountmapper.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: DiscountMapper -description: API reference for DiscountMapper in Umbraco Commerce ---- -## DiscountMapper - -```csharp -public static class DiscountMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### DiscountEntitiesToBasicDtos - -```csharp -public static IEnumerable DiscountEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### DiscountEntityToBasicDto - -```csharp -public static DiscountBasicDto DiscountEntityToBasicDto(DiscountReadOnly entity, - DiscountBasicDto dto = null) -``` - - ---- - -#### DiscountEntityToEditDto - -```csharp -public static DiscountEditDto DiscountEntityToEditDto(DiscountReadOnly entity, - DiscountEditDto dto = null) -``` - - ---- - -#### DiscountSaveDtoToEntity - -```csharp -public static Discount DiscountSaveDtoToEntity(DiscountSaveDto dto, Discount entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/emailtemplatemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/emailtemplatemapper.md deleted file mode 100644 index ac2a9373689..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/emailtemplatemapper.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: EmailTemplateMapper -description: API reference for EmailTemplateMapper in Umbraco Commerce ---- -## EmailTemplateMapper - -```csharp -public static class EmailTemplateMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### EmailTemplateEntitiesToBasicDtos - -```csharp -public static IEnumerable EmailTemplateEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### EmailTemplateEntityToBasicDto - -```csharp -public static EmailTemplateBasicDto EmailTemplateEntityToBasicDto(EmailTemplateReadOnly entity, - EmailTemplateBasicDto dto = null) -``` - - ---- - -#### EmailTemplateEntityToEditDto - -```csharp -public static EmailTemplateEditDto EmailTemplateEntityToEditDto(EmailTemplateReadOnly entity, - EmailTemplateEditDto dto = null) -``` - - ---- - -#### EmailTemplateSaveDtoToEntity - -```csharp -public static EmailTemplate EmailTemplateSaveDtoToEntity(EmailTemplateSaveDto dto, - EmailTemplate entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/entitymapperadapter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/entitymapperadapter.md deleted file mode 100644 index 9bcac08ff20..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/entitymapperadapter.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: EntityMapperAdapter -description: API reference for EntityMapperAdapter in Umbraco Commerce ---- -## EntityMapperAdapter - -```csharp -public class EntityMapperAdapter -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Constructors - -#### EntityMapperAdapter - -```csharp -public EntityMapperAdapter(Func entityMapper) -``` - - -### Methods - -#### EntitiesToBasicDtos - -```csharp -public IEnumerable EntitiesToBasicDtos(IEnumerable entities) -``` - - ---- - -#### EntityToBasicDto - -```csharp -public EntityBasicDto EntityToBasicDto(EntityBase entity) -``` - - -### Operators - -#### EntityMapperAdapter Implicit - -```csharp -public static implicit operator EntityMapperAdapter(Func fnc) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/entitymapperfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/entitymapperfactory.md deleted file mode 100644 index 281d209a57b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/entitymapperfactory.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: EntityMapperFactory -description: API reference for EntityMapperFactory in Umbraco Commerce ---- -## EntityMapperFactory - -```csharp -public static class EntityMapperFactory -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### GetEntityMapper - -```csharp -public static EntityMapperAdapter GetEntityMapper(string entityType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/exporttemplatemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/exporttemplatemapper.md deleted file mode 100644 index 6c2371034f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/exporttemplatemapper.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: ExportTemplateMapper -description: API reference for ExportTemplateMapper in Umbraco Commerce ---- -## ExportTemplateMapper - -```csharp -public static class ExportTemplateMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### ExportTemplateEntitiesToBasicDtos - -```csharp -public static IEnumerable ExportTemplateEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### ExportTemplateEntityToBasicDto - -```csharp -public static ExportTemplateBasicDto ExportTemplateEntityToBasicDto(ExportTemplateReadOnly entity, - ExportTemplateBasicDto dto = null) -``` - - ---- - -#### ExportTemplateEntityToEditDto - -```csharp -public static ExportTemplateEditDto ExportTemplateEntityToEditDto(ExportTemplateReadOnly entity, - ExportTemplateEditDto dto = null) -``` - - ---- - -#### ExportTemplateSaveDtoToEntity - -```csharp -public static ExportTemplate ExportTemplateSaveDtoToEntity(ExportTemplateSaveDto dto, - ExportTemplate entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/giftcardmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/giftcardmapper.md deleted file mode 100644 index 47bacf46118..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/giftcardmapper.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: GiftCardMapper -description: API reference for GiftCardMapper in Umbraco Commerce ---- -## GiftCardMapper - -```csharp -public static class GiftCardMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### GiftCardEntitiesToBasicDtos - -```csharp -public static IEnumerable GiftCardEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### GiftCardEntityToBasicDto - -```csharp -public static GiftCardBasicDto GiftCardEntityToBasicDto(GiftCardReadOnly entity, - GiftCardBasicDto dto = null) -``` - - ---- - -#### GiftCardEntityToEditDto - -```csharp -public static GiftCardEditDto GiftCardEntityToEditDto(GiftCardReadOnly entity, - GiftCardEditDto dto = null) -``` - - ---- - -#### GiftCardSaveDtoToEntity - -```csharp -public static GiftCard GiftCardSaveDtoToEntity(GiftCardSaveDto dto, GiftCard entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/ordermapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/ordermapper.md deleted file mode 100644 index 17726e02725..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/ordermapper.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: OrderMapper -description: API reference for OrderMapper in Umbraco Commerce ---- -## OrderMapper - -```csharp -public static class OrderMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### OrderEntitiesToBasicDtos - -```csharp -public static IEnumerable OrderEntitiesToBasicDtos( - IEnumerable entities, IEnumerable orderStatuses, - IEnumerable paymentMethods, - IEnumerable shippingMethods) -``` - - ---- - -#### OrderEntityToBasicDto - -```csharp -public static OrderBasicDto OrderEntityToBasicDto(OrderReadOnly entity, - OrderStatusBasicDto orderStatus, PaymentMethodBasicDto paymentMethod, - ShippingMethodBasicDto shippingMethod, OrderBasicDto dto = null) -``` - - ---- - -#### OrderEntityToEditDto - -```csharp -public static OrderEditDto OrderEntityToEditDto(OrderReadOnly entity, - OrderStatusBasicDto orderStatus, PaymentMethodBasicDto paymentMethod, - CountryBasicDto paymentCountry, RegionBasicDto paymentRegion, - ShippingMethodBasicDto shippingMethod, CountryBasicDto shippingCountry, - RegionBasicDto shippingRegion, OrderEditDto dto = null) -``` - - ---- - -#### OrderSaveDtoToEntity - -```csharp -public static Order OrderSaveDtoToEntity(OrderSaveDto dto, Order entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/orderstatusmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/orderstatusmapper.md deleted file mode 100644 index b2500c15e66..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/orderstatusmapper.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: OrderStatusMapper -description: API reference for OrderStatusMapper in Umbraco Commerce ---- -## OrderStatusMapper - -```csharp -public static class OrderStatusMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### OrderStatusEntitiesToBasicDtos - -```csharp -public static IEnumerable OrderStatusEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### OrderStatusEntityToBasicDto - -```csharp -public static OrderStatusBasicDto OrderStatusEntityToBasicDto(OrderStatusReadOnly entity, - OrderStatusBasicDto dto = null) -``` - - ---- - -#### OrderStatusEntityToEditDto - -```csharp -public static OrderStatusEditDto OrderStatusEntityToEditDto(OrderStatusReadOnly entity, - OrderStatusEditDto dto = null) -``` - - ---- - -#### OrderStatusSaveDtoToEntity - -```csharp -public static OrderStatus OrderStatusSaveDtoToEntity(OrderStatusSaveDto dto, OrderStatus entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/paymentmethodmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/paymentmethodmapper.md deleted file mode 100644 index 9506979cf35..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/paymentmethodmapper.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: PaymentMethodMapper -description: API reference for PaymentMethodMapper in Umbraco Commerce ---- -## PaymentMethodMapper - -```csharp -public static class PaymentMethodMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### PaymentMethodEntitiesToBasicDtos - -```csharp -public static IEnumerable PaymentMethodEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### PaymentMethodEntityToBasicDto - -```csharp -public static PaymentMethodBasicDto PaymentMethodEntityToBasicDto(PaymentMethodReadOnly entity, - PaymentMethodBasicDto dto = null) -``` - - ---- - -#### PaymentMethodEntityToEditDto - -```csharp -public static PaymentMethodEditDto PaymentMethodEntityToEditDto(PaymentMethodReadOnly entity, - IPaymentProvider paymentProvider, PaymentMethodEditDto dto = null) -``` - - ---- - -#### PaymentMethodSaveDtoToEntity - -```csharp -public static PaymentMethod PaymentMethodSaveDtoToEntity(PaymentMethodSaveDto dto, - PaymentMethod entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/printtemplatemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/printtemplatemapper.md deleted file mode 100644 index f80f4e0011d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/printtemplatemapper.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: PrintTemplateMapper -description: API reference for PrintTemplateMapper in Umbraco Commerce ---- -## PrintTemplateMapper - -```csharp -public static class PrintTemplateMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### PrintTemplateEntitiesToBasicDtos - -```csharp -public static IEnumerable PrintTemplateEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### PrintTemplateEntityToBasicDto - -```csharp -public static PrintTemplateBasicDto PrintTemplateEntityToBasicDto(PrintTemplateReadOnly entity, - PrintTemplateBasicDto dto = null) -``` - - ---- - -#### PrintTemplateEntityToEditDto - -```csharp -public static PrintTemplateEditDto PrintTemplateEntityToEditDto(PrintTemplateReadOnly entity, - PrintTemplateEditDto dto = null) -``` - - ---- - -#### PrintTemplateSaveDtoToEntity - -```csharp -public static PrintTemplate PrintTemplateSaveDtoToEntity(PrintTemplateSaveDto dto, - PrintTemplate entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productattributemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productattributemapper.md deleted file mode 100644 index e341dfd3c17..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productattributemapper.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ProductAttributeMapper -description: API reference for ProductAttributeMapper in Umbraco Commerce ---- -## ProductAttributeMapper - -```csharp -public static class ProductAttributeMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### ProductAttributeEntitiesToBasicDtos - -```csharp -public static IEnumerable ProductAttributeEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### ProductAttributeEntitiesToDtos - -```csharp -public static IEnumerable ProductAttributeEntitiesToDtos( - IEnumerable entities) -``` - - ---- - -#### ProductAttributeEntityToBasicDto - -```csharp -public static ProductAttributeBasicDto ProductAttributeEntityToBasicDto( - ProductAttributeReadOnly entity, ProductAttributeBasicDto dto = null) -``` - - ---- - -#### ProductAttributeEntityToEditDto - -```csharp -public static ProductAttributeEditDto ProductAttributeEntityToEditDto( - ProductAttributeReadOnly entity, ProductAttributeEditDto dto = null) -``` - - ---- - -#### ProductAttributeSaveDtoToEntity - -```csharp -public static ProductAttribute ProductAttributeSaveDtoToEntity(ProductAttributeSaveDto dto, - ProductAttribute entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productattributepresetmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productattributepresetmapper.md deleted file mode 100644 index 22c76fe1869..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productattributepresetmapper.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ProductAttributePresetMapper -description: API reference for ProductAttributePresetMapper in Umbraco Commerce ---- -## ProductAttributePresetMapper - -```csharp -public static class ProductAttributePresetMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### ProductAttributePresetEntitiesToBasicDtos - -```csharp -public static IEnumerable ProductAttributePresetEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### ProductAttributePresetEntitiesToDtos - -```csharp -public static IEnumerable ProductAttributePresetEntitiesToDtos( - IEnumerable entities) -``` - - ---- - -#### ProductAttributePresetEntityToBasicDto - -```csharp -public static ProductAttributePresetBasicDto ProductAttributePresetEntityToBasicDto( - ProductAttributePresetReadOnly entity, ProductAttributePresetBasicDto dto = null) -``` - - ---- - -#### ProductAttributePresetEntityToEditDto - -```csharp -public static ProductAttributePresetEditDto ProductAttributePresetEntityToEditDto( - ProductAttributePresetReadOnly entity, ProductAttributePresetEditDto dto = null) -``` - - ---- - -#### ProductAttributePresetSaveDtoToEntity - -```csharp -public static ProductAttributePreset ProductAttributePresetSaveDtoToEntity( - ProductAttributePresetSaveDto dto, ProductAttributePreset entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productmapper.md deleted file mode 100644 index 61150957dba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/productmapper.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: ProductMapper -description: API reference for ProductMapper in Umbraco Commerce ---- -## ProductMapper - -```csharp -public static class ProductMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### ProductPricesToDtos - -```csharp -public static IEnumerable ProductPricesToDtos(IEnumerable entities) -``` - - ---- - -#### ProductPriceToDto - -```csharp -public static ProductPriceDto ProductPriceToDto(ProductPrice entity, ProductPriceDto dto = null) -``` - - ---- - -#### ProductSummariesToDtos - -```csharp -public static IEnumerable ProductSummariesToDtos( - IEnumerable entities) -``` - - ---- - -#### ProductSummaryCommonToDto - -```csharp -public static ProductSummaryCommonDto ProductSummaryCommonToDto(IProductSummaryCommon entity, - ProductSummaryCommonDto dto) -``` - - ---- - -#### ProductSummaryToDto - -```csharp -public static ProductSummaryDto ProductSummaryToDto(IProductSummary entity, - ProductSummaryDto dto = null) -``` - - ---- - -#### ProductVariantSummariesToDtos - -```csharp -public static IEnumerable ProductVariantSummariesToDtos( - IEnumerable entities) -``` - - ---- - -#### ProductVariantSummaryToDto - -```csharp -public static ProductVariantSummaryDto ProductVariantSummaryToDto(IProductVariantSummary entity, - ProductVariantSummaryDto dto = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/regionmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/regionmapper.md deleted file mode 100644 index 2e382de7d18..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/regionmapper.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: RegionMapper -description: API reference for RegionMapper in Umbraco Commerce ---- -## RegionMapper - -```csharp -public static class RegionMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### RegionEntitiesToBasicDtos - -```csharp -public static IEnumerable RegionEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### RegionEntityToBasicDto - -```csharp -public static RegionBasicDto RegionEntityToBasicDto(RegionReadOnly entity, - RegionBasicDto dto = null) -``` - - ---- - -#### RegionEntityToEditDto - -```csharp -public static RegionEditDto RegionEntityToEditDto(RegionReadOnly entity, RegionEditDto dto = null) -``` - - ---- - -#### RegionSaveDtoToEntity - -```csharp -public static Region RegionSaveDtoToEntity(RegionSaveDto dto, Region entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/servicepricemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/servicepricemapper.md deleted file mode 100644 index 393b8de367a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/servicepricemapper.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: ServicePriceMapper -description: API reference for ServicePriceMapper in Umbraco Commerce ---- -## ServicePriceMapper - -```csharp -public static class ServicePriceMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### AllowedCountryRegionServicePrices - -```csharp -public static IEnumerable AllowedCountryRegionServicePrices( - IEnumerable prices, IEnumerable allowedCountryRegions) -``` - - ---- - -#### ServicePriceCollectionToDtos - -```csharp -public static List ServicePriceCollectionToDtos( - IEnumerable collection) -``` - - ---- - -#### ServicePriceDtosToCollection - -```csharp -public static IEnumerable ServicePriceDtosToCollection( - IEnumerable dtos) -``` - - ---- - -#### ServicePriceDtoToEntity - -```csharp -public static ServicePrice ServicePriceDtoToEntity(ServicePriceDto dto) -``` - - ---- - -#### ServicePriceEntityToDto - -```csharp -public static ServicePriceDto ServicePriceEntityToDto(ServicePrice entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/shippingmethodmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/shippingmethodmapper.md deleted file mode 100644 index b4239414c05..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/shippingmethodmapper.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: ShippingMethodMapper -description: API reference for ShippingMethodMapper in Umbraco Commerce ---- -## ShippingMethodMapper - -```csharp -public static class ShippingMethodMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### ShippingMethodEntitiesToBasicDtos - -```csharp -public static IEnumerable ShippingMethodEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### ShippingMethodEntityToBasicDto - -```csharp -public static ShippingMethodBasicDto ShippingMethodEntityToBasicDto(ShippingMethodReadOnly entity, - ShippingMethodBasicDto dto = null) -``` - - ---- - -#### ShippingMethodEntityToEditDto - -```csharp -public static ShippingMethodEditDto ShippingMethodEntityToEditDto(ShippingMethodReadOnly entity, - ShippingMethodEditDto dto = null) -``` - - ---- - -#### ShippingMethodSaveDtoToEntity - -```csharp -public static ShippingMethod ShippingMethodSaveDtoToEntity(ShippingMethodSaveDto dto, - ShippingMethod entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/storemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/storemapper.md deleted file mode 100644 index 3d2b56cf5de..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/storemapper.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: StoreMapper -description: API reference for StoreMapper in Umbraco Commerce ---- -## StoreMapper - -```csharp -public static class StoreMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### StoreEntitiesToBasicDtos - -```csharp -public static IEnumerable StoreEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### StoreEntityToBasicDto - -```csharp -public static StoreBasicDto StoreEntityToBasicDto(StoreReadOnly entity, StoreBasicDto dto = null) -``` - - ---- - -#### StoreEntityToEditDto - -```csharp -public static StoreEditDto StoreEntityToEditDto(StoreReadOnly entity, StoreEditDto dto = null) -``` - - ---- - -#### StoreSaveDtoToEntity - -```csharp -public static Store StoreSaveDtoToEntity(StoreSaveDto dto, Store entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/taxclassmapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/taxclassmapper.md deleted file mode 100644 index d4f9140d1df..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/taxclassmapper.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: TaxClassMapper -description: API reference for TaxClassMapper in Umbraco Commerce ---- -## TaxClassMapper - -```csharp -public static class TaxClassMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### TaxClassEntitiesToBasicDtos - -```csharp -public static IEnumerable TaxClassEntitiesToBasicDtos( - IEnumerable entities) -``` - - ---- - -#### TaxClassEntityToBasicDto - -```csharp -public static TaxClassBasicDto TaxClassEntityToBasicDto(TaxClassReadOnly entity, - TaxClassBasicDto dto = null) -``` - - ---- - -#### TaxClassEntityToEditDto - -```csharp -public static TaxClassEditDto TaxClassEntityToEditDto(TaxClassReadOnly entity, - TaxClassEditDto dto = null) -``` - - ---- - -#### TaxClassSaveDtoToEntity - -```csharp -public static TaxClass TaxClassSaveDtoToEntity(TaxClassSaveDto dto, TaxClass entity) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/taxratemapper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/taxratemapper.md deleted file mode 100644 index f904cf3c817..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-mappers/taxratemapper.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: TaxRateMapper -description: API reference for TaxRateMapper in Umbraco Commerce ---- -## TaxRateMapper - -```csharp -public static class TaxRateMapper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Mappers](README.md) - -### Methods - -#### CountryRegionTaxRateCollectionToDtos - -```csharp -public static List CountryRegionTaxRateCollectionToDtos( - IEnumerable collection) -``` - - ---- - -#### CountryRegionTaxRateDtosToCollection - -```csharp -public static IEnumerable CountryRegionTaxRateDtosToCollection( - IEnumerable dtos) -``` - - ---- - -#### CountryRegionTaxRateDtoToEntity - -```csharp -public static CountryRegionTaxRate CountryRegionTaxRateDtoToEntity(CountryRegionTaxRateDto dto) -``` - - ---- - -#### CountryRegionTaxRateEntityToDto - -```csharp -public static CountryRegionTaxRateDto CountryRegionTaxRateEntityToDto(CountryRegionTaxRate entity) -``` - - ---- - -#### DecimalToTaxRate - -```csharp -public static TaxRate DecimalToTaxRate(decimal value) -``` - - ---- - -#### TaxRateToDecimal - -```csharp -public static decimal TaxRateToDecimal(TaxRate value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/README.md deleted file mode 100644 index 76304a3e3de..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/README.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Models.Reporting -description: API reference for Umbraco.Commerce.Cms.Web.Models.Reporting in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Models.Reporting namespace - -| Public Type | Description | -| --- | --- | -| class [CartConversionRateDataDto](cartconversionratedatadto.md) | | -| class [CartConversionRatesReportDataDto](cartconversionratesreportdatadto.md) | | -| class [ChartDataDto<TValue>](chartdatadto-1.md) | | -| class [ChartDatasetDto<TValue>](chartdatasetdto-1.md) | | -| class [ChartReportDataDto<TValue>](chartreportdatadto-1.md) | | -| class [ChartReportDataDto<TValue,TChartDataValue>](chartreportdatadto-2.md) | | -| class [ProductSalesDataDto](productsalesdatadto.md) | | -| class [ProductSalesReportDataDto](productsalesreportdatadto.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/cartconversionratedatadto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/cartconversionratedatadto.md deleted file mode 100644 index c2dae3313f1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/cartconversionratedatadto.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: CartConversionRateDataDto -description: API reference for CartConversionRateDataDto in Umbraco Commerce ---- -## CartConversionRateDataDto - -```csharp -public class CartConversionRateDataDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### CartConversionRateDataDto - -The default constructor. - -```csharp -public CartConversionRateDataDto() -``` - - -### Properties - -#### CurrentCarts - -```csharp -public long CurrentCarts { get; set; } -``` - - ---- - -#### CurrentPercentageOfTotalCarts - -```csharp -public FormattedValueDto CurrentPercentageOfTotalCarts { get; set; } -``` - - ---- - -#### PercentageChange - -```csharp -public FormattedValueDto PercentageChange { get; set; } -``` - - ---- - -#### PercentagePointChange - -```csharp -public FormattedValueDto PercentagePointChange { get; set; } -``` - - ---- - -#### PreviousCarts - -```csharp -public long? PreviousCarts { get; set; } -``` - - ---- - -#### PreviousPercentageOfTotalCarts - -```csharp -public FormattedValueDto PreviousPercentageOfTotalCarts { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/cartconversionratesreportdatadto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/cartconversionratesreportdatadto.md deleted file mode 100644 index 5a204c5fc4b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/cartconversionratesreportdatadto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: CartConversionRatesReportDataDto -description: API reference for CartConversionRatesReportDataDto in Umbraco Commerce ---- -## CartConversionRatesReportDataDto - -```csharp -public class CartConversionRatesReportDataDto : ChartReportDataDto -``` - -**Inheritance** - -* Class [ChartReportDataDto<TValue,TChartDataValue>](chartreportdatadto-2.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### CartConversionRatesReportDataDto - -The default constructor. - -```csharp -public CartConversionRatesReportDataDto() -``` - - -### Properties - -#### CurrentTotalCarts - -```csharp -public long CurrentTotalCarts { get; set; } -``` - - ---- - -#### PreviousTotalCarts - -```csharp -public long? PreviousTotalCarts { get; set; } -``` - - ---- - -#### TotalCartsFinalized - -```csharp -public CartConversionRateDataDto TotalCartsFinalized { get; set; } -``` - - ---- - -#### TotalCartsReachedCheckout - -```csharp -public CartConversionRateDataDto TotalCartsReachedCheckout { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartdatadto-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartdatadto-1.md deleted file mode 100644 index 0a0e639f259..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartdatadto-1.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ChartDataDto -description: API reference for ChartDataDto in Umbraco Commerce ---- -## ChartDataDto<TValue> - -```csharp -public class ChartDataDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### ChartDataDto<TValue> - -The default constructor. - -```csharp -public ChartDataDto() -``` - - -### Properties - -#### Datasets - -```csharp -public virtual IEnumerable> Datasets { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartdatasetdto-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartdatasetdto-1.md deleted file mode 100644 index accb8762cd2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartdatasetdto-1.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: ChartDatasetDto -description: API reference for ChartDatasetDto in Umbraco Commerce ---- -## ChartDatasetDto<TValue> - -```csharp -public class ChartDatasetDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### ChartDatasetDto<TValue> - -The default constructor. - -```csharp -public ChartDatasetDto() -``` - - -### Properties - -#### Data - -```csharp -public IEnumerable Data { get; set; } -``` - - ---- - -#### Labels - -```csharp -public IEnumerable Labels { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartreportdatadto-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartreportdatadto-1.md deleted file mode 100644 index dc8a719f356..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartreportdatadto-1.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: ChartReportDataDto -description: API reference for ChartReportDataDto in Umbraco Commerce ---- -## ChartReportDataDto<TValue> - -```csharp -public class ChartReportDataDto : ChartReportDataDto -``` - -**Inheritance** - -* Class [ChartReportDataDto<TValue,TChartDataValue>](chartreportdatadto-2.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### ChartReportDataDto<TValue> - -The default constructor. - -```csharp -public ChartReportDataDto() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartreportdatadto-2.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartreportdatadto-2.md deleted file mode 100644 index 19e253aed87..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/chartreportdatadto-2.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: ChartReportDataDto -description: API reference for ChartReportDataDto in Umbraco Commerce ---- -## ChartReportDataDto<TValue,TChartDataValue> - -```csharp -public class ChartReportDataDto : ChartDataDto -``` - -**Inheritance** - -* Class [ChartDataDto<TValue>](chartdatadto-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### ChartReportDataDto<TValue,TChartDataValue> - -The default constructor. - -```csharp -public ChartReportDataDto() -``` - - -### Properties - -#### PercentageChange - -```csharp -public virtual FormattedValueDto PercentageChange { get; set; } -``` - - ---- - -#### PercentagePointChange - -```csharp -public virtual FormattedValueDto PercentagePointChange { get; set; } -``` - - ---- - -#### Value - -```csharp -public virtual FormattedValueDto Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/productsalesdatadto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/productsalesdatadto.md deleted file mode 100644 index b1553af0ca3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/productsalesdatadto.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: ProductSalesDataDto -description: API reference for ProductSalesDataDto in Umbraco Commerce ---- -## ProductSalesDataDto - -```csharp -public class ProductSalesDataDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### ProductSalesDataDto - -The default constructor. - -```csharp -public ProductSalesDataDto() -``` - - -### Properties - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### PercentageChange - -```csharp -public FormattedValueDto PercentageChange { get; set; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; set; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### TotalQuantity - -```csharp -public decimal TotalQuantity { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/productsalesreportdatadto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/productsalesreportdatadto.md deleted file mode 100644 index 08bbfa5d4f0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models-reporting/productsalesreportdatadto.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ProductSalesReportDataDto -description: API reference for ProductSalesReportDataDto in Umbraco Commerce ---- -## ProductSalesReportDataDto - -```csharp -public class ProductSalesReportDataDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models.Reporting](README.md) - -### Constructors - -#### ProductSalesReportDataDto - -The default constructor. - -```csharp -public ProductSalesReportDataDto() -``` - - -### Properties - -#### Products - -```csharp -public IEnumerable Products { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/README.md deleted file mode 100644 index 36e0f429752..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/README.md +++ /dev/null @@ -1,124 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Models -description: API reference for Umbraco.Commerce.Cms.Web.Models in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Models namespace - -| Public Type | Description | -| --- | --- | -| class [ActivityLogEntryDto](activitylogentrydto.md) | | -| class [AliasNamePairDto](aliasnamepairdto.md) | | -| class [AllowedCountryDto](allowedcountrydto.md) | | -| class [AllowedCountryRegionDto](allowedcountryregiondto.md) | | -| class [AllowedProductAttributeDto](allowedproductattributedto.md) | | -| class [AttributeCombinationDto](attributecombinationdto.md) | | -| class [AttributeDto](attributedto.md) | | -| class [CartBasicDto](cartbasicdto.md) | | -| class [CartDto](cartdto.md) | | -| class [CartEditDto](carteditdto.md) | | -| class [CartLineDto](cartlinedto.md) | | -| class [CartSaveDto](cartsavedto.md) | | -| class [CartSearchDto](cartsearchdto.md) | | -| class [CountryBasicDto](countrybasicdto.md) | | -| class [CountryDto](countrydto.md) | | -| class [CountryEditDto](countryeditdto.md) | | -| class [CountryRegionTaxRateDto](countryregiontaxratedto.md) | | -| class [CountrySaveDto](countrysavedto.md) | | -| class [CountryWithRegionsBasicDto](countrywithregionsbasicdto.md) | | -| class [CurrencyBasicDto](currencybasicdto.md) | | -| class [CurrencyDto](currencydto.md) | | -| class [CurrencyEditDto](currencyeditdto.md) | | -| class [CurrencySaveDto](currencysavedto.md) | | -| class [DiscountBasicDto](discountbasicdto.md) | | -| class [DiscountCodeDto](discountcodedto.md) | | -| class [DiscountDto](discountdto.md) | | -| class [DiscountEditDto](discounteditdto.md) | | -| class [DiscountRewardConfigDto](discountrewardconfigdto.md) | | -| class [DiscountRuleConfigDto](discountruleconfigdto.md) | | -| class [DiscountSaveDto](discountsavedto.md) | | -| class [EmailTemplateBasicDto](emailtemplatebasicdto.md) | | -| class [EmailTemplateDto](emailtemplatedto.md) | | -| class [EmailTemplateEditDto](emailtemplateeditdto.md) | | -| class [EmailTemplateSaveDto](emailtemplatesavedto.md) | | -| class [EntityBasicDto](entitybasicdto.md) | | -| class [ExportTemplateBasicDto](exporttemplatebasicdto.md) | | -| class [ExportTemplateDto](exporttemplatedto.md) | | -| class [ExportTemplateEditDto](exporttemplateeditdto.md) | | -| class [ExportTemplateSaveDto](exporttemplatesavedto.md) | | -| class [FormattedValueDto<TValue>](formattedvaluedto-1.md) | | -| class [GetAllStockDto](getallstockdto.md) | | -| class [GiftCardBasicDto](giftcardbasicdto.md) | | -| class [GiftCardDto](giftcarddto.md) | | -| class [GiftCardEditDto](giftcardeditdto.md) | | -| class [GiftCardSaveDto](giftcardsavedto.md) | | -| class [GiftCardSearchDto](giftcardsearchdto.md) | | -| interface [IHasPath](ihaspath.md) | | -| class [NamedEntityBasicDto](namedentitybasicdto.md) | | -| class [OrderBasicDto](orderbasicdto.md) | | -| class [OrderDto](orderdto.md) | | -| class [OrderEditDto](ordereditdto.md) | | -| class [OrderLineDto](orderlinedto.md) | | -| class [OrderSaveDto](ordersavedto.md) | | -| class [OrderSearchDto](ordersearchdto.md) | | -| class [OrderStatusBasicDto](orderstatusbasicdto.md) | | -| class [OrderStatusDto](orderstatusdto.md) | | -| class [OrderStatusEditDto](orderstatuseditdto.md) | | -| class [OrderStatusSaveDto](orderstatussavedto.md) | | -| class [PaymentMethodBasicDto](paymentmethodbasicdto.md) | | -| class [PaymentMethodDto](paymentmethoddto.md) | | -| class [PaymentMethodEditDto](paymentmethodeditdto.md) | | -| class [PaymentMethodSaveDto](paymentmethodsavedto.md) | | -| class [PrintTemplateBasicDto](printtemplatebasicdto.md) | | -| class [PrintTemplateDto](printtemplatedto.md) | | -| class [PrintTemplateEditDto](printtemplateeditdto.md) | | -| class [PrintTemplateSaveDto](printtemplatesavedto.md) | | -| class [ProductAttributeBasicDto](productattributebasicdto.md) | | -| class [ProductAttributeDto](productattributedto.md) | | -| class [ProductAttributeEditDto](productattributeeditdto.md) | | -| class [ProductAttributePresetBasicDto](productattributepresetbasicdto.md) | | -| class [ProductAttributePresetDto](productattributepresetdto.md) | | -| class [ProductAttributePresetEditDto](productattributepreseteditdto.md) | | -| class [ProductAttributePresetSaveDto](productattributepresetsavedto.md) | | -| class [ProductAttributeSaveDto](productattributesavedto.md) | | -| class [ProductAttributeValueDto](productattributevaluedto.md) | | -| class [ProductPriceDto](productpricedto.md) | | -| class [ProductReferencePairDto](productreferencepairdto.md) | | -| class [ProductSearchDto](productsearchdto.md) | | -| class [ProductStockLevelDto](productstockleveldto.md) | | -| class [ProductSummaryCommonDto](productsummarycommondto.md) | | -| class [ProductSummaryDto](productsummarydto.md) | | -| class [ProductVariantSearchDto](productvariantsearchdto.md) | | -| class [ProductVariantSummaryDto](productvariantsummarydto.md) | | -| class [PropertyDto](propertydto.md) | | -| class [PropertyValueDto](propertyvaluedto.md) | | -| class [RegionBasicDto](regionbasicdto.md) | | -| class [RegionDto](regiondto.md) | | -| class [RegionEditDto](regioneditdto.md) | | -| class [RegionSaveDto](regionsavedto.md) | | -| class [RegisteredCustomerInfoDto](registeredcustomerinfodto.md) | | -| abstract class [SearchDtoBase](searchdtobase.md) | | -| class [SendDiscountEmailDto](senddiscountemaildto.md) | | -| class [SendEmailDto](sendemaildto.md) | | -| class [SendGiftCardEmailDto](sendgiftcardemaildto.md) | | -| class [SendOrderEmailDto](sendorderemaildto.md) | | -| class [ServicePriceDto](servicepricedto.md) | | -| class [ShippingMethodBasicDto](shippingmethodbasicdto.md) | | -| class [ShippingMethodDto](shippingmethoddto.md) | | -| class [ShippingMethodEditDto](shippingmethodeditdto.md) | | -| class [ShippingMethodSaveDto](shippingmethodsavedto.md) | | -| class [SortEntitiesPostDto](sortentitiespostdto.md) | | -| class [StockDto](stockdto.md) | | -| class [StoreActionDto](storeactiondto.md) | | -| class [StoreActionsDto](storeactionsdto.md) | | -| class [StoreBasicDto](storebasicdto.md) | | -| class [StoreDto](storedto.md) | | -| class [StoreEditDto](storeeditdto.md) | | -| class [StoreSaveDto](storesavedto.md) | | -| class [StoreStatsDto](storestatsdto.md) | | -| class [StoreSummaryDto](storesummarydto.md) | | -| class [TaxClassBasicDto](taxclassbasicdto.md) | | -| class [TaxClassDto](taxclassdto.md) | | -| class [TaxClassEditDto](taxclasseditdto.md) | | -| class [TaxClassSaveDto](taxclasssavedto.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/activitylogentrydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/activitylogentrydto.md deleted file mode 100644 index cac235b1783..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/activitylogentrydto.md +++ /dev/null @@ -1,133 +0,0 @@ ---- -title: ActivityLogEntryDto -description: API reference for ActivityLogEntryDto in Umbraco Commerce ---- -## ActivityLogEntryDto - -```csharp -public class ActivityLogEntryDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ActivityLogEntryDto - -The default constructor. - -```csharp -public ActivityLogEntryDto() -``` - - -### Properties - -#### BadgeColorClass - -```csharp -public string BadgeColorClass { get; set; } -``` - - ---- - -#### BadgeLabel - -```csharp -public string BadgeLabel { get; set; } -``` - - ---- - -#### EntityId - -```csharp -public Guid EntityId { get; set; } -``` - - ---- - -#### EntitySummary - -```csharp -public string EntitySummary { get; set; } -``` - - ---- - -#### EntityType - -```csharp -public string EntityType { get; set; } -``` - - ---- - -#### EventDateUtc - -```csharp -public DateTime EventDateUtc { get; set; } -``` - - ---- - -#### EventSummary - -```csharp -public string EventSummary { get; set; } -``` - - ---- - -#### EventType - -```csharp -public string EventType { get; set; } -``` - - ---- - -#### RoutePath - -```csharp -public string RoutePath { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - ---- - -#### UserId - -```csharp -public int UserId { get; set; } -``` - - ---- - -#### UserName - -```csharp -public string UserName { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/aliasnamepairdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/aliasnamepairdto.md deleted file mode 100644 index 2236e4756b7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/aliasnamepairdto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: AliasNamePairDto -description: API reference for AliasNamePairDto in Umbraco Commerce ---- -## AliasNamePairDto - -```csharp -public class AliasNamePairDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### AliasNamePairDto - -The default constructor. - -```csharp -public AliasNamePairDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedcountrydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedcountrydto.md deleted file mode 100644 index 0aab595cc4b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedcountrydto.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: AllowedCountryDto -description: API reference for AllowedCountryDto in Umbraco Commerce ---- -## AllowedCountryDto - -```csharp -public class AllowedCountryDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### AllowedCountryDto - -The default constructor. - -```csharp -public AllowedCountryDto() -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedcountryregiondto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedcountryregiondto.md deleted file mode 100644 index 2014535609f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedcountryregiondto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: AllowedCountryRegionDto -description: API reference for AllowedCountryRegionDto in Umbraco Commerce ---- -## AllowedCountryRegionDto - -```csharp -public class AllowedCountryRegionDto : AllowedCountryDto -``` - -**Inheritance** - -* Class [AllowedCountryDto](allowedcountrydto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### AllowedCountryRegionDto - -The default constructor. - -```csharp -public AllowedCountryRegionDto() -``` - - -### Properties - -#### RegionId - -```csharp -public Guid? RegionId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedproductattributedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedproductattributedto.md deleted file mode 100644 index 7ff1e5a23d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/allowedproductattributedto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: AllowedProductAttributeDto -description: API reference for AllowedProductAttributeDto in Umbraco Commerce ---- -## AllowedProductAttributeDto - -```csharp -public class AllowedProductAttributeDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### AllowedProductAttributeDto - -The default constructor. - -```csharp -public AllowedProductAttributeDto() -``` - - -### Properties - -#### AllowedValueAliases - -```csharp -public List AllowedValueAliases { get; set; } -``` - - ---- - -#### ProductAttributeAlias - -```csharp -public string ProductAttributeAlias { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/attributecombinationdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/attributecombinationdto.md deleted file mode 100644 index aeb630d4474..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/attributecombinationdto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: AttributeCombinationDto -description: API reference for AttributeCombinationDto in Umbraco Commerce ---- -## AttributeCombinationDto - -```csharp -public class AttributeCombinationDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### AttributeCombinationDto - -The default constructor. - -```csharp -public AttributeCombinationDto() -``` - - -### Properties - -#### Name - -```csharp -public AliasNamePairDto Name { get; set; } -``` - - ---- - -#### Value - -```csharp -public AliasNamePairDto Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/attributedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/attributedto.md deleted file mode 100644 index 1ba6a2ec4cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/attributedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: AttributeDto -description: API reference for AttributeDto in Umbraco Commerce ---- -## AttributeDto - -```csharp -public class AttributeDto : AliasNamePairDto -``` - -**Inheritance** - -* Class [AliasNamePairDto](aliasnamepairdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### AttributeDto - -The default constructor. - -```csharp -public AttributeDto() -``` - - -### Properties - -#### Values - -```csharp -public IEnumerable Values { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartbasicdto.md deleted file mode 100644 index ba2a0974ab5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartbasicdto.md +++ /dev/null @@ -1,128 +0,0 @@ ---- -title: CartBasicDto -description: API reference for CartBasicDto in Umbraco Commerce ---- -## CartBasicDto - -```csharp -public class CartBasicDto : EntityBasicDto -``` - -**Inheritance** - -* Class [EntityBasicDto](entitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CartBasicDto - -The default constructor. - -```csharp -public CartBasicDto() -``` - - -### Properties - -#### CartNumber - -```csharp -public string CartNumber { get; set; } -``` - - ---- - -#### CreateDate - -```csharp -public DateTime CreateDate { get; set; } -``` - - ---- - -#### CustomerEmail - -```csharp -public string CustomerEmail { get; set; } -``` - - ---- - -#### CustomerFirstName - -```csharp -public string CustomerFirstName { get; set; } -``` - - ---- - -#### CustomerFullName - -```csharp -public string CustomerFullName { get; } -``` - - ---- - -#### CustomerLastName - -```csharp -public string CustomerLastName { get; set; } -``` - - ---- - -#### Properties - -```csharp -public Dictionary Properties { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - ---- - -#### TotalPrice - -```csharp -public string TotalPrice { get; set; } -``` - - ---- - -#### TransactionAmount - -```csharp -public string TransactionAmount { get; set; } -``` - - ---- - -#### UpdateDate - -```csharp -public DateTime UpdateDate { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartdto.md deleted file mode 100644 index 34789f18a4e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartdto.md +++ /dev/null @@ -1,371 +0,0 @@ ---- -title: CartDto -description: API reference for CartDto in Umbraco Commerce ---- -## CartDto - -```csharp -public class CartDto : CartBasicDto -``` - -**Inheritance** - -* Class [CartBasicDto](cartbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CartDto - -The default constructor. - -```csharp -public CartDto() -``` - - -### Properties - -#### AppliedDiscountCodes - -```csharp -public List AppliedDiscountCodes { get; set; } -``` - - ---- - -#### AppliedGiftCardCodes - -```csharp -public List AppliedGiftCardCodes { get; set; } -``` - - ---- - -#### CurrencyCode - -```csharp -public string CurrencyCode { get; set; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; set; } -``` - - ---- - -#### CustomerReference - -```csharp -public string CustomerReference { get; set; } -``` - - ---- - -#### LanguageIsoCode - -```csharp -public string LanguageIsoCode { get; set; } -``` - - ---- - -#### OrderLines - -```csharp -public List OrderLines { get; set; } -``` - - ---- - -#### OrderStatusCode - -```csharp -public int OrderStatusCode { get; set; } -``` - - ---- - -#### PaymentCountry - -```csharp -public CountryBasicDto PaymentCountry { get; set; } -``` - - ---- - -#### PaymentCountryId - -```csharp -public Guid? PaymentCountryId { get; set; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodBasicDto PaymentMethod { get; set; } -``` - - ---- - -#### PaymentMethodId - -```csharp -public Guid? PaymentMethodId { get; set; } -``` - - ---- - -#### PaymentMethodPrice - -```csharp -public string PaymentMethodPrice { get; set; } -``` - - ---- - -#### PaymentMethodPriceWithoutAdjustments - -```csharp -public string PaymentMethodPriceWithoutAdjustments { get; set; } -``` - - ---- - -#### PaymentRegion - -```csharp -public RegionBasicDto PaymentRegion { get; set; } -``` - - ---- - -#### PaymentRegionId - -```csharp -public Guid? PaymentRegionId { get; set; } -``` - - ---- - -#### ShippingCountry - -```csharp -public CountryBasicDto ShippingCountry { get; set; } -``` - - ---- - -#### ShippingCountryId - -```csharp -public Guid? ShippingCountryId { get; set; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodBasicDto ShippingMethod { get; set; } -``` - - ---- - -#### ShippingMethodId - -```csharp -public Guid? ShippingMethodId { get; set; } -``` - - ---- - -#### ShippingMethodPrice - -```csharp -public string ShippingMethodPrice { get; set; } -``` - - ---- - -#### ShippingMethodPriceWithoutAdjustments - -```csharp -public string ShippingMethodPriceWithoutAdjustments { get; set; } -``` - - ---- - -#### ShippingRegion - -```csharp -public RegionBasicDto ShippingRegion { get; set; } -``` - - ---- - -#### ShippingRegionId - -```csharp -public Guid? ShippingRegionId { get; set; } -``` - - ---- - -#### SubtotalPrice - -```csharp -public string SubtotalPrice { get; set; } -``` - - ---- - -#### SubtotalPriceDiscountAdjustment - -```csharp -public string SubtotalPriceDiscountAdjustment { get; set; } -``` - - ---- - -#### SubtotalPriceFeesAdjustment - -```csharp -public string SubtotalPriceFeesAdjustment { get; set; } -``` - - ---- - -#### SubtotalPriceWithPreviousAdjustments - -```csharp -public string SubtotalPriceWithPreviousAdjustments { get; set; } -``` - - ---- - -#### Tags - -```csharp -public List Tags { get; set; } -``` - - ---- - -#### TotalGiftCardAdjustment - -```csharp -public string TotalGiftCardAdjustment { get; set; } -``` - - ---- - -#### TotalPriceDiscountAdjustment - -```csharp -public string TotalPriceDiscountAdjustment { get; set; } -``` - - ---- - -#### TotalPriceFeesAdjustment - -```csharp -public string TotalPriceFeesAdjustment { get; set; } -``` - - ---- - -#### TotalPriceTax - -```csharp -public string TotalPriceTax { get; set; } -``` - - ---- - -#### TotalPriceWithPreviousAdjustments - -```csharp -public string TotalPriceWithPreviousAdjustments { get; set; } -``` - - ---- - -#### TotalReceived - -```csharp -public string TotalReceived { get; set; } -``` - - ---- - -#### TransactionAmountAuthorized - -```csharp -public string TransactionAmountAuthorized { get; set; } -``` - - ---- - -#### TransactionFee - -```csharp -public string TransactionFee { get; set; } -``` - - ---- - -#### ZeroAmount - -```csharp -public string ZeroAmount { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/carteditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/carteditdto.md deleted file mode 100644 index c2b3d36d472..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/carteditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: CartEditDto -description: API reference for CartEditDto in Umbraco Commerce ---- -## CartEditDto - -```csharp -public class CartEditDto : CartDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [CartDto](cartdto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CartEditDto - -The default constructor. - -```csharp -public CartEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartlinedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartlinedto.md deleted file mode 100644 index b37e9d9a727..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartlinedto.md +++ /dev/null @@ -1,178 +0,0 @@ ---- -title: CartLineDto -description: API reference for CartLineDto in Umbraco Commerce ---- -## CartLineDto - -```csharp -public class CartLineDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CartLineDto - -The default constructor. - -```csharp -public CartLineDto() -``` - - -### Properties - -#### Attributes - -```csharp -public List Attributes { get; set; } -``` - - ---- - -#### BasePrice - -```csharp -public string BasePrice { get; set; } -``` - - ---- - -#### BasePriceWithoutAdjustments - -```csharp -public string BasePriceWithoutAdjustments { get; set; } -``` - - ---- - -#### BundleId - -```csharp -public string BundleId { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### OrderLines - -```csharp -public List OrderLines { get; set; } -``` - - ---- - -#### ParentBundleId - -```csharp -public string ParentBundleId { get; set; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; set; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; set; } -``` - - ---- - -#### Properties - -```csharp -public Dictionary Properties { get; set; } -``` - - ---- - -#### Quantity - -```csharp -public decimal Quantity { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### TotalPrice - -```csharp -public string TotalPrice { get; set; } -``` - - ---- - -#### TotalPriceWithoutAdjustments - -```csharp -public string TotalPriceWithoutAdjustments { get; set; } -``` - - ---- - -#### UnitPrice - -```csharp -public string UnitPrice { get; set; } -``` - - ---- - -#### UnitPriceWithoutAdjustments - -```csharp -public string UnitPriceWithoutAdjustments { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartsavedto.md deleted file mode 100644 index 2ae5829ab5f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartsavedto.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: CartSaveDto -description: API reference for CartSaveDto in Umbraco Commerce ---- -## CartSaveDto - -```csharp -public class CartSaveDto : CartDto, IValidatableObject -``` - -**Inheritance** - -* Class [CartDto](cartdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CartSaveDto - -The default constructor. - -```csharp -public CartSaveDto() -``` - - -### Properties - -#### DiscountOrGiftCardCode - -```csharp -public string DiscountOrGiftCardCode { get; set; } -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartsearchdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartsearchdto.md deleted file mode 100644 index ce97ea9d632..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/cartsearchdto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: CartSearchDto -description: API reference for CartSearchDto in Umbraco Commerce ---- -## CartSearchDto - -```csharp -public class CartSearchDto : SearchDtoBase -``` - -**Inheritance** - -* Class [SearchDtoBase](searchdtobase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CartSearchDto - -The default constructor. - -```csharp -public CartSearchDto() -``` - - -### Properties - -#### CartStatuses - -```csharp -public string[] CartStatuses { get; set; } -``` - - ---- - -#### SearchTerm - -```csharp -public string SearchTerm { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrybasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrybasicdto.md deleted file mode 100644 index 4717f779bd0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrybasicdto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: CountryBasicDto -description: API reference for CountryBasicDto in Umbraco Commerce ---- -## CountryBasicDto - -```csharp -public class CountryBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CountryBasicDto - -The default constructor. - -```csharp -public CountryBasicDto() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrydto.md deleted file mode 100644 index c336fe94c4d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrydto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: CountryDto -description: API reference for CountryDto in Umbraco Commerce ---- -## CountryDto - -```csharp -public class CountryDto : CountryBasicDto -``` - -**Inheritance** - -* Class [CountryBasicDto](countrybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CountryDto - -The default constructor. - -```csharp -public CountryDto() -``` - - -### Properties - -#### DefaultCurrencyId - -```csharp -public Guid? DefaultCurrencyId { get; set; } -``` - - ---- - -#### DefaultPaymentMethodId - -```csharp -public Guid? DefaultPaymentMethodId { get; set; } -``` - - ---- - -#### DefaultShippingMethodId - -```csharp -public Guid? DefaultShippingMethodId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countryeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countryeditdto.md deleted file mode 100644 index 695b8c23a95..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countryeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: CountryEditDto -description: API reference for CountryEditDto in Umbraco Commerce ---- -## CountryEditDto - -```csharp -public class CountryEditDto : CountryDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [CountryDto](countrydto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CountryEditDto - -The default constructor. - -```csharp -public CountryEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countryregiontaxratedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countryregiontaxratedto.md deleted file mode 100644 index bb1ab565695..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countryregiontaxratedto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: CountryRegionTaxRateDto -description: API reference for CountryRegionTaxRateDto in Umbraco Commerce ---- -## CountryRegionTaxRateDto - -```csharp -public class CountryRegionTaxRateDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CountryRegionTaxRateDto - -The default constructor. - -```csharp -public CountryRegionTaxRateDto() -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; set; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; set; } -``` - - ---- - -#### TaxRate - -```csharp -public decimal TaxRate { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrysavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrysavedto.md deleted file mode 100644 index c92620369b3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrysavedto.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: CountrySaveDto -description: API reference for CountrySaveDto in Umbraco Commerce ---- -## CountrySaveDto - -```csharp -public class CountrySaveDto : CountryDto, IValidatableObject -``` - -**Inheritance** - -* Class [CountryDto](countrydto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CountrySaveDto - -The default constructor. - -```csharp -public CountrySaveDto() -``` - - -### Properties - -#### PresetIsoCode - -```csharp -public string PresetIsoCode { get; set; } -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrywithregionsbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrywithregionsbasicdto.md deleted file mode 100644 index 91a794d1bd8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/countrywithregionsbasicdto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: CountryWithRegionsBasicDto -description: API reference for CountryWithRegionsBasicDto in Umbraco Commerce ---- -## CountryWithRegionsBasicDto - -```csharp -public class CountryWithRegionsBasicDto : CountryBasicDto -``` - -**Inheritance** - -* Class [CountryBasicDto](countrybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CountryWithRegionsBasicDto - -The default constructor. - -```csharp -public CountryWithRegionsBasicDto() -``` - - -### Properties - -#### Regions - -```csharp -public List Regions { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencybasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencybasicdto.md deleted file mode 100644 index bb7debc6a35..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencybasicdto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: CurrencyBasicDto -description: API reference for CurrencyBasicDto in Umbraco Commerce ---- -## CurrencyBasicDto - -```csharp -public class CurrencyBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CurrencyBasicDto - -The default constructor. - -```csharp -public CurrencyBasicDto() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencydto.md deleted file mode 100644 index eff1e511a93..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencydto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: CurrencyDto -description: API reference for CurrencyDto in Umbraco Commerce ---- -## CurrencyDto - -```csharp -public class CurrencyDto : CurrencyBasicDto -``` - -**Inheritance** - -* Class [CurrencyBasicDto](currencybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CurrencyDto - -The default constructor. - -```csharp -public CurrencyDto() -``` - - -### Properties - -#### AllowedCountries - -```csharp -public List AllowedCountries { get; set; } -``` - - ---- - -#### CultureName - -```csharp -public string CultureName { get; set; } -``` - - ---- - -#### FormatTemplate - -```csharp -public string FormatTemplate { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencyeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencyeditdto.md deleted file mode 100644 index 16abec0893e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencyeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: CurrencyEditDto -description: API reference for CurrencyEditDto in Umbraco Commerce ---- -## CurrencyEditDto - -```csharp -public class CurrencyEditDto : CurrencyDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [CurrencyDto](currencydto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CurrencyEditDto - -The default constructor. - -```csharp -public CurrencyEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencysavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencysavedto.md deleted file mode 100644 index 4bd265d9687..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/currencysavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: CurrencySaveDto -description: API reference for CurrencySaveDto in Umbraco Commerce ---- -## CurrencySaveDto - -```csharp -public class CurrencySaveDto : CurrencyDto, IValidatableObject -``` - -**Inheritance** - -* Class [CurrencyDto](currencydto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### CurrencySaveDto - -The default constructor. - -```csharp -public CurrencySaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountbasicdto.md deleted file mode 100644 index 79137c9d429..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountbasicdto.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: DiscountBasicDto -description: API reference for DiscountBasicDto in Umbraco Commerce ---- -## DiscountBasicDto - -```csharp -public class DiscountBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountBasicDto - -The default constructor. - -```csharp -public DiscountBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### BlockFurtherDiscounts - -```csharp -public bool BlockFurtherDiscounts { get; set; } -``` - - ---- - -#### BlockIfPreviousDiscounts - -```csharp -public bool BlockIfPreviousDiscounts { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### Status - -```csharp -public string Status { get; set; } -``` - - ---- - -#### StatusColor - -```csharp -public string StatusColor { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - ---- - -#### Type - -```csharp -public string Type { get; set; } -``` - - ---- - -#### TypeColor - -```csharp -public string TypeColor { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountcodedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountcodedto.md deleted file mode 100644 index 15ce847ae22..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountcodedto.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: DiscountCodeDto -description: API reference for DiscountCodeDto in Umbraco Commerce ---- -## DiscountCodeDto - -```csharp -public class DiscountCodeDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountCodeDto - -The default constructor. - -```csharp -public DiscountCodeDto() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - ---- - -#### IsUnlimited - -```csharp -public bool IsUnlimited { get; set; } -``` - - ---- - -#### UsageLimit - -```csharp -public int? UsageLimit { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountdto.md deleted file mode 100644 index cbda0538759..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountdto.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: DiscountDto -description: API reference for DiscountDto in Umbraco Commerce ---- -## DiscountDto - -```csharp -public class DiscountDto : DiscountBasicDto -``` - -**Inheritance** - -* Class [DiscountBasicDto](discountbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountDto - -The default constructor. - -```csharp -public DiscountDto() -``` - - -### Properties - -#### Codes - -```csharp -public List Codes { get; set; } -``` - - ---- - -#### ExpiryDate - -```csharp -public DateTime? ExpiryDate { get; set; } -``` - - ---- - -#### IsActive - -```csharp -public bool IsActive { get; set; } -``` - - ---- - -#### Rewards - -```csharp -public List Rewards { get; set; } -``` - - ---- - -#### Rules - -```csharp -public DiscountRuleConfigDto Rules { get; set; } -``` - - ---- - -#### StartDate - -```csharp -public DateTime? StartDate { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discounteditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discounteditdto.md deleted file mode 100644 index 035a769ca19..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discounteditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: DiscountEditDto -description: API reference for DiscountEditDto in Umbraco Commerce ---- -## DiscountEditDto - -```csharp -public class DiscountEditDto : DiscountDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [DiscountDto](discountdto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountEditDto - -The default constructor. - -```csharp -public DiscountEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountrewardconfigdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountrewardconfigdto.md deleted file mode 100644 index 81514918342..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountrewardconfigdto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: DiscountRewardConfigDto -description: API reference for DiscountRewardConfigDto in Umbraco Commerce ---- -## DiscountRewardConfigDto - -```csharp -public class DiscountRewardConfigDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountRewardConfigDto - -The default constructor. - -```csharp -public DiscountRewardConfigDto() -``` - - -### Properties - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - ---- - -#### RewardProviderAlias - -```csharp -public string RewardProviderAlias { get; set; } -``` - - ---- - -#### Settings - -```csharp -public IDictionary Settings { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountruleconfigdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountruleconfigdto.md deleted file mode 100644 index a60343a77ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountruleconfigdto.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: DiscountRuleConfigDto -description: API reference for DiscountRuleConfigDto in Umbraco Commerce ---- -## DiscountRuleConfigDto - -```csharp -public class DiscountRuleConfigDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountRuleConfigDto - -The default constructor. - -```csharp -public DiscountRuleConfigDto() -``` - - -### Properties - -#### Children - -```csharp -public IList Children { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - ---- - -#### RuleProviderAlias - -```csharp -public string RuleProviderAlias { get; set; } -``` - - ---- - -#### Settings - -```csharp -public IDictionary Settings { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountsavedto.md deleted file mode 100644 index 14166499d17..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/discountsavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DiscountSaveDto -description: API reference for DiscountSaveDto in Umbraco Commerce ---- -## DiscountSaveDto - -```csharp -public class DiscountSaveDto : DiscountDto, IValidatableObject -``` - -**Inheritance** - -* Class [DiscountDto](discountdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### DiscountSaveDto - -The default constructor. - -```csharp -public DiscountSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatebasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatebasicdto.md deleted file mode 100644 index 35ef63c4f41..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatebasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: EmailTemplateBasicDto -description: API reference for EmailTemplateBasicDto in Umbraco Commerce ---- -## EmailTemplateBasicDto - -```csharp -public class EmailTemplateBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### EmailTemplateBasicDto - -The default constructor. - -```csharp -public EmailTemplateBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Category - -```csharp -public string Category { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatedto.md deleted file mode 100644 index a841ff72fc5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatedto.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: EmailTemplateDto -description: API reference for EmailTemplateDto in Umbraco Commerce ---- -## EmailTemplateDto - -```csharp -public class EmailTemplateDto : EmailTemplateBasicDto -``` - -**Inheritance** - -* Class [EmailTemplateBasicDto](emailtemplatebasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### EmailTemplateDto - -The default constructor. - -```csharp -public EmailTemplateDto() -``` - - -### Properties - -#### BccAddresses - -```csharp -public string BccAddresses { get; set; } -``` - - ---- - -#### CcAddresses - -```csharp -public string CcAddresses { get; set; } -``` - - ---- - -#### ReplyToAddresses - -```csharp -public string ReplyToAddresses { get; set; } -``` - - ---- - -#### SenderAddress - -```csharp -public string SenderAddress { get; set; } -``` - - ---- - -#### SenderName - -```csharp -public string SenderName { get; set; } -``` - - ---- - -#### SendToCustomer - -```csharp -public bool SendToCustomer { get; set; } -``` - - ---- - -#### Subject - -```csharp -public string Subject { get; set; } -``` - - ---- - -#### TemplateView - -```csharp -public string TemplateView { get; set; } -``` - - ---- - -#### ToAddresses - -```csharp -public string ToAddresses { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplateeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplateeditdto.md deleted file mode 100644 index fc4ce8f8790..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplateeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: EmailTemplateEditDto -description: API reference for EmailTemplateEditDto in Umbraco Commerce ---- -## EmailTemplateEditDto - -```csharp -public class EmailTemplateEditDto : EmailTemplateDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [EmailTemplateDto](emailtemplatedto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### EmailTemplateEditDto - -The default constructor. - -```csharp -public EmailTemplateEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatesavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatesavedto.md deleted file mode 100644 index 6bbd9dad322..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/emailtemplatesavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: EmailTemplateSaveDto -description: API reference for EmailTemplateSaveDto in Umbraco Commerce ---- -## EmailTemplateSaveDto - -```csharp -public class EmailTemplateSaveDto : EmailTemplateDto, IValidatableObject -``` - -**Inheritance** - -* Class [EmailTemplateDto](emailtemplatedto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### EmailTemplateSaveDto - -The default constructor. - -```csharp -public EmailTemplateSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/entitybasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/entitybasicdto.md deleted file mode 100644 index 8351ba3e26e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/entitybasicdto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: EntityBasicDto -description: API reference for EntityBasicDto in Umbraco Commerce ---- -## EntityBasicDto - -```csharp -public class EntityBasicDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### EntityBasicDto - -The default constructor. - -```csharp -public EntityBasicDto() -``` - - -### Properties - -#### EntityType - -```csharp -public string EntityType { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatebasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatebasicdto.md deleted file mode 100644 index 6d939867adb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatebasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: ExportTemplateBasicDto -description: API reference for ExportTemplateBasicDto in Umbraco Commerce ---- -## ExportTemplateBasicDto - -```csharp -public class ExportTemplateBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ExportTemplateBasicDto - -The default constructor. - -```csharp -public ExportTemplateBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Category - -```csharp -public string Category { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatedto.md deleted file mode 100644 index 0af55506be9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatedto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: ExportTemplateDto -description: API reference for ExportTemplateDto in Umbraco Commerce ---- -## ExportTemplateDto - -```csharp -public class ExportTemplateDto : ExportTemplateBasicDto -``` - -**Inheritance** - -* Class [ExportTemplateBasicDto](exporttemplatebasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ExportTemplateDto - -The default constructor. - -```csharp -public ExportTemplateDto() -``` - - -### Properties - -#### ExportStrategy - -```csharp -public string ExportStrategy { get; set; } -``` - - ---- - -#### FileExtension - -```csharp -public string FileExtension { get; set; } -``` - - ---- - -#### FileMimeType - -```csharp -public string FileMimeType { get; set; } -``` - - ---- - -#### TemplateView - -```csharp -public string TemplateView { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplateeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplateeditdto.md deleted file mode 100644 index 755319fd925..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplateeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ExportTemplateEditDto -description: API reference for ExportTemplateEditDto in Umbraco Commerce ---- -## ExportTemplateEditDto - -```csharp -public class ExportTemplateEditDto : ExportTemplateDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [ExportTemplateDto](exporttemplatedto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ExportTemplateEditDto - -The default constructor. - -```csharp -public ExportTemplateEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatesavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatesavedto.md deleted file mode 100644 index ecc2c5a8182..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/exporttemplatesavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ExportTemplateSaveDto -description: API reference for ExportTemplateSaveDto in Umbraco Commerce ---- -## ExportTemplateSaveDto - -```csharp -public class ExportTemplateSaveDto : ExportTemplateDto, IValidatableObject -``` - -**Inheritance** - -* Class [ExportTemplateDto](exporttemplatedto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ExportTemplateSaveDto - -The default constructor. - -```csharp -public ExportTemplateSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/formattedvaluedto-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/formattedvaluedto-1.md deleted file mode 100644 index 02466b21f81..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/formattedvaluedto-1.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: FormattedValueDto -description: API reference for FormattedValueDto in Umbraco Commerce ---- -## FormattedValueDto<TValue> - -```csharp -public class FormattedValueDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### FormattedValueDto<TValue> - -The default constructor. - -```csharp -public FormattedValueDto() -``` - - -### Properties - -#### Value - -```csharp -public TValue Value { get; set; } -``` - - ---- - -#### ValueFormatted - -```csharp -public string ValueFormatted { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/getallstockdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/getallstockdto.md deleted file mode 100644 index a546707c414..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/getallstockdto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: GetAllStockDto -description: API reference for GetAllStockDto in Umbraco Commerce ---- -## GetAllStockDto - -```csharp -public class GetAllStockDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### GetAllStockDto - -The default constructor. - -```csharp -public GetAllStockDto() -``` - - -### Properties - -#### ProductReferences - -```csharp -public ProductReferencePairDto[] ProductReferences { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardbasicdto.md deleted file mode 100644 index 160063f2496..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardbasicdto.md +++ /dev/null @@ -1,137 +0,0 @@ ---- -title: GiftCardBasicDto -description: API reference for GiftCardBasicDto in Umbraco Commerce ---- -## GiftCardBasicDto - -```csharp -public class GiftCardBasicDto : EntityBasicDto -``` - -**Inheritance** - -* Class [EntityBasicDto](entitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### GiftCardBasicDto - -The default constructor. - -```csharp -public GiftCardBasicDto() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### CreateDate - -```csharp -public DateTime CreateDate { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### OrderId - -```csharp -public Guid? OrderId { get; set; } -``` - - ---- - -#### OrderNumber - -```csharp -public string OrderNumber { get; set; } -``` - - ---- - -#### OriginalAmount - -```csharp -public decimal OriginalAmount { get; set; } -``` - - ---- - -#### OriginalAmountFormatted - -```csharp -public string OriginalAmountFormatted { get; set; } -``` - - ---- - -#### RemainingAmount - -```csharp -public decimal RemainingAmount { get; set; } -``` - - ---- - -#### RemainingAmountFormatted - -```csharp -public string RemainingAmountFormatted { get; set; } -``` - - ---- - -#### Status - -```csharp -public string Status { get; set; } -``` - - ---- - -#### StatusColor - -```csharp -public string StatusColor { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcarddto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcarddto.md deleted file mode 100644 index ab9122fcecc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcarddto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: GiftCardDto -description: API reference for GiftCardDto in Umbraco Commerce ---- -## GiftCardDto - -```csharp -public class GiftCardDto : GiftCardBasicDto -``` - -**Inheritance** - -* Class [GiftCardBasicDto](giftcardbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### GiftCardDto - -The default constructor. - -```csharp -public GiftCardDto() -``` - - -### Properties - -#### CurrencyId - -```csharp -public Guid? CurrencyId { get; set; } -``` - - ---- - -#### ExpiryDate - -```csharp -public DateTime? ExpiryDate { get; set; } -``` - - ---- - -#### IsActive - -```csharp -public bool IsActive { get; set; } -``` - - ---- - -#### Properties - -```csharp -public Dictionary Properties { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardeditdto.md deleted file mode 100644 index 0427a8fcdba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: GiftCardEditDto -description: API reference for GiftCardEditDto in Umbraco Commerce ---- -## GiftCardEditDto - -```csharp -public class GiftCardEditDto : GiftCardDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [GiftCardDto](giftcarddto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### GiftCardEditDto - -The default constructor. - -```csharp -public GiftCardEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardsavedto.md deleted file mode 100644 index fa6903d9acb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardsavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: GiftCardSaveDto -description: API reference for GiftCardSaveDto in Umbraco Commerce ---- -## GiftCardSaveDto - -```csharp -public class GiftCardSaveDto : GiftCardDto, IValidatableObject -``` - -**Inheritance** - -* Class [GiftCardDto](giftcarddto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### GiftCardSaveDto - -The default constructor. - -```csharp -public GiftCardSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardsearchdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardsearchdto.md deleted file mode 100644 index 2ffc6ffafe1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/giftcardsearchdto.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: GiftCardSearchDto -description: API reference for GiftCardSearchDto in Umbraco Commerce ---- -## GiftCardSearchDto - -```csharp -public class GiftCardSearchDto : SearchDtoBase -``` - -**Inheritance** - -* Class [SearchDtoBase](searchdtobase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### GiftCardSearchDto - -The default constructor. - -```csharp -public GiftCardSearchDto() -``` - - -### Properties - -#### SearchTerm - -```csharp -public string SearchTerm { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ihaspath.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ihaspath.md deleted file mode 100644 index 5671b6732e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ihaspath.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasPath -description: API reference for IHasPath in Umbraco Commerce ---- -## IHasPath - -```csharp -public interface IHasPath -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Properties - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/namedentitybasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/namedentitybasicdto.md deleted file mode 100644 index ac2fba2f813..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/namedentitybasicdto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: NamedEntityBasicDto -description: API reference for NamedEntityBasicDto in Umbraco Commerce ---- -## NamedEntityBasicDto - -```csharp -public class NamedEntityBasicDto : EntityBasicDto -``` - -**Inheritance** - -* Class [EntityBasicDto](entitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### NamedEntityBasicDto - -The default constructor. - -```csharp -public NamedEntityBasicDto() -``` - - -### Properties - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderbasicdto.md deleted file mode 100644 index 1e3441ec808..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderbasicdto.md +++ /dev/null @@ -1,200 +0,0 @@ ---- -title: OrderBasicDto -description: API reference for OrderBasicDto in Umbraco Commerce ---- -## OrderBasicDto - -```csharp -public class OrderBasicDto : EntityBasicDto -``` - -**Inheritance** - -* Class [EntityBasicDto](entitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderBasicDto - -The default constructor. - -```csharp -public OrderBasicDto() -``` - - -### Properties - -#### CartNumber - -```csharp -public string CartNumber { get; set; } -``` - - ---- - -#### CreateDate - -```csharp -public DateTime CreateDate { get; set; } -``` - - ---- - -#### CustomerFirstName - -```csharp -public string CustomerFirstName { get; set; } -``` - - ---- - -#### CustomerFullName - -```csharp -public string CustomerFullName { get; } -``` - - ---- - -#### CustomerLastName - -```csharp -public string CustomerLastName { get; set; } -``` - - ---- - -#### FinalizedDate - -```csharp -public DateTime? FinalizedDate { get; set; } -``` - - ---- - -#### OrderNumber - -```csharp -public string OrderNumber { get; set; } -``` - - ---- - -#### OrderStatus - -```csharp -public OrderStatusBasicDto OrderStatus { get; set; } -``` - - ---- - -#### OrderStatusId - -```csharp -public Guid OrderStatusId { get; set; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodBasicDto PaymentMethod { get; set; } -``` - - ---- - -#### PaymentMethodId - -```csharp -public Guid? PaymentMethodId { get; set; } -``` - - ---- - -#### PaymentStatus - -```csharp -public string PaymentStatus { get; set; } -``` - - ---- - -#### PaymentStatusName - -```csharp -public string PaymentStatusName { get; set; } -``` - - ---- - -#### Properties - -```csharp -public Dictionary Properties { get; set; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodBasicDto ShippingMethod { get; set; } -``` - - ---- - -#### ShippingMethodId - -```csharp -public Guid? ShippingMethodId { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - ---- - -#### TotalPrice - -```csharp -public string TotalPrice { get; set; } -``` - - ---- - -#### TransactionAmount - -```csharp -public string TransactionAmount { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderdto.md deleted file mode 100644 index 16a9b38141d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderdto.md +++ /dev/null @@ -1,317 +0,0 @@ ---- -title: OrderDto -description: API reference for OrderDto in Umbraco Commerce ---- -## OrderDto - -```csharp -public class OrderDto : OrderBasicDto -``` - -**Inheritance** - -* Class [OrderBasicDto](orderbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderDto - -The default constructor. - -```csharp -public OrderDto() -``` - - -### Properties - -#### AppliedDiscountCodes - -```csharp -public List AppliedDiscountCodes { get; set; } -``` - - ---- - -#### AppliedGiftCardCodes - -```csharp -public List AppliedGiftCardCodes { get; set; } -``` - - ---- - -#### CustomerEmail - -```csharp -public string CustomerEmail { get; set; } -``` - - ---- - -#### CustomerReference - -```csharp -public string CustomerReference { get; set; } -``` - - ---- - -#### OrderLines - -```csharp -public List OrderLines { get; set; } -``` - - ---- - -#### OrderStatusCode - -```csharp -public int OrderStatusCode { get; set; } -``` - - ---- - -#### PaymentCountry - -```csharp -public CountryBasicDto PaymentCountry { get; set; } -``` - - ---- - -#### PaymentCountryId - -```csharp -public Guid? PaymentCountryId { get; set; } -``` - - ---- - -#### PaymentMethodPrice - -```csharp -public string PaymentMethodPrice { get; set; } -``` - - ---- - -#### PaymentMethodPriceWithoutAdjustments - -```csharp -public string PaymentMethodPriceWithoutAdjustments { get; set; } -``` - - ---- - -#### PaymentRegion - -```csharp -public RegionBasicDto PaymentRegion { get; set; } -``` - - ---- - -#### PaymentRegionId - -```csharp -public Guid? PaymentRegionId { get; set; } -``` - - ---- - -#### ShippingCountry - -```csharp -public CountryBasicDto ShippingCountry { get; set; } -``` - - ---- - -#### ShippingCountryId - -```csharp -public Guid? ShippingCountryId { get; set; } -``` - - ---- - -#### ShippingMethodPrice - -```csharp -public string ShippingMethodPrice { get; set; } -``` - - ---- - -#### ShippingMethodPriceWithoutAdjustments - -```csharp -public string ShippingMethodPriceWithoutAdjustments { get; set; } -``` - - ---- - -#### ShippingRegion - -```csharp -public RegionBasicDto ShippingRegion { get; set; } -``` - - ---- - -#### ShippingRegionId - -```csharp -public Guid? ShippingRegionId { get; set; } -``` - - ---- - -#### SubtotalPrice - -```csharp -public string SubtotalPrice { get; set; } -``` - - ---- - -#### SubtotalPriceDiscountAdjustment - -```csharp -public string SubtotalPriceDiscountAdjustment { get; set; } -``` - - ---- - -#### SubtotalPriceFeesAdjustment - -```csharp -public string SubtotalPriceFeesAdjustment { get; set; } -``` - - ---- - -#### SubtotalPriceWithPreviousAdjustments - -```csharp -public string SubtotalPriceWithPreviousAdjustments { get; set; } -``` - - ---- - -#### Tags - -```csharp -public List Tags { get; set; } -``` - - ---- - -#### TotalGiftCardAdjustment - -```csharp -public string TotalGiftCardAdjustment { get; set; } -``` - - ---- - -#### TotalPriceDiscountAdjustment - -```csharp -public string TotalPriceDiscountAdjustment { get; set; } -``` - - ---- - -#### TotalPriceFeesAdjustment - -```csharp -public string TotalPriceFeesAdjustment { get; set; } -``` - - ---- - -#### TotalPriceTax - -```csharp -public string TotalPriceTax { get; set; } -``` - - ---- - -#### TotalPriceWithPreviousAdjustments - -```csharp -public string TotalPriceWithPreviousAdjustments { get; set; } -``` - - ---- - -#### TotalReceived - -```csharp -public string TotalReceived { get; set; } -``` - - ---- - -#### TransactionAmountAuthorized - -```csharp -public string TransactionAmountAuthorized { get; set; } -``` - - ---- - -#### TransactionFee - -```csharp -public string TransactionFee { get; set; } -``` - - ---- - -#### ZeroAmount - -```csharp -public string ZeroAmount { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordereditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordereditdto.md deleted file mode 100644 index 573785d901f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordereditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderEditDto -description: API reference for OrderEditDto in Umbraco Commerce ---- -## OrderEditDto - -```csharp -public class OrderEditDto : OrderDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [OrderDto](orderdto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderEditDto - -The default constructor. - -```csharp -public OrderEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderlinedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderlinedto.md deleted file mode 100644 index eef2be43b04..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderlinedto.md +++ /dev/null @@ -1,151 +0,0 @@ ---- -title: OrderLineDto -description: API reference for OrderLineDto in Umbraco Commerce ---- -## OrderLineDto - -```csharp -public class OrderLineDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderLineDto - -The default constructor. - -```csharp -public OrderLineDto() -``` - - -### Properties - -#### Attributes - -```csharp -public List Attributes { get; set; } -``` - - ---- - -#### BasePrice - -```csharp -public string BasePrice { get; set; } -``` - - ---- - -#### BasePriceWithoutAdjustments - -```csharp -public string BasePriceWithoutAdjustments { get; set; } -``` - - ---- - -#### BundleId - -```csharp -public string BundleId { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### OrderLines - -```csharp -public List OrderLines { get; set; } -``` - - ---- - -#### Properties - -```csharp -public Dictionary Properties { get; set; } -``` - - ---- - -#### Quantity - -```csharp -public decimal Quantity { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### TotalPrice - -```csharp -public string TotalPrice { get; set; } -``` - - ---- - -#### TotalPriceWithoutAdjustments - -```csharp -public string TotalPriceWithoutAdjustments { get; set; } -``` - - ---- - -#### UnitPrice - -```csharp -public string UnitPrice { get; set; } -``` - - ---- - -#### UnitPriceWithoutAdjustments - -```csharp -public string UnitPriceWithoutAdjustments { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordersavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordersavedto.md deleted file mode 100644 index 3b03ef2f6de..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordersavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderSaveDto -description: API reference for OrderSaveDto in Umbraco Commerce ---- -## OrderSaveDto - -```csharp -public class OrderSaveDto : OrderDto, IValidatableObject -``` - -**Inheritance** - -* Class [OrderDto](orderdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderSaveDto - -The default constructor. - -```csharp -public OrderSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordersearchdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordersearchdto.md deleted file mode 100644 index f062064ba95..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/ordersearchdto.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: OrderSearchDto -description: API reference for OrderSearchDto in Umbraco Commerce ---- -## OrderSearchDto - -```csharp -public class OrderSearchDto : SearchDtoBase -``` - -**Inheritance** - -* Class [SearchDtoBase](searchdtobase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderSearchDto - -The default constructor. - -```csharp -public OrderSearchDto() -``` - - -### Properties - -#### IsFinalized - -```csharp -public bool IsFinalized { get; set; } -``` - - ---- - -#### OrderStatusIds - -```csharp -public Guid[] OrderStatusIds { get; set; } -``` - - ---- - -#### PaymentStatuses - -```csharp -public PaymentStatus[] PaymentStatuses { get; set; } -``` - - ---- - -#### SearchTerm - -```csharp -public string SearchTerm { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatusbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatusbasicdto.md deleted file mode 100644 index e9f19b90330..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatusbasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderStatusBasicDto -description: API reference for OrderStatusBasicDto in Umbraco Commerce ---- -## OrderStatusBasicDto - -```csharp -public class OrderStatusBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderStatusBasicDto - -The default constructor. - -```csharp -public OrderStatusBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Color - -```csharp -public string Color { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatusdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatusdto.md deleted file mode 100644 index 6d4d2fe5682..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatusdto.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderStatusDto -description: API reference for OrderStatusDto in Umbraco Commerce ---- -## OrderStatusDto - -```csharp -public class OrderStatusDto : OrderStatusBasicDto -``` - -**Inheritance** - -* Class [OrderStatusBasicDto](orderstatusbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderStatusDto - -The default constructor. - -```csharp -public OrderStatusDto() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatuseditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatuseditdto.md deleted file mode 100644 index 6bff752e63b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatuseditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderStatusEditDto -description: API reference for OrderStatusEditDto in Umbraco Commerce ---- -## OrderStatusEditDto - -```csharp -public class OrderStatusEditDto : OrderStatusDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [OrderStatusDto](orderstatusdto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderStatusEditDto - -The default constructor. - -```csharp -public OrderStatusEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatussavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatussavedto.md deleted file mode 100644 index 9d6a43b949d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/orderstatussavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderStatusSaveDto -description: API reference for OrderStatusSaveDto in Umbraco Commerce ---- -## OrderStatusSaveDto - -```csharp -public class OrderStatusSaveDto : OrderStatusDto, IValidatableObject -``` - -**Inheritance** - -* Class [OrderStatusDto](orderstatusdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### OrderStatusSaveDto - -The default constructor. - -```csharp -public OrderStatusSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodbasicdto.md deleted file mode 100644 index 6cccfd0e60b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodbasicdto.md +++ /dev/null @@ -1,101 +0,0 @@ ---- -title: PaymentMethodBasicDto -description: API reference for PaymentMethodBasicDto in Umbraco Commerce ---- -## PaymentMethodBasicDto - -```csharp -public class PaymentMethodBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PaymentMethodBasicDto - -The default constructor. - -```csharp -public PaymentMethodBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### CanCancelPayments - -```csharp -public bool CanCancelPayments { get; set; } -``` - - ---- - -#### CanCapturePayments - -```csharp -public bool CanCapturePayments { get; set; } -``` - - ---- - -#### CanFetchPaymentStatuses - -```csharp -public bool CanFetchPaymentStatuses { get; set; } -``` - - ---- - -#### CanRefundPayments - -```csharp -public bool CanRefundPayments { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethoddto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethoddto.md deleted file mode 100644 index 894c3cc22f4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethoddto.md +++ /dev/null @@ -1,119 +0,0 @@ ---- -title: PaymentMethodDto -description: API reference for PaymentMethodDto in Umbraco Commerce ---- -## PaymentMethodDto - -```csharp -public class PaymentMethodDto : PaymentMethodBasicDto -``` - -**Inheritance** - -* Class [PaymentMethodBasicDto](paymentmethodbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PaymentMethodDto - -The default constructor. - -```csharp -public PaymentMethodDto() -``` - - -### Properties - -#### AllowedCountryRegions - -```csharp -public List AllowedCountryRegions { get; set; } -``` - - ---- - -#### ImageId - -```csharp -public string ImageId { get; set; } -``` - - ---- - -#### PaymentProviderAlias - -```csharp -public string PaymentProviderAlias { get; set; } -``` - - ---- - -#### PaymentProviderSettings - -```csharp -public Dictionary PaymentProviderSettings { get; set; } -``` - - ---- - -#### PaymentProviderSupportsCancellingPayments - -```csharp -public bool PaymentProviderSupportsCancellingPayments { get; set; } -``` - - ---- - -#### PaymentProviderSupportsCapturingPayments - -```csharp -public bool PaymentProviderSupportsCapturingPayments { get; set; } -``` - - ---- - -#### PaymentProviderSupportsFetchingPaymentStatus - -```csharp -public bool PaymentProviderSupportsFetchingPaymentStatus { get; set; } -``` - - ---- - -#### PaymentProviderSupportsRefundingPayments - -```csharp -public bool PaymentProviderSupportsRefundingPayments { get; set; } -``` - - ---- - -#### Prices - -```csharp -public List Prices { get; set; } -``` - - ---- - -#### TaxClassId - -```csharp -public Guid? TaxClassId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodeditdto.md deleted file mode 100644 index 84565f8597f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: PaymentMethodEditDto -description: API reference for PaymentMethodEditDto in Umbraco Commerce ---- -## PaymentMethodEditDto - -```csharp -public class PaymentMethodEditDto : PaymentMethodDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [PaymentMethodDto](paymentmethoddto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PaymentMethodEditDto - -The default constructor. - -```csharp -public PaymentMethodEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodsavedto.md deleted file mode 100644 index 11fff413c49..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/paymentmethodsavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: PaymentMethodSaveDto -description: API reference for PaymentMethodSaveDto in Umbraco Commerce ---- -## PaymentMethodSaveDto - -```csharp -public class PaymentMethodSaveDto : PaymentMethodDto, IValidatableObject -``` - -**Inheritance** - -* Class [PaymentMethodDto](paymentmethoddto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PaymentMethodSaveDto - -The default constructor. - -```csharp -public PaymentMethodSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatebasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatebasicdto.md deleted file mode 100644 index 7b2488d03ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatebasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: PrintTemplateBasicDto -description: API reference for PrintTemplateBasicDto in Umbraco Commerce ---- -## PrintTemplateBasicDto - -```csharp -public class PrintTemplateBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PrintTemplateBasicDto - -The default constructor. - -```csharp -public PrintTemplateBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Category - -```csharp -public string Category { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatedto.md deleted file mode 100644 index 6e7af9b3779..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: PrintTemplateDto -description: API reference for PrintTemplateDto in Umbraco Commerce ---- -## PrintTemplateDto - -```csharp -public class PrintTemplateDto : PrintTemplateBasicDto -``` - -**Inheritance** - -* Class [PrintTemplateBasicDto](printtemplatebasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PrintTemplateDto - -The default constructor. - -```csharp -public PrintTemplateDto() -``` - - -### Properties - -#### TemplateView - -```csharp -public string TemplateView { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplateeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplateeditdto.md deleted file mode 100644 index 62a1686568a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplateeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: PrintTemplateEditDto -description: API reference for PrintTemplateEditDto in Umbraco Commerce ---- -## PrintTemplateEditDto - -```csharp -public class PrintTemplateEditDto : PrintTemplateDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [PrintTemplateDto](printtemplatedto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PrintTemplateEditDto - -The default constructor. - -```csharp -public PrintTemplateEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatesavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatesavedto.md deleted file mode 100644 index 41ed264200b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/printtemplatesavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: PrintTemplateSaveDto -description: API reference for PrintTemplateSaveDto in Umbraco Commerce ---- -## PrintTemplateSaveDto - -```csharp -public class PrintTemplateSaveDto : PrintTemplateDto, IValidatableObject -``` - -**Inheritance** - -* Class [PrintTemplateDto](printtemplatedto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PrintTemplateSaveDto - -The default constructor. - -```csharp -public PrintTemplateSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributebasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributebasicdto.md deleted file mode 100644 index 6acbff6b7a1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributebasicdto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: ProductAttributeBasicDto -description: API reference for ProductAttributeBasicDto in Umbraco Commerce ---- -## ProductAttributeBasicDto - -```csharp -public class ProductAttributeBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributeBasicDto - -The default constructor. - -```csharp -public ProductAttributeBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributedto.md deleted file mode 100644 index fd38b6152dd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributedto.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: ProductAttributeDto -description: API reference for ProductAttributeDto in Umbraco Commerce ---- -## ProductAttributeDto - -```csharp -public class ProductAttributeDto : ProductAttributeBasicDto -``` - -**Inheritance** - -* Class [ProductAttributeBasicDto](productattributebasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributeDto - -The default constructor. - -```csharp -public ProductAttributeDto() -``` - - -### Properties - -#### NameTranslations - -```csharp -public IDictionary NameTranslations { get; set; } -``` - - ---- - -#### Values - -```csharp -public List Values { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributeeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributeeditdto.md deleted file mode 100644 index 7f4ca7f3737..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributeeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ProductAttributeEditDto -description: API reference for ProductAttributeEditDto in Umbraco Commerce ---- -## ProductAttributeEditDto - -```csharp -public class ProductAttributeEditDto : ProductAttributeDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [ProductAttributeDto](productattributedto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributeEditDto - -The default constructor. - -```csharp -public ProductAttributeEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetbasicdto.md deleted file mode 100644 index 9f896aa4219..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetbasicdto.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: ProductAttributePresetBasicDto -description: API reference for ProductAttributePresetBasicDto in Umbraco Commerce ---- -## ProductAttributePresetBasicDto - -```csharp -public class ProductAttributePresetBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributePresetBasicDto - -The default constructor. - -```csharp -public ProductAttributePresetBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetdto.md deleted file mode 100644 index a1ea2f68e8d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetdto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ProductAttributePresetDto -description: API reference for ProductAttributePresetDto in Umbraco Commerce ---- -## ProductAttributePresetDto - -```csharp -public class ProductAttributePresetDto : ProductAttributePresetBasicDto -``` - -**Inheritance** - -* Class [ProductAttributePresetBasicDto](productattributepresetbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributePresetDto - -The default constructor. - -```csharp -public ProductAttributePresetDto() -``` - - -### Properties - -#### AllowedAttributes - -```csharp -public List AllowedAttributes { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepreseteditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepreseteditdto.md deleted file mode 100644 index 6606154f2d7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepreseteditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ProductAttributePresetEditDto -description: API reference for ProductAttributePresetEditDto in Umbraco Commerce ---- -## ProductAttributePresetEditDto - -```csharp -public class ProductAttributePresetEditDto : ProductAttributePresetDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [ProductAttributePresetDto](productattributepresetdto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributePresetEditDto - -The default constructor. - -```csharp -public ProductAttributePresetEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetsavedto.md deleted file mode 100644 index efdce410c5c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributepresetsavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ProductAttributePresetSaveDto -description: API reference for ProductAttributePresetSaveDto in Umbraco Commerce ---- -## ProductAttributePresetSaveDto - -```csharp -public class ProductAttributePresetSaveDto : ProductAttributePresetDto, IValidatableObject -``` - -**Inheritance** - -* Class [ProductAttributePresetDto](productattributepresetdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributePresetSaveDto - -The default constructor. - -```csharp -public ProductAttributePresetSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributesavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributesavedto.md deleted file mode 100644 index 1ace6c97015..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributesavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ProductAttributeSaveDto -description: API reference for ProductAttributeSaveDto in Umbraco Commerce ---- -## ProductAttributeSaveDto - -```csharp -public class ProductAttributeSaveDto : ProductAttributeDto, IValidatableObject -``` - -**Inheritance** - -* Class [ProductAttributeDto](productattributedto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributeSaveDto - -The default constructor. - -```csharp -public ProductAttributeSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributevaluedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributevaluedto.md deleted file mode 100644 index d7a1194c4a6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productattributevaluedto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: ProductAttributeValueDto -description: API reference for ProductAttributeValueDto in Umbraco Commerce ---- -## ProductAttributeValueDto - -```csharp -public class ProductAttributeValueDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductAttributeValueDto - -The default constructor. - -```csharp -public ProductAttributeValueDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### NameTranslations - -```csharp -public IDictionary NameTranslations { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productpricedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productpricedto.md deleted file mode 100644 index cb506e0d319..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productpricedto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: ProductPriceDto -description: API reference for ProductPriceDto in Umbraco Commerce ---- -## ProductPriceDto - -```csharp -public class ProductPriceDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductPriceDto - -The default constructor. - -```csharp -public ProductPriceDto() -``` - - -### Properties - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; set; } -``` - - ---- - -#### Value - -```csharp -public decimal Value { get; set; } -``` - - ---- - -#### ValueFormatted - -```csharp -public string ValueFormatted { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productreferencepairdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productreferencepairdto.md deleted file mode 100644 index 8555525bfbb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productreferencepairdto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: ProductReferencePairDto -description: API reference for ProductReferencePairDto in Umbraco Commerce ---- -## ProductReferencePairDto - -```csharp -public class ProductReferencePairDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductReferencePairDto - -The default constructor. - -```csharp -public ProductReferencePairDto() -``` - - -### Properties - -#### ProductReference - -```csharp -public string ProductReference { get; set; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsearchdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsearchdto.md deleted file mode 100644 index 10784e95c0c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsearchdto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: ProductSearchDto -description: API reference for ProductSearchDto in Umbraco Commerce ---- -## ProductSearchDto - -```csharp -public class ProductSearchDto : SearchDtoBase -``` - -**Inheritance** - -* Class [SearchDtoBase](searchdtobase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductSearchDto - -The default constructor. - -```csharp -public ProductSearchDto() -``` - - -### Properties - -#### LanguageIsoCode - -```csharp -public string LanguageIsoCode { get; set; } -``` - - ---- - -#### SearchTerm - -```csharp -public string SearchTerm { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productstockleveldto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productstockleveldto.md deleted file mode 100644 index ff4dd999601..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productstockleveldto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ProductStockLevelDto -description: API reference for ProductStockLevelDto in Umbraco Commerce ---- -## ProductStockLevelDto - -```csharp -public class ProductStockLevelDto : ProductReferencePairDto -``` - -**Inheritance** - -* Class [ProductReferencePairDto](productreferencepairdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductStockLevelDto - -The default constructor. - -```csharp -public ProductStockLevelDto() -``` - - -### Properties - -#### Stock - -```csharp -public decimal Stock { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsummarycommondto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsummarycommondto.md deleted file mode 100644 index ffef4c785d1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsummarycommondto.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: ProductSummaryCommonDto -description: API reference for ProductSummaryCommonDto in Umbraco Commerce ---- -## ProductSummaryCommonDto - -```csharp -public class ProductSummaryCommonDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductSummaryCommonDto - -The default constructor. - -```csharp -public ProductSummaryCommonDto() -``` - - -### Properties - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### Prices - -```csharp -public IEnumerable Prices { get; set; } -``` - - ---- - -#### Reference - -```csharp -public string Reference { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsummarydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsummarydto.md deleted file mode 100644 index d2df29b11df..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productsummarydto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ProductSummaryDto -description: API reference for ProductSummaryDto in Umbraco Commerce ---- -## ProductSummaryDto - -```csharp -public class ProductSummaryDto : ProductSummaryCommonDto -``` - -**Inheritance** - -* Class [ProductSummaryCommonDto](productsummarycommondto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductSummaryDto - -The default constructor. - -```csharp -public ProductSummaryDto() -``` - - -### Properties - -#### HasVariants - -```csharp -public bool HasVariants { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productvariantsearchdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productvariantsearchdto.md deleted file mode 100644 index 702352c66d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productvariantsearchdto.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: ProductVariantSearchDto -description: API reference for ProductVariantSearchDto in Umbraco Commerce ---- -## ProductVariantSearchDto - -```csharp -public class ProductVariantSearchDto : ProductSearchDto -``` - -**Inheritance** - -* Class [ProductSearchDto](productsearchdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductVariantSearchDto - -The default constructor. - -```csharp -public ProductVariantSearchDto() -``` - - -### Properties - -#### Attributes - -```csharp -public string[] Attributes { get; set; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productvariantsummarydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productvariantsummarydto.md deleted file mode 100644 index d2c3cbe0ffe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/productvariantsummarydto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ProductVariantSummaryDto -description: API reference for ProductVariantSummaryDto in Umbraco Commerce ---- -## ProductVariantSummaryDto - -```csharp -public class ProductVariantSummaryDto : ProductSummaryCommonDto -``` - -**Inheritance** - -* Class [ProductSummaryCommonDto](productsummarycommondto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ProductVariantSummaryDto - -The default constructor. - -```csharp -public ProductVariantSummaryDto() -``` - - -### Properties - -#### Attributes - -```csharp -public IReadOnlyDictionary Attributes { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/propertydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/propertydto.md deleted file mode 100644 index 053b2a2f89a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/propertydto.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: PropertyDto -description: API reference for PropertyDto in Umbraco Commerce ---- -## PropertyDto - -```csharp -public class PropertyDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PropertyDto - -The default constructor. - -```csharp -public PropertyDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### Value - -```csharp -public object Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/propertyvaluedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/propertyvaluedto.md deleted file mode 100644 index 77cbf7fe7d3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/propertyvaluedto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: PropertyValueDto -description: API reference for PropertyValueDto in Umbraco Commerce ---- -## PropertyValueDto - -```csharp -public class PropertyValueDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### PropertyValueDto - -The default constructor. - -```csharp -public PropertyValueDto() -``` - - -### Properties - -#### IsReadOnly - -```csharp -public bool IsReadOnly { get; set; } -``` - - ---- - -#### IsServerSideOnly - -```csharp -public bool IsServerSideOnly { get; set; } -``` - - ---- - -#### Value - -```csharp -public string Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regionbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regionbasicdto.md deleted file mode 100644 index 33f6f9a2ee1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regionbasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: RegionBasicDto -description: API reference for RegionBasicDto in Umbraco Commerce ---- -## RegionBasicDto - -```csharp -public class RegionBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### RegionBasicDto - -The default constructor. - -```csharp -public RegionBasicDto() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### CountryId - -```csharp -public Guid CountryId { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regiondto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regiondto.md deleted file mode 100644 index ef4b9f8a23d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regiondto.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: RegionDto -description: API reference for RegionDto in Umbraco Commerce ---- -## RegionDto - -```csharp -public class RegionDto : RegionBasicDto -``` - -**Inheritance** - -* Class [RegionBasicDto](regionbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### RegionDto - -The default constructor. - -```csharp -public RegionDto() -``` - - -### Properties - -#### DefaultPaymentMethodId - -```csharp -public Guid? DefaultPaymentMethodId { get; set; } -``` - - ---- - -#### DefaultShippingMethodId - -```csharp -public Guid? DefaultShippingMethodId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regioneditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regioneditdto.md deleted file mode 100644 index d9a22ff84b4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regioneditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: RegionEditDto -description: API reference for RegionEditDto in Umbraco Commerce ---- -## RegionEditDto - -```csharp -public class RegionEditDto : RegionDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [RegionDto](regiondto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### RegionEditDto - -The default constructor. - -```csharp -public RegionEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regionsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regionsavedto.md deleted file mode 100644 index de0bec76946..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/regionsavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: RegionSaveDto -description: API reference for RegionSaveDto in Umbraco Commerce ---- -## RegionSaveDto - -```csharp -public class RegionSaveDto : RegionDto, IValidatableObject -``` - -**Inheritance** - -* Class [RegionDto](regiondto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### RegionSaveDto - -The default constructor. - -```csharp -public RegionSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/registeredcustomerinfodto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/registeredcustomerinfodto.md deleted file mode 100644 index 89afc252ab0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/registeredcustomerinfodto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: RegisteredCustomerInfoDto -description: API reference for RegisteredCustomerInfoDto in Umbraco Commerce ---- -## RegisteredCustomerInfoDto - -```csharp -public class RegisteredCustomerInfoDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### RegisteredCustomerInfoDto - -The default constructor. - -```csharp -public RegisteredCustomerInfoDto() -``` - - -### Properties - -#### IsUmbracoMember - -```csharp -public bool IsUmbracoMember { get; set; } -``` - - ---- - -#### Properties - -```csharp -public IEnumerable Properties { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/searchdtobase.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/searchdtobase.md deleted file mode 100644 index a252f8dc61d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/searchdtobase.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: SearchDtoBase -description: API reference for SearchDtoBase in Umbraco Commerce ---- -## SearchDtoBase - -```csharp -public abstract class SearchDtoBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### SearchDtoBase - -The default constructor. - -```csharp -public SearchDtoBase() -``` - - -### Properties - -#### ItemsPerPage - -```csharp -public long ItemsPerPage { get; set; } -``` - - ---- - -#### PageNumber - -```csharp -public long PageNumber { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/senddiscountemaildto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/senddiscountemaildto.md deleted file mode 100644 index 33c1779c5bf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/senddiscountemaildto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: SendDiscountEmailDto -description: API reference for SendDiscountEmailDto in Umbraco Commerce ---- -## SendDiscountEmailDto - -```csharp -public class SendDiscountEmailDto : SendEmailDto -``` - -**Inheritance** - -* Class [SendEmailDto](sendemaildto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### SendDiscountEmailDto - -The default constructor. - -```csharp -public SendDiscountEmailDto() -``` - - -### Properties - -#### discountId - -```csharp -public Guid discountId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendemaildto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendemaildto.md deleted file mode 100644 index 0aa93ed39c5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendemaildto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: SendEmailDto -description: API reference for SendEmailDto in Umbraco Commerce ---- -## SendEmailDto - -```csharp -public class SendEmailDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### SendEmailDto - -The default constructor. - -```csharp -public SendEmailDto() -``` - - -### Properties - -#### emailTemlateId - -```csharp -public Guid emailTemlateId { get; set; } -``` - - ---- - -#### languageIsoCode - -```csharp -public string languageIsoCode { get; set; } -``` - - ---- - -#### to - -```csharp -public string to { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendgiftcardemaildto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendgiftcardemaildto.md deleted file mode 100644 index 016d9b8fa6b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendgiftcardemaildto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: SendGiftCardEmailDto -description: API reference for SendGiftCardEmailDto in Umbraco Commerce ---- -## SendGiftCardEmailDto - -```csharp -public class SendGiftCardEmailDto : SendEmailDto -``` - -**Inheritance** - -* Class [SendEmailDto](sendemaildto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### SendGiftCardEmailDto - -The default constructor. - -```csharp -public SendGiftCardEmailDto() -``` - - -### Properties - -#### giftCardId - -```csharp -public Guid giftCardId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendorderemaildto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendorderemaildto.md deleted file mode 100644 index aa46b57138d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sendorderemaildto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: SendOrderEmailDto -description: API reference for SendOrderEmailDto in Umbraco Commerce ---- -## SendOrderEmailDto - -```csharp -public class SendOrderEmailDto : SendEmailDto -``` - -**Inheritance** - -* Class [SendEmailDto](sendemaildto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### SendOrderEmailDto - -The default constructor. - -```csharp -public SendOrderEmailDto() -``` - - -### Properties - -#### orderId - -```csharp -public Guid orderId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/servicepricedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/servicepricedto.md deleted file mode 100644 index 4dc30670d9e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/servicepricedto.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: ServicePriceDto -description: API reference for ServicePriceDto in Umbraco Commerce ---- -## ServicePriceDto - -```csharp -public class ServicePriceDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ServicePriceDto - -The default constructor. - -```csharp -public ServicePriceDto() -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; set; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; set; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; set; } -``` - - ---- - -#### Value - -```csharp -public decimal Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodbasicdto.md deleted file mode 100644 index 25e125f19f5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodbasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: ShippingMethodBasicDto -description: API reference for ShippingMethodBasicDto in Umbraco Commerce ---- -## ShippingMethodBasicDto - -```csharp -public class ShippingMethodBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ShippingMethodBasicDto - -The default constructor. - -```csharp -public ShippingMethodBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethoddto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethoddto.md deleted file mode 100644 index c732aacb89e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethoddto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: ShippingMethodDto -description: API reference for ShippingMethodDto in Umbraco Commerce ---- -## ShippingMethodDto - -```csharp -public class ShippingMethodDto : ShippingMethodBasicDto -``` - -**Inheritance** - -* Class [ShippingMethodBasicDto](shippingmethodbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ShippingMethodDto - -The default constructor. - -```csharp -public ShippingMethodDto() -``` - - -### Properties - -#### AllowedCountryRegions - -```csharp -public List AllowedCountryRegions { get; set; } -``` - - ---- - -#### ImageId - -```csharp -public string ImageId { get; set; } -``` - - ---- - -#### Prices - -```csharp -public List Prices { get; set; } -``` - - ---- - -#### TaxClassId - -```csharp -public Guid? TaxClassId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodeditdto.md deleted file mode 100644 index 9ee2705d4ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ShippingMethodEditDto -description: API reference for ShippingMethodEditDto in Umbraco Commerce ---- -## ShippingMethodEditDto - -```csharp -public class ShippingMethodEditDto : ShippingMethodDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [ShippingMethodDto](shippingmethoddto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ShippingMethodEditDto - -The default constructor. - -```csharp -public ShippingMethodEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodsavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodsavedto.md deleted file mode 100644 index 4d3b65a2796..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/shippingmethodsavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ShippingMethodSaveDto -description: API reference for ShippingMethodSaveDto in Umbraco Commerce ---- -## ShippingMethodSaveDto - -```csharp -public class ShippingMethodSaveDto : ShippingMethodDto, IValidatableObject -``` - -**Inheritance** - -* Class [ShippingMethodDto](shippingmethoddto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### ShippingMethodSaveDto - -The default constructor. - -```csharp -public ShippingMethodSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sortentitiespostdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sortentitiespostdto.md deleted file mode 100644 index 9edcb8e63ac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/sortentitiespostdto.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: SortEntitiesPostDto -description: API reference for SortEntitiesPostDto in Umbraco Commerce ---- -## SortEntitiesPostDto - -```csharp -public class SortEntitiesPostDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### SortEntitiesPostDto - -The default constructor. - -```csharp -public SortEntitiesPostDto() -``` - - -### Properties - -#### EntityType - -```csharp -public string EntityType { get; set; } -``` - - ---- - -#### ParentId - -```csharp -public Guid? ParentId { get; set; } -``` - - ---- - -#### SortedEntityIds - -```csharp -public Guid[] SortedEntityIds { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid? StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/stockdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/stockdto.md deleted file mode 100644 index 5eb7f362e46..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/stockdto.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: StockDto -description: API reference for StockDto in Umbraco Commerce ---- -## StockDto - -```csharp -public class StockDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StockDto - -The default constructor. - -```csharp -public StockDto() -``` - - -### Properties - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### Value - -```csharp -public decimal? Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeactiondto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeactiondto.md deleted file mode 100644 index 7648da2e972..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeactiondto.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: StoreActionDto -description: API reference for StoreActionDto in Umbraco Commerce ---- -## StoreActionDto - -```csharp -public class StoreActionDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreActionDto - -The default constructor. - -```csharp -public StoreActionDto() -``` - - -### Properties - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### RoutePath - -```csharp -public string RoutePath { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeactionsdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeactionsdto.md deleted file mode 100644 index 9ee374675ff..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeactionsdto.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: StoreActionsDto -description: API reference for StoreActionsDto in Umbraco Commerce ---- -## StoreActionsDto - -```csharp -public class StoreActionsDto : List -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreActionsDto - -The default constructor. - -```csharp -public StoreActionsDto() -``` - - ---- - -#### StoreActionsDto - -```csharp -public StoreActionsDto(IEnumerable actions) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storebasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storebasicdto.md deleted file mode 100644 index 41d36eebb4a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storebasicdto.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: StoreBasicDto -description: API reference for StoreBasicDto in Umbraco Commerce ---- -## StoreBasicDto - -```csharp -public class StoreBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreBasicDto - -The default constructor. - -```csharp -public StoreBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### PricesIncludeTax - -```csharp -public bool PricesIncludeTax { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storedto.md deleted file mode 100644 index 99933eecb20..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storedto.md +++ /dev/null @@ -1,236 +0,0 @@ ---- -title: StoreDto -description: API reference for StoreDto in Umbraco Commerce ---- -## StoreDto - -```csharp -public class StoreDto : StoreBasicDto -``` - -**Inheritance** - -* Class [StoreBasicDto](storebasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreDto - -The default constructor. - -```csharp -public StoreDto() -``` - - -### Properties - -#### AllowedUserRoles - -```csharp -public List AllowedUserRoles { get; set; } -``` - - ---- - -#### AllowedUsers - -```csharp -public List AllowedUsers { get; set; } -``` - - ---- - -#### BaseCurrencyId - -```csharp -public Guid? BaseCurrencyId { get; set; } -``` - - ---- - -#### CartNumberTemplate - -```csharp -public string CartNumberTemplate { get; set; } -``` - - ---- - -#### ConfirmationEmailTemplateId - -```csharp -public Guid? ConfirmationEmailTemplateId { get; set; } -``` - - ---- - -#### CookieTimeout - -```csharp -public int? CookieTimeout { get; set; } -``` - - ---- - -#### DefaultCountryId - -```csharp -public Guid? DefaultCountryId { get; set; } -``` - - ---- - -#### DefaultGiftCardEmailTemplateId - -```csharp -public Guid? DefaultGiftCardEmailTemplateId { get; } -``` - - ---- - -#### DefaultOrderStatusId - -```csharp -public Guid? DefaultOrderStatusId { get; set; } -``` - - ---- - -#### DefaultTaxClassId - -```csharp -public Guid? DefaultTaxClassId { get; set; } -``` - - ---- - -#### ErrorEmailTemplateId - -```csharp -public Guid? ErrorEmailTemplateId { get; set; } -``` - - ---- - -#### ErrorOrderStatusId - -```csharp -public Guid? ErrorOrderStatusId { get; set; } -``` - - ---- - -#### GiftCardActivationMethod - -```csharp -public string GiftCardActivationMethod { get; } -``` - - ---- - -#### GiftCardActivationOrderStatusId - -```csharp -public Guid? GiftCardActivationOrderStatusId { get; } -``` - - ---- - -#### GiftCardCodeLength - -```csharp -public int GiftCardCodeLength { get; set; } -``` - - ---- - -#### GiftCardCodeTemplate - -```csharp -public string GiftCardCodeTemplate { get; set; } -``` - - ---- - -#### GiftCardDaysValid - -```csharp -public int GiftCardDaysValid { get; set; } -``` - - ---- - -#### GiftCardPropertyAliases - -```csharp -public string GiftCardPropertyAliases { get; set; } -``` - - ---- - -#### OrderNumberTemplate - -```csharp -public string OrderNumberTemplate { get; set; } -``` - - ---- - -#### OrderRoundingMethod - -```csharp -public string OrderRoundingMethod { get; set; } -``` - - ---- - -#### ProductPropertyAliases - -```csharp -public string ProductPropertyAliases { get; set; } -``` - - ---- - -#### ProductUniquenessPropertyAliases - -```csharp -public string ProductUniquenessPropertyAliases { get; set; } -``` - - ---- - -#### UseCookies - -```csharp -public bool UseCookies { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeeditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeeditdto.md deleted file mode 100644 index a05ae203e1e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storeeditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: StoreEditDto -description: API reference for StoreEditDto in Umbraco Commerce ---- -## StoreEditDto - -```csharp -public class StoreEditDto : StoreDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [StoreDto](storedto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreEditDto - -The default constructor. - -```csharp -public StoreEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storesavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storesavedto.md deleted file mode 100644 index 1cc7229d0d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storesavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: StoreSaveDto -description: API reference for StoreSaveDto in Umbraco Commerce ---- -## StoreSaveDto - -```csharp -public class StoreSaveDto : StoreDto, IValidatableObject -``` - -**Inheritance** - -* Class [StoreDto](storedto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreSaveDto - -The default constructor. - -```csharp -public StoreSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storestatsdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storestatsdto.md deleted file mode 100644 index 828c4fd37ec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storestatsdto.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -title: StoreStatsDto -description: API reference for StoreStatsDto in Umbraco Commerce ---- -## StoreStatsDto - -```csharp -public class StoreStatsDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreStatsDto - -The default constructor. - -```csharp -public StoreStatsDto() -``` - - -### Properties - -#### TotalAuthorizedOrders - -```csharp -public long TotalAuthorizedOrders { get; set; } -``` - - ---- - -#### TotalCapturedOrders - -```csharp -public long TotalCapturedOrders { get; set; } -``` - - ---- - -#### TotalErroredOrders - -```csharp -public long TotalErroredOrders { get; set; } -``` - - ---- - -#### TotalNewOrders - -```csharp -public long TotalNewOrders { get; set; } -``` - - ---- - -#### TotalOrders - -```csharp -public long TotalOrders { get; set; } -``` - - ---- - -#### TotalRefundedOrders - -```csharp -public long TotalRefundedOrders { get; set; } -``` - - ---- - -#### TotalRevenue - -```csharp -public string TotalRevenue { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storesummarydto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storesummarydto.md deleted file mode 100644 index 32934e3dc40..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/storesummarydto.md +++ /dev/null @@ -1,106 +0,0 @@ ---- -title: StoreSummaryDto -description: API reference for StoreSummaryDto in Umbraco Commerce ---- -## StoreSummaryDto - -```csharp -public class StoreSummaryDto -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### StoreSummaryDto - -The default constructor. - -```csharp -public StoreSummaryDto() -``` - - -### Properties - -#### BaseCurrencyCode - -```csharp -public string BaseCurrencyCode { get; set; } -``` - - ---- - -#### BaseCurrencyId - -```csharp -public Guid? BaseCurrencyId { get; set; } -``` - - ---- - -#### BaseCurrencyName - -```csharp -public string BaseCurrencyName { get; set; } -``` - - ---- - -#### DefaultCountryId - -```csharp -public Guid? DefaultCountryId { get; set; } -``` - - ---- - -#### DefaultCountryName - -```csharp -public string DefaultCountryName { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### TotalOrdersToDate - -```csharp -public long TotalOrdersToDate { get; set; } -``` - - ---- - -#### TotalRevenueToDate - -```csharp -public string TotalRevenueToDate { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclassbasicdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclassbasicdto.md deleted file mode 100644 index 8293f67ed14..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclassbasicdto.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: TaxClassBasicDto -description: API reference for TaxClassBasicDto in Umbraco Commerce ---- -## TaxClassBasicDto - -```csharp -public class TaxClassBasicDto : NamedEntityBasicDto -``` - -**Inheritance** - -* Class [NamedEntityBasicDto](namedentitybasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### TaxClassBasicDto - -The default constructor. - -```csharp -public TaxClassBasicDto() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### DefaultTaxRate - -```csharp -public decimal DefaultTaxRate { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclassdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclassdto.md deleted file mode 100644 index 758b4c55aed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclassdto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: TaxClassDto -description: API reference for TaxClassDto in Umbraco Commerce ---- -## TaxClassDto - -```csharp -public class TaxClassDto : TaxClassBasicDto -``` - -**Inheritance** - -* Class [TaxClassBasicDto](taxclassbasicdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### TaxClassDto - -The default constructor. - -```csharp -public TaxClassDto() -``` - - -### Properties - -#### CountryRegionTaxRates - -```csharp -public List CountryRegionTaxRates { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclasseditdto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclasseditdto.md deleted file mode 100644 index 2ffe9997784..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclasseditdto.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: TaxClassEditDto -description: API reference for TaxClassEditDto in Umbraco Commerce ---- -## TaxClassEditDto - -```csharp -public class TaxClassEditDto : TaxClassDto, IHasPath, INotificationModel -``` - -**Inheritance** - -* Class [TaxClassDto](taxclassdto.md) -* interface [IHasPath](ihaspath.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### TaxClassEditDto - -The default constructor. - -```csharp -public TaxClassEditDto() -``` - - -### Properties - -#### Notifications - -```csharp -public List Notifications { get; set; } -``` - - ---- - -#### Path - -```csharp -public List Path { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclasssavedto.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclasssavedto.md deleted file mode 100644 index 4ece55862eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-models/taxclasssavedto.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: TaxClassSaveDto -description: API reference for TaxClassSaveDto in Umbraco Commerce ---- -## TaxClassSaveDto - -```csharp -public class TaxClassSaveDto : TaxClassDto, IValidatableObject -``` - -**Inheritance** - -* Class [TaxClassDto](taxclassdto.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Models](README.md) - -### Constructors - -#### TaxClassSaveDto - -The default constructor. - -```csharp -public TaxClassSaveDto() -``` - - -### Methods - -#### Validate - -```csharp -public IEnumerable Validate(ValidationContext validationContext) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-mvc/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-mvc/README.md deleted file mode 100644 index 25bea731792..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-mvc/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Mvc -description: API reference for Umbraco.Commerce.Cms.Web.Mvc in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Mvc namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceRequestBufferingMiddleware](umbracocommercerequestbufferingmiddleware.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-mvc/umbracocommercerequestbufferingmiddleware.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-mvc/umbracocommercerequestbufferingmiddleware.md deleted file mode 100644 index 2aedf0d6d66..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-mvc/umbracocommercerequestbufferingmiddleware.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceRequestBufferingMiddleware -description: API reference for UmbracoCommerceRequestBufferingMiddleware in Umbraco Commerce ---- -## UmbracoCommerceRequestBufferingMiddleware - -```csharp -public class UmbracoCommerceRequestBufferingMiddleware : IMiddleware -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Mvc](README.md) - -### Constructors - -#### UmbracoCommerceRequestBufferingMiddleware - -The default constructor. - -```csharp -public UmbracoCommerceRequestBufferingMiddleware() -``` - - -### Methods - -#### InvokeAsync - -```csharp -public Task InvokeAsync(HttpContext context, RequestDelegate next) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-routing/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-routing/README.md deleted file mode 100644 index 3cebfacf9ee..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-routing/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Routing -description: API reference for Umbraco.Commerce.Cms.Web.Routing in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Routing namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceAreaRoutes](umbracocommercearearoutes.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-routing/umbracocommercearearoutes.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-routing/umbracocommercearearoutes.md deleted file mode 100644 index 819404e5a3c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-routing/umbracocommercearearoutes.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: UmbracoCommerceAreaRoutes -description: API reference for UmbracoCommerceAreaRoutes in Umbraco Commerce ---- -## UmbracoCommerceAreaRoutes - -```csharp -public class UmbracoCommerceAreaRoutes : IAreaRoutes -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Routing](README.md) - -### Constructors - -#### UmbracoCommerceAreaRoutes - -```csharp -public UmbracoCommerceAreaRoutes(IUmbracoCommerceSettings settings) -``` - - -### Methods - -#### CreateRoutes - -```csharp -public void CreateRoutes(IEndpointRouteBuilder endpoints) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-sections/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-sections/README.md deleted file mode 100644 index 854defaad4d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-sections/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Sections -description: API reference for Umbraco.Commerce.Cms.Web.Sections in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Sections namespace - -| Public Type | Description | -| --- | --- | -| class [CommerceSection](commercesection.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-sections/commercesection.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-sections/commercesection.md deleted file mode 100644 index f46f222c591..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-sections/commercesection.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: CommerceSection -description: API reference for CommerceSection in Umbraco Commerce ---- -## CommerceSection - -```csharp -public class CommerceSection : ISection -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Sections](README.md) - -### Constructors - -#### CommerceSection - -The default constructor. - -```csharp -public CommerceSection() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/README.md deleted file mode 100644 index 18bf945e4d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web.Trees -description: API reference for Umbraco.Commerce.Cms.Web.Trees in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web.Trees namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceSettingsTreeController](umbracocommercesettingstreecontroller.md) | | -| class [UmbracoCommerceStoresTreeController](umbracocommercestorestreecontroller.md) | | -| abstract class [UmbracoCommerceTreeControllerBase<TEnum>](umbracocommercetreecontrollerbase-1.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercesettingstreecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercesettingstreecontroller.md deleted file mode 100644 index 8342b2eb18b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercesettingstreecontroller.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: UmbracoCommerceSettingsTreeController -description: API reference for UmbracoCommerceSettingsTreeController in Umbraco Commerce ---- -## UmbracoCommerceSettingsTreeController - -```csharp -public class UmbracoCommerceSettingsTreeController : UmbracoCommerceTreeControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceTreeControllerBase<TEnum>](umbracocommercetreecontrollerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Trees](README.md) - -### Constructors - -#### UmbracoCommerceSettingsTreeController - -```csharp -public UmbracoCommerceSettingsTreeController(ILocalizedTextService localizedTextService, - IMenuItemCollectionFactory menuItemCollectionFactory, - UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, - IEventAggregator eventAggregator, IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - IUmbracoCommerceApi api) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercestorestreecontroller.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercestorestreecontroller.md deleted file mode 100644 index d4d6cf1ed67..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercestorestreecontroller.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: UmbracoCommerceStoresTreeController -description: API reference for UmbracoCommerceStoresTreeController in Umbraco Commerce ---- -## UmbracoCommerceStoresTreeController - -```csharp -public class UmbracoCommerceStoresTreeController : UmbracoCommerceTreeControllerBase -``` - -**Inheritance** - -* Class [UmbracoCommerceTreeControllerBase<TEnum>](umbracocommercetreecontrollerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Trees](README.md) - -### Constructors - -#### UmbracoCommerceStoresTreeController - -```csharp -public UmbracoCommerceStoresTreeController(ILocalizedTextService localizedTextService, - IMenuItemCollectionFactory menuItemCollectionFactory, - UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, - IEventAggregator eventAggregator, IBackOfficeSecurityAccessor backOfficeSecurityAccesor, - IUmbracoCommerceApi api) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercetreecontrollerbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercetreecontrollerbase-1.md deleted file mode 100644 index 316d2109922..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web-trees/umbracocommercetreecontrollerbase-1.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: UmbracoCommerceTreeControllerBase -description: API reference for UmbracoCommerceTreeControllerBase in Umbraco Commerce ---- -## UmbracoCommerceTreeControllerBase<TEnum> - -```csharp -public abstract class UmbracoCommerceTreeControllerBase : TreeController - where TEnum : struct, IConvertible -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web.Trees](README.md) - -### Constructors - -#### UmbracoCommerceTreeControllerBase<TEnum> - -```csharp -public UmbracoCommerceTreeControllerBase(ILocalizedTextService localizedTextService, - IMenuItemCollectionFactory menuItemCollectionFactory, - UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, - IEventAggregator eventAggregator, IBackOfficeSecurityAccessor backOfficeSecurityAccesor) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web/README.md deleted file mode 100644 index 3bf1c40bc67..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Web -description: API reference for Umbraco.Commerce.Cms.Web in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Web namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceServerVariablesInjector](umbracocommerceservervariablesinjector.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web/umbracocommerceservervariablesinjector.md b/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web/umbracocommerceservervariablesinjector.md deleted file mode 100644 index b2ba10f02af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms-web/umbraco-commerce-cms-web/umbracocommerceservervariablesinjector.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: UmbracoCommerceServerVariablesInjector -description: API reference for UmbracoCommerceServerVariablesInjector in Umbraco Commerce ---- -## UmbracoCommerceServerVariablesInjector - -```csharp -public class UmbracoCommerceServerVariablesInjector -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Web](README.md) - -### Constructors - -#### UmbracoCommerceServerVariablesInjector - -```csharp -public UmbracoCommerceServerVariablesInjector(Lazy paymentProviders, - LinkGenerator linkGenerator) -``` - - -### Methods - -#### Inject - -```csharp -public void Inject(IDictionary dict) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/README.md deleted file mode 100644 index 366c3e0eb6c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/README.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: Umbraco.Commerce.Cms -description: API reference for Umbraco.Commerce.Cms in Umbraco Commerce ---- -## Umbraco.Commerce.Cms assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Cms](umbraco-commerce-cms/README.md) | -| [Umbraco.Commerce.Cms.Adapters](umbraco-commerce-cms-adapters/README.md) | -| [Umbraco.Commerce.Cms.Authorization](umbraco-commerce-cms-authorization/README.md) | -| [Umbraco.Commerce.Cms.Cache](umbraco-commerce-cms-cache/README.md) | -| [Umbraco.Commerce.Cms.Cache.Refreshers](umbraco-commerce-cms-cache-refreshers/README.md) | -| [Umbraco.Commerce.Cms.Composing](umbraco-commerce-cms-composing/README.md) | -| [Umbraco.Commerce.Cms.Configuration](umbraco-commerce-cms-configuration/README.md) | -| [Umbraco.Commerce.Cms.Content](umbraco-commerce-cms-content/README.md) | -| [Umbraco.Commerce.Cms.Data](umbraco-commerce-cms-data/README.md) | -| [Umbraco.Commerce.Cms.Discounts.Rewards](umbraco-commerce-cms-discounts-rewards/README.md) | -| [Umbraco.Commerce.Cms.Discounts.Rules](umbraco-commerce-cms-discounts-rules/README.md) | -| [Umbraco.Commerce.Cms.Events.Notification](umbraco-commerce-cms-events-notification/README.md) | -| [Umbraco.Commerce.Cms.Examine](umbraco-commerce-cms-examine/README.md) | -| [Umbraco.Commerce.Cms.Extractors](umbraco-commerce-cms-extractors/README.md) | -| [Umbraco.Commerce.Cms.Filters](umbraco-commerce-cms-filters/README.md) | -| [Umbraco.Commerce.Cms.Filters.Implement](umbraco-commerce-cms-filters-implement/README.md) | -| [Umbraco.Commerce.Cms.Finders](umbraco-commerce-cms-finders/README.md) | -| [Umbraco.Commerce.Cms.HealthChecks](umbraco-commerce-cms-healthchecks/README.md) | -| [Umbraco.Commerce.Cms.Helpers](umbraco-commerce-cms-helpers/README.md) | -| [Umbraco.Commerce.Cms.Mail](umbraco-commerce-cms-mail/README.md) | -| [Umbraco.Commerce.Cms.Models](umbraco-commerce-cms-models/README.md) | -| [Umbraco.Commerce.Cms.PropertyEditors.Stock](umbraco-commerce-cms-propertyeditors-stock/README.md) | -| [Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor](umbraco-commerce-cms-propertyeditors-variantseditor/README.md) | -| [Umbraco.Commerce.Cms.Providers](umbraco-commerce-cms-providers/README.md) | -| [Umbraco.Commerce.Cms.Resolvers](umbraco-commerce-cms-resolvers/README.md) | -| [Umbraco.Commerce.Cms.Security](umbraco-commerce-cms-security/README.md) | -| [Umbraco.Commerce.Cms.Services](umbraco-commerce-cms-services/README.md) | -| [Umbraco.Commerce.Cms.ValueConverters](umbraco-commerce-cms-valueconverters/README.md) | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/README.md deleted file mode 100644 index 7862e5bb04f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Adapters -description: API reference for Umbraco.Commerce.Cms.Adapters in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Adapters namespace - -| Public Type | Description | -| --- | --- | -| interface [IUmbracoProductSnapshot](iumbracoproductsnapshot.md) | | -| class [UmbracoProductAdapter](umbracoproductadapter.md) | | -| class [UmbracoProductSnapshot](umbracoproductsnapshot.md) | | -| class [UmbracoProductSummary](umbracoproductsummary.md) | | -| class [UmbracoProductVariantSummary](umbracoproductvariantsummary.md) | | -| class [UmbracoProductVariantSummaryCollection](umbracoproductvariantsummarycollection.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/iumbracoproductsnapshot.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/iumbracoproductsnapshot.md deleted file mode 100644 index f1c5ac3f04b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/iumbracoproductsnapshot.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IUmbracoProductSnapshot -description: API reference for IUmbracoProductSnapshot in Umbraco Commerce ---- -## IUmbracoProductSnapshot - -```csharp -public interface IUmbracoProductSnapshot -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Adapters](README.md) - -### Properties - -#### Content - -```csharp -public IPublishedContent Content { get; } -``` - - ---- - -#### VariantContent - -```csharp -public IPublishedElement VariantContent { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductadapter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductadapter.md deleted file mode 100644 index 93f682953be..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductadapter.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: UmbracoProductAdapter -description: API reference for UmbracoProductAdapter in Umbraco Commerce ---- -## UmbracoProductAdapter - -```csharp -public class UmbracoProductAdapter : ProductAdapterBase -``` - -**Inheritance** - -* Class [ProductAdapterBase](../../umbraco-commerce-core/umbraco-commerce-core-adapters/productadapterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Adapters](README.md) - -### Constructors - -#### UmbracoProductAdapter - -```csharp -public UmbracoProductAdapter(IUmbracoContextFactory umbracoContextFactory, - IContentService contentService, PublishedContentWrapperFactory publishedContentWrapperFactory, - IExamineManager examineManager) -``` - - -### Methods - -#### GetProductSnapshot - -```csharp -public override IProductSnapshot GetProductSnapshot(Guid storeId, string productReference, - string productVariantReference, string languageIsoCode) -``` - - ---- - -#### GetProductVariantAttributes - -```csharp -public override IEnumerable GetProductVariantAttributes(Guid storeId, - string productReference, string languageIsoCode) -``` - - ---- - -#### SearchProductSummaries - -```csharp -public override PagedResult SearchProductSummaries(Guid storeId, - string languageIsoCode, string searchTerm, long currentPage = 1, long itemsPerPage = 50) -``` - - ---- - -#### SearchProductVariantSummaries - -```csharp -public override PagedResult SearchProductVariantSummaries(Guid storeId, - string productReference, string languageIsoCode, string searchTerm, - IDictionary> attributes, long currentPage = 1, - long itemsPerPage = 50) -``` - - ---- - -#### TryGetProductReference - -```csharp -public override bool TryGetProductReference(Guid storeId, string sku, out string productReference, - out string productVariantReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductsnapshot.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductsnapshot.md deleted file mode 100644 index 2bf37b7c9f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductsnapshot.md +++ /dev/null @@ -1,170 +0,0 @@ ---- -title: UmbracoProductSnapshot -description: API reference for UmbracoProductSnapshot in Umbraco Commerce ---- -## UmbracoProductSnapshot - -```csharp -public class UmbracoProductSnapshot : ProductSnapshotBase, IUmbracoProductSnapshot -``` - -**Inheritance** - -* Class [ProductSnapshotBase](../../umbraco-commerce-core/umbraco-commerce-core-models/productsnapshotbase.md) -* interface [IUmbracoProductSnapshot](iumbracoproductsnapshot.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Adapters](README.md) - -### Constructors - -#### UmbracoProductSnapshot (1 of 4) - -```csharp -public UmbracoProductSnapshot(IPublishedContent content, string languageIsoCode, - string productReference, Guid storeId) -``` - ---- - -#### UmbracoProductSnapshot (2 of 4) - -```csharp -public UmbracoProductSnapshot(IPublishedContent content, IPublishedElement variantContent, - string languageIsoCode, string productReference, string productVariantReference, Guid storeId) -``` - ---- - -#### UmbracoProductSnapshot (3 of 4) - -```csharp -public UmbracoProductSnapshot(IPublishedContent content, string languageIsoCode, - string productReference, Guid storeId, - IUmbracoProductNameExtractor umbracoProductNameExtractor, - UmbracoCommerceServiceContext services, - PublishedContentHelperAccessor publishedContentHelperAccessor) -``` - ---- - -#### UmbracoProductSnapshot (4 of 4) - -```csharp -public UmbracoProductSnapshot(IPublishedContent content, IPublishedElement variantContent, - string languageIsoCode, string productReference, string productVariantReference, Guid storeId, - IUmbracoProductNameExtractor umbracoProductNameExtractor, - UmbracoCommerceServiceContext services, - PublishedContentHelperAccessor publishedContentHelperAccessor) -``` - - -### Properties - -#### Attributes - -```csharp -public override IEnumerable Attributes { get; } -``` - - ---- - -#### Content - -```csharp -public IPublishedContent Content { get; } -``` - - ---- - -#### IsGiftCard - -```csharp -public override bool IsGiftCard { get; } -``` - - ---- - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public override IEnumerable Prices { get; } -``` - - ---- - -#### ProductReference - -```csharp -public override string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public override string ProductVariantReference { get; } -``` - - ---- - -#### Properties - -```csharp -public override IDictionary Properties { get; } -``` - - ---- - -#### Sku - -```csharp -public override string Sku { get; } -``` - - ---- - -#### StoreId - -```csharp -public override Guid StoreId { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public override Guid? TaxClassId { get; } -``` - - ---- - -#### VariantContent - -```csharp -public IPublishedElement VariantContent { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductsummary.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductsummary.md deleted file mode 100644 index 2a273d9fec6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductsummary.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: UmbracoProductSummary -description: API reference for UmbracoProductSummary in Umbraco Commerce ---- -## UmbracoProductSummary - -```csharp -public class UmbracoProductSummary : ProductSummaryBase -``` - -**Inheritance** - -* Class [ProductSummaryBase](../../umbraco-commerce-core/umbraco-commerce-core-models/productsummarybase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Adapters](README.md) - -### Constructors - -#### UmbracoProductSummary (1 of 2) - -```csharp -public UmbracoProductSummary(IPublishedContent productNode, string languageIsoCode, - string productReference, Guid storeId) -``` - ---- - -#### UmbracoProductSummary (2 of 2) - -```csharp -public UmbracoProductSummary(IPublishedContent productNode, string languageIsoCode, - string productReference, Guid storeId, - IUmbracoProductNameExtractor umbracoProductNameExtractor, - UmbracoCommerceServiceContext services, - PublishedContentHelperAccessor publishedContentHelperAccessor) -``` - - -### Properties - -#### Content - -```csharp -public IPublishedContent Content { get; } -``` - - ---- - -#### HasVariants - -```csharp -public override bool HasVariants { get; } -``` - - ---- - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public override IEnumerable Prices { get; } -``` - - ---- - -#### Reference - -```csharp -public override string Reference { get; } -``` - - ---- - -#### Sku - -```csharp -public override string Sku { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductvariantsummary.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductvariantsummary.md deleted file mode 100644 index fe6cd211f6e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductvariantsummary.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: UmbracoProductVariantSummary -description: API reference for UmbracoProductVariantSummary in Umbraco Commerce ---- -## UmbracoProductVariantSummary - -```csharp -public class UmbracoProductVariantSummary : ProductVariantSummaryBase -``` - -**Inheritance** - -* Class [ProductVariantSummaryBase](../../umbraco-commerce-core/umbraco-commerce-core-models/productvariantsummarybase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Adapters](README.md) - -### Constructors - -#### UmbracoProductVariantSummary (1 of 2) - -```csharp -public UmbracoProductVariantSummary(IPublishedContent product, - IReadOnlyCollection attributes, ProductVariantItem variant, - string languageIsoCode) -``` - ---- - -#### UmbracoProductVariantSummary (2 of 2) - -```csharp -public UmbracoProductVariantSummary(IPublishedContent product, - IReadOnlyCollection attributes, ProductVariantItem variant, - string languageIsoCode, UmbracoCommerceServiceContext services, - PublishedContentHelperAccessor publishedContentHelperAccessor) -``` - - -### Properties - -#### Attributes - -```csharp -public override IReadOnlyDictionary Attributes { get; } -``` - - ---- - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public override IEnumerable Prices { get; } -``` - - ---- - -#### Reference - -```csharp -public override string Reference { get; } -``` - - ---- - -#### Sku - -```csharp -public override string Sku { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductvariantsummarycollection.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductvariantsummarycollection.md deleted file mode 100644 index e0548df0419..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-adapters/umbracoproductvariantsummarycollection.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: UmbracoProductVariantSummaryCollection -description: API reference for UmbracoProductVariantSummaryCollection in Umbraco Commerce ---- -## UmbracoProductVariantSummaryCollection - -```csharp -public class UmbracoProductVariantSummaryCollection : IEnumerable, - IReadOnlyCollection -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Adapters](README.md) - -### Constructors - -#### UmbracoProductVariantSummaryCollection (1 of 2) - -```csharp -public UmbracoProductVariantSummaryCollection(IPublishedContent productNode, string languageIsoCode) -``` - ---- - -#### UmbracoProductVariantSummaryCollection (2 of 2) - -```csharp -public UmbracoProductVariantSummaryCollection(IPublishedContent productNode, - string languageIsoCode, UmbracoCommerceServiceContext services, - PublishedContentHelperAccessor publishedContentHelperAccessor) -``` - - -### Properties - -#### Count - -```csharp -public int Count { get; } -``` - - -### Methods - -#### GetEnumerator - -```csharp -public IEnumerator GetEnumerator() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-authorization/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-authorization/README.md deleted file mode 100644 index b27182018ab..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-authorization/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Authorization -description: API reference for Umbraco.Commerce.Cms.Authorization in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Authorization namespace - -| Public Type | Description | -| --- | --- | -| static class [UmbracoCommerceAuthorizationPolicies](umbracocommerceauthorizationpolicies.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-authorization/umbracocommerceauthorizationpolicies.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-authorization/umbracocommerceauthorizationpolicies.md deleted file mode 100644 index d52b65c5647..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-authorization/umbracocommerceauthorizationpolicies.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: UmbracoCommerceAuthorizationPolicies -description: API reference for UmbracoCommerceAuthorizationPolicies in Umbraco Commerce ---- -## UmbracoCommerceAuthorizationPolicies - -```csharp -public static class UmbracoCommerceAuthorizationPolicies -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Authorization](README.md) - -### Fields - -#### SectionAccessCommerce - -```csharp -public const string SectionAccessCommerce; -``` - - ---- - -#### SectionAccessSettingsOrCommerce - -```csharp -public const string SectionAccessSettingsOrCommerce; -``` - - ---- - -#### TreeAccessSettings - -```csharp -public const string TreeAccessSettings; -``` - - ---- - -#### TreeAccessStores - -```csharp -public const string TreeAccessStores; -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/README.md deleted file mode 100644 index e4aac62864a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/README.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Cache.Refreshers -description: API reference for Umbraco.Commerce.Cms.Cache.Refreshers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Cache.Refreshers namespace - -| Public Type | Description | -| --- | --- | -| enum [CacheRefresherAction](cacherefresheraction.md) | | -| class [CountryCacheRefresher](countrycacherefresher.md) | | -| class [CurrencyCacheRefresher](currencycacherefresher.md) | | -| class [DiscountCacheRefresher](discountcacherefresher.md) | | -| class [EmailTemplateCacheRefresher](emailtemplatecacherefresher.md) | | -| class [ExportTemplateCacheRefresher](exporttemplatecacherefresher.md) | | -| class [GiftCardCacheRefresher](giftcardcacherefresher.md) | | -| class [OrderCacheRefresher](ordercacherefresher.md) | | -| class [OrderStatusCacheRefresher](orderstatuscacherefresher.md) | | -| class [PaymentMethodCacheRefresher](paymentmethodcacherefresher.md) | | -| class [PrintTemplateCacheRefresher](printtemplatecacherefresher.md) | | -| class [ProductAttributeCacheRefresher](productattributecacherefresher.md) | | -| class [ProductAttributePresetCacheRefresher](productattributepresetcacherefresher.md) | | -| class [RegionCacheRefresher](regioncacherefresher.md) | | -| class [ShippingMethodCacheRefresher](shippingmethodcacherefresher.md) | | -| class [StockCacheRefresher](stockcacherefresher.md) | | -| class [StoreCacheRefresher](storecacherefresher.md) | | -| class [TaxClassCacheRefresher](taxclasscacherefresher.md) | | -| class [UmbracoCommerceCacheRefresherNotification](umbracocommercecacherefreshernotification.md) | | -| class [UmbracoCommerceCacheRefresherRegistrar](umbracocommercecacherefresherregistrar.md) | | -| class [UmbracoCommerceEntityCacheRefresherPayload](umbracocommerceentitycacherefresherpayload.md) | | -| abstract class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) | | -| abstract class [UmbracoCommerceKeyedCacheRefresherBase<TInstanceType,TService>](umbracocommercekeyedcacherefresherbase-2.md) | | -| class [UmbracoCommerceKeyedCacheRefresherPayload](umbracocommercekeyedcacherefresherpayload.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/cacherefresheraction.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/cacherefresheraction.md deleted file mode 100644 index 07c8da34ff0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/cacherefresheraction.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: CacheRefresherAction -description: API reference for CacheRefresherAction in Umbraco Commerce ---- -## CacheRefresherAction - -```csharp -public enum CacheRefresherAction -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Created | `0` | | -| Updated | `1` | | -| Deleted | `2` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/countrycacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/countrycacherefresher.md deleted file mode 100644 index c63d7fdff38..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/countrycacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: CountryCacheRefresher -description: API reference for CountryCacheRefresher in Umbraco Commerce ---- -## CountryCacheRefresher - -```csharp -public class CountryCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### CountryCacheRefresher - -```csharp -public CountryCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/currencycacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/currencycacherefresher.md deleted file mode 100644 index 5940de724e2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/currencycacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: CurrencyCacheRefresher -description: API reference for CurrencyCacheRefresher in Umbraco Commerce ---- -## CurrencyCacheRefresher - -```csharp -public class CurrencyCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### CurrencyCacheRefresher - -```csharp -public CurrencyCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/discountcacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/discountcacherefresher.md deleted file mode 100644 index 4dc0c6cbfd8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/discountcacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: DiscountCacheRefresher -description: API reference for DiscountCacheRefresher in Umbraco Commerce ---- -## DiscountCacheRefresher - -```csharp -public class DiscountCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### DiscountCacheRefresher - -```csharp -public DiscountCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/emailtemplatecacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/emailtemplatecacherefresher.md deleted file mode 100644 index 99f8b9df406..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/emailtemplatecacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: EmailTemplateCacheRefresher -description: API reference for EmailTemplateCacheRefresher in Umbraco Commerce ---- -## EmailTemplateCacheRefresher - -```csharp -public class EmailTemplateCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### EmailTemplateCacheRefresher - -```csharp -public EmailTemplateCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/exporttemplatecacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/exporttemplatecacherefresher.md deleted file mode 100644 index 1b82706c899..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/exporttemplatecacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ExportTemplateCacheRefresher -description: API reference for ExportTemplateCacheRefresher in Umbraco Commerce ---- -## ExportTemplateCacheRefresher - -```csharp -public class ExportTemplateCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### ExportTemplateCacheRefresher - -```csharp -public ExportTemplateCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/giftcardcacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/giftcardcacherefresher.md deleted file mode 100644 index 9d1ca5e1c5e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/giftcardcacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: GiftCardCacheRefresher -description: API reference for GiftCardCacheRefresher in Umbraco Commerce ---- -## GiftCardCacheRefresher - -```csharp -public class GiftCardCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### GiftCardCacheRefresher - -```csharp -public GiftCardCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/ordercacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/ordercacherefresher.md deleted file mode 100644 index e9126262347..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/ordercacherefresher.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: OrderCacheRefresher -description: API reference for OrderCacheRefresher in Umbraco Commerce ---- -## OrderCacheRefresher - -```csharp -public class OrderCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### OrderCacheRefresher - -```csharp -public OrderCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - -### Methods - -#### Refresh - -```csharp -public override void Refresh(UmbracoCommerceEntityCacheRefresherPayload[] payload) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/orderstatuscacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/orderstatuscacherefresher.md deleted file mode 100644 index 562ee6ccb13..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/orderstatuscacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderStatusCacheRefresher -description: API reference for OrderStatusCacheRefresher in Umbraco Commerce ---- -## OrderStatusCacheRefresher - -```csharp -public class OrderStatusCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### OrderStatusCacheRefresher - -```csharp -public OrderStatusCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/paymentmethodcacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/paymentmethodcacherefresher.md deleted file mode 100644 index 6d99b95d4c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/paymentmethodcacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: PaymentMethodCacheRefresher -description: API reference for PaymentMethodCacheRefresher in Umbraco Commerce ---- -## PaymentMethodCacheRefresher - -```csharp -public class PaymentMethodCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### PaymentMethodCacheRefresher - -```csharp -public PaymentMethodCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/printtemplatecacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/printtemplatecacherefresher.md deleted file mode 100644 index 4f4794e970f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/printtemplatecacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: PrintTemplateCacheRefresher -description: API reference for PrintTemplateCacheRefresher in Umbraco Commerce ---- -## PrintTemplateCacheRefresher - -```csharp -public class PrintTemplateCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### PrintTemplateCacheRefresher - -```csharp -public PrintTemplateCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/productattributecacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/productattributecacherefresher.md deleted file mode 100644 index 6edb148d90c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/productattributecacherefresher.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: ProductAttributeCacheRefresher -description: API reference for ProductAttributeCacheRefresher in Umbraco Commerce ---- -## ProductAttributeCacheRefresher - -```csharp -public class ProductAttributeCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### ProductAttributeCacheRefresher - -```csharp -public ProductAttributeCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, - Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/productattributepresetcacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/productattributepresetcacherefresher.md deleted file mode 100644 index 6274c61f6d2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/productattributepresetcacherefresher.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: ProductAttributePresetCacheRefresher -description: API reference for ProductAttributePresetCacheRefresher in Umbraco Commerce ---- -## ProductAttributePresetCacheRefresher - -```csharp -public class ProductAttributePresetCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### ProductAttributePresetCacheRefresher - -```csharp -public ProductAttributePresetCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, - Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/regioncacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/regioncacherefresher.md deleted file mode 100644 index 73ba4a275c9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/regioncacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: RegionCacheRefresher -description: API reference for RegionCacheRefresher in Umbraco Commerce ---- -## RegionCacheRefresher - -```csharp -public class RegionCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### RegionCacheRefresher - -```csharp -public RegionCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/shippingmethodcacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/shippingmethodcacherefresher.md deleted file mode 100644 index 97f43eb7fb3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/shippingmethodcacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ShippingMethodCacheRefresher -description: API reference for ShippingMethodCacheRefresher in Umbraco Commerce ---- -## ShippingMethodCacheRefresher - -```csharp -public class ShippingMethodCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### ShippingMethodCacheRefresher - -```csharp -public ShippingMethodCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/stockcacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/stockcacherefresher.md deleted file mode 100644 index 52a75431d3b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/stockcacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: StockCacheRefresher -description: API reference for StockCacheRefresher in Umbraco Commerce ---- -## StockCacheRefresher - -```csharp -public class StockCacheRefresher : - UmbracoCommerceKeyedCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceKeyedCacheRefresherBase<TInstanceType,TService>](umbracocommercekeyedcacherefresherbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### StockCacheRefresher - -```csharp -public StockCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/storecacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/storecacherefresher.md deleted file mode 100644 index c8daff5786c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/storecacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: StoreCacheRefresher -description: API reference for StoreCacheRefresher in Umbraco Commerce ---- -## StoreCacheRefresher - -```csharp -public class StoreCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### StoreCacheRefresher - -```csharp -public StoreCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/taxclasscacherefresher.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/taxclasscacherefresher.md deleted file mode 100644 index 3694707208a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/taxclasscacherefresher.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: TaxClassCacheRefresher -description: API reference for TaxClassCacheRefresher in Umbraco Commerce ---- -## TaxClassCacheRefresher - -```csharp -public class TaxClassCacheRefresher : - UmbracoCommerceEntityStateCacheRefresherBase -``` - -**Inheritance** - -* Class [UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity>](umbracocommerceentitystatecacherefresherbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### TaxClassCacheRefresher - -```csharp -public TaxClassCacheRefresher(AppCaches appCaches, IJsonSerializer serializer, - IEventAggregator eventAggregator, ICacheRefresherNotificationFactory factory, - Lazy entityService, Lazy> logger) -``` - - -### Properties - -#### Name - -```csharp -public override string Name { get; } -``` - - ---- - -#### RefresherUniqueId - -```csharp -public override Guid RefresherUniqueId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercecacherefreshernotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercecacherefreshernotification.md deleted file mode 100644 index 6289f8083fc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercecacherefreshernotification.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: UmbracoCommerceCacheRefresherNotification -description: API reference for UmbracoCommerceCacheRefresherNotification in Umbraco Commerce ---- -## UmbracoCommerceCacheRefresherNotification - -```csharp -public class UmbracoCommerceCacheRefresherNotification : CacheRefresherNotification -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### UmbracoCommerceCacheRefresherNotification - -```csharp -public UmbracoCommerceCacheRefresherNotification(object messageObject, MessageType messageType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercecacherefresherregistrar.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercecacherefresherregistrar.md deleted file mode 100644 index cbb95026b62..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercecacherefresherregistrar.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: UmbracoCommerceCacheRefresherRegistrar -description: API reference for UmbracoCommerceCacheRefresherRegistrar in Umbraco Commerce ---- -## UmbracoCommerceCacheRefresherRegistrar - -```csharp -public class UmbracoCommerceCacheRefresherRegistrar -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### UmbracoCommerceCacheRefresherRegistrar - -```csharp -public UmbracoCommerceCacheRefresherRegistrar(DistributedCache distributedCache) -``` - - -### Methods - -#### Register - -```csharp -public void Register() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommerceentitycacherefresherpayload.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommerceentitycacherefresherpayload.md deleted file mode 100644 index 10f1333d109..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommerceentitycacherefresherpayload.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: UmbracoCommerceEntityCacheRefresherPayload -description: API reference for UmbracoCommerceEntityCacheRefresherPayload in Umbraco Commerce ---- -## UmbracoCommerceEntityCacheRefresherPayload - -```csharp -public class UmbracoCommerceEntityCacheRefresherPayload -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### UmbracoCommerceEntityCacheRefresherPayload - -The default constructor. - -```csharp -public UmbracoCommerceEntityCacheRefresherPayload() -``` - - -### Properties - -#### Action - -```csharp -public CacheRefresherAction Action { get; set; } -``` - - ---- - -#### EntityId - -```csharp -public Guid EntityId { get; set; } -``` - - ---- - -#### InstanceId - -```csharp -public string InstanceId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommerceentitystatecacherefresherbase-3.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommerceentitystatecacherefresherbase-3.md deleted file mode 100644 index 3a920023c7a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommerceentitystatecacherefresherbase-3.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: UmbracoCommerceEntityStateCacheRefresherBase -description: API reference for UmbracoCommerceEntityStateCacheRefresherBase in Umbraco Commerce ---- -## UmbracoCommerceEntityStateCacheRefresherBase<TInstanceType,TService,TEntity> - -```csharp -public abstract class - UmbracoCommerceEntityStateCacheRefresherBase : - PayloadCacheRefresherBase - where TInstanceType : class, ICacheRefresher - where TService : ICachedEntityService - where TEntity : EntityBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Methods - -#### Refresh (1 of 2) - -```csharp -public override void Refresh(string json) -``` - ---- - -#### Refresh (2 of 2) - -```csharp -public override void Refresh(UmbracoCommerceEntityCacheRefresherPayload[] payload) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercekeyedcacherefresherbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercekeyedcacherefresherbase-2.md deleted file mode 100644 index ca41a68f975..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercekeyedcacherefresherbase-2.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: UmbracoCommerceKeyedCacheRefresherBase -description: API reference for UmbracoCommerceKeyedCacheRefresherBase in Umbraco Commerce ---- -## UmbracoCommerceKeyedCacheRefresherBase<TInstanceType,TService> - -```csharp -public abstract class UmbracoCommerceKeyedCacheRefresherBase : - PayloadCacheRefresherBase - where TInstanceType : class, ICacheRefresher -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Methods - -#### Refresh (1 of 2) - -```csharp -public override void Refresh(string jsonPayload) -``` - ---- - -#### Refresh (2 of 2) - -```csharp -public override void Refresh(UmbracoCommerceKeyedCacheRefresherPayload[] payload) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercekeyedcacherefresherpayload.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercekeyedcacherefresherpayload.md deleted file mode 100644 index 2e4381cfd1f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache-refreshers/umbracocommercekeyedcacherefresherpayload.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: UmbracoCommerceKeyedCacheRefresherPayload -description: API reference for UmbracoCommerceKeyedCacheRefresherPayload in Umbraco Commerce ---- -## UmbracoCommerceKeyedCacheRefresherPayload - -```csharp -public class UmbracoCommerceKeyedCacheRefresherPayload -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Cache.Refreshers](README.md) - -### Constructors - -#### UmbracoCommerceKeyedCacheRefresherPayload - -The default constructor. - -```csharp -public UmbracoCommerceKeyedCacheRefresherPayload() -``` - - -### Properties - -#### Action - -```csharp -public CacheRefresherAction Action { get; set; } -``` - - ---- - -#### InstanceId - -```csharp -public string InstanceId { get; set; } -``` - - ---- - -#### Key - -```csharp -public string Key { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/README.md deleted file mode 100644 index 78fe237c68f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Cache -description: API reference for Umbraco.Commerce.Cms.Cache in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Cache namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoAppCache](umbracoappcache.md) | | -| class [UmbracoAppPolicyCache](umbracoapppolicycache.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/umbracoappcache.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/umbracoappcache.md deleted file mode 100644 index 57081e7d3ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/umbracoappcache.md +++ /dev/null @@ -1,123 +0,0 @@ ---- -title: UmbracoAppCache -description: API reference for UmbracoAppCache in Umbraco Commerce ---- -## UmbracoAppCache - -```csharp -public class UmbracoAppCache : ICache -``` - -**Inheritance** - -* interface [ICache](../../umbraco-commerce-core/umbraco-commerce-core-cache/icache.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache](README.md) - -### Constructors - -#### UmbracoAppCache - -```csharp -public UmbracoAppCache(IAppCache appCache) -``` - - -### Methods - -#### Clear - -```csharp -public virtual void Clear(string cacheKey) -``` - - ---- - -#### ClearAll - -```csharp -public virtual void ClearAll() -``` - - ---- - -#### ClearByKey - -```csharp -public virtual void ClearByKey(string cacheKeyStartsWith) -``` - - ---- - -#### FindByKey - -```csharp -public virtual IEnumerable FindByKey(string keyStartsWith) -``` - - ---- - -#### FindByKeyTyped<T> - -```csharp -public virtual IEnumerable FindByKeyTyped(string keyStartsWith) -``` - - ---- - -#### Get (1 of 2) - -```csharp -public virtual object Get(string cacheKey) -``` - ---- - -#### Get (2 of 2) - -```csharp -public virtual object Get(string cacheKey, Func factory) -``` - - ---- - -#### GetTyped<T> (1 of 2) - -```csharp -public virtual T GetTyped(string cacheKey) -``` - ---- - -#### GetTyped<T> (2 of 2) - -```csharp -public virtual T GetTyped(string cacheKey, Func factory) -``` - - ---- - -#### Set (1 of 2) - -```csharp -public virtual void Set(string cacheKey, object cacheValue) -``` - ---- - -#### Set (2 of 2) - -```csharp -public virtual void Set(string cacheKey, object cacheValue, TimeSpan cacheDuration) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/umbracoapppolicycache.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/umbracoapppolicycache.md deleted file mode 100644 index 70beb282760..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-cache/umbracoapppolicycache.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: UmbracoAppPolicyCache -description: API reference for UmbracoAppPolicyCache in Umbraco Commerce ---- -## UmbracoAppPolicyCache - -```csharp -public class UmbracoAppPolicyCache : UmbracoAppCache, IPolicyCache -``` - -**Inheritance** - -* Class [UmbracoAppCache](umbracoappcache.md) -* interface [IPolicyCache](../../umbraco-commerce-core/umbraco-commerce-core-cache/ipolicycache.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Cache](README.md) - -### Constructors - -#### UmbracoAppPolicyCache - -```csharp -public UmbracoAppPolicyCache(IAppPolicyCache appCache) -``` - - -### Methods - -#### Get - -```csharp -public object Get(string cacheKey, Func factory, TimeSpan? timeout, bool isSliding = false) -``` - - ---- - -#### Set - -```csharp -public void Set(string cacheKey, Func factory, TimeSpan? timeout = default(TimeSpan?), - bool isSliding = false) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/README.md deleted file mode 100644 index 72eb18c7444..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Composing -description: API reference for Umbraco.Commerce.Cms.Composing in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Composing namespace - -| Public Type | Description | -| --- | --- | -| class [CartAdvancedFilterCollectionBuilder](cartadvancedfiltercollectionbuilder.md) | | -| class [OrderAdvancedFilterCollectionBuilder](orderadvancedfiltercollectionbuilder.md) | | -| class [UmbracoNodeStoreFinderCollectionBuilder](umbraconodestorefindercollectionbuilder.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/cartadvancedfiltercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/cartadvancedfiltercollectionbuilder.md deleted file mode 100644 index 10f05f74e59..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/cartadvancedfiltercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CartAdvancedFilterCollectionBuilder -description: API reference for CartAdvancedFilterCollectionBuilder in Umbraco Commerce ---- -## CartAdvancedFilterCollectionBuilder - -```csharp -public class CartAdvancedFilterCollectionBuilder : - OrderedComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Composing](README.md) - -### Constructors - -#### CartAdvancedFilterCollectionBuilder - -The default constructor. - -```csharp -public CartAdvancedFilterCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/orderadvancedfiltercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/orderadvancedfiltercollectionbuilder.md deleted file mode 100644 index d44937946af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/orderadvancedfiltercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: OrderAdvancedFilterCollectionBuilder -description: API reference for OrderAdvancedFilterCollectionBuilder in Umbraco Commerce ---- -## OrderAdvancedFilterCollectionBuilder - -```csharp -public class OrderAdvancedFilterCollectionBuilder : - OrderedComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Composing](README.md) - -### Constructors - -#### OrderAdvancedFilterCollectionBuilder - -The default constructor. - -```csharp -public OrderAdvancedFilterCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/umbraconodestorefindercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/umbraconodestorefindercollectionbuilder.md deleted file mode 100644 index 7cbc86eadea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-composing/umbraconodestorefindercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: UmbracoNodeStoreFinderCollectionBuilder -description: API reference for UmbracoNodeStoreFinderCollectionBuilder in Umbraco Commerce ---- -## UmbracoNodeStoreFinderCollectionBuilder - -```csharp -public class UmbracoNodeStoreFinderCollectionBuilder : - OrderedComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Composing](README.md) - -### Constructors - -#### UmbracoNodeStoreFinderCollectionBuilder - -The default constructor. - -```csharp -public UmbracoNodeStoreFinderCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-configuration/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-configuration/README.md deleted file mode 100644 index 2e5201af8f5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-configuration/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Configuration -description: API reference for Umbraco.Commerce.Cms.Configuration in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Configuration namespace - -| Public Type | Description | -| --- | --- | -| class [CmsUmbracoCommerceSettings](cmsumbracocommercesettings.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-configuration/cmsumbracocommercesettings.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-configuration/cmsumbracocommercesettings.md deleted file mode 100644 index bcd19d93f11..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-configuration/cmsumbracocommercesettings.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: CmsUmbracoCommerceSettings -description: API reference for CmsUmbracoCommerceSettings in Umbraco Commerce ---- -## CmsUmbracoCommerceSettings - -```csharp -public class CmsUmbracoCommerceSettings : IUmbracoCommerceSettings -``` - -**Inheritance** - -* interface [IUmbracoCommerceSettings](../../umbraco-commerce-core/umbraco-commerce-core-configuration/iumbracocommercesettings.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Configuration](README.md) - -### Constructors - -#### CmsUmbracoCommerceSettings - -```csharp -public CmsUmbracoCommerceSettings(IOptionsMonitor umbracoSettings, - IOptionsMonitor commerceSettings, - IHostingEnvironment hostingEnvironment) -``` - - -### Properties - -#### BackOfficeMvcArea - -```csharp -public string BackOfficeMvcArea { get; } -``` - - ---- - -#### BackOfficePath - -```csharp -public string BackOfficePath { get; } -``` - - ---- - -#### CookiesHttpOnly - -```csharp -public bool CookiesHttpOnly { get; } -``` - - ---- - -#### TelemetryEnabled - -```csharp -public bool TelemetryEnabled { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-content/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-content/README.md deleted file mode 100644 index 9d244168ea9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-content/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Content -description: API reference for Umbraco.Commerce.Cms.Content in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Content namespace - -| Public Type | Description | -| --- | --- | -| class [PublishedContentWrapperFactory](publishedcontentwrapperfactory.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-content/publishedcontentwrapperfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-content/publishedcontentwrapperfactory.md deleted file mode 100644 index b7a345c3fbe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-content/publishedcontentwrapperfactory.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: PublishedContentWrapperFactory -description: API reference for PublishedContentWrapperFactory in Umbraco Commerce ---- -## PublishedContentWrapperFactory - -```csharp -public class PublishedContentWrapperFactory -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Content](README.md) - -### Constructors - -#### PublishedContentWrapperFactory - -```csharp -public PublishedContentWrapperFactory(IFactory factory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-data/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-data/README.md deleted file mode 100644 index 3d795854428..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-data/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Data -description: API reference for Umbraco.Commerce.Cms.Data in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Data namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoConnectionStringConfigurator](umbracoconnectionstringconfigurator.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-data/umbracoconnectionstringconfigurator.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-data/umbracoconnectionstringconfigurator.md deleted file mode 100644 index 3ddd4aa5fd6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-data/umbracoconnectionstringconfigurator.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: UmbracoConnectionStringConfigurator -description: API reference for UmbracoConnectionStringConfigurator in Umbraco Commerce ---- -## UmbracoConnectionStringConfigurator - -```csharp -public class UmbracoConnectionStringConfigurator : UmbracoCommerceConnectionStringConfigurator -``` - -**Inheritance** - -* Class [UmbracoCommerceConnectionStringConfigurator](../../umbraco-commerce-core/umbraco-commerce-core-data/umbracocommerceconnectionstringconfigurator.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Data](README.md) - -### Constructors - -#### UmbracoConnectionStringConfigurator - -```csharp -public UmbracoConnectionStringConfigurator(IConfiguration configuration) -``` - - -### Methods - -#### Configure - -```csharp -public override void Configure(string name, ConnectionStringConfig options) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/README.md deleted file mode 100644 index 819acfe72f1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Discounts.Rewards -description: API reference for Umbraco.Commerce.Cms.Discounts.Rewards in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Discounts.Rewards namespace - -| Public Type | Description | -| --- | --- | -| class [ProductOrderLineAmountDiscountRewardProvider](productorderlineamountdiscountrewardprovider.md) | | -| class [ProductOrderLineAmountDiscountRewardProviderSettings](productorderlineamountdiscountrewardprovidersettings.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/productorderlineamountdiscountrewardprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/productorderlineamountdiscountrewardprovider.md deleted file mode 100644 index e0c231cf45d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/productorderlineamountdiscountrewardprovider.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: ProductOrderLineAmountDiscountRewardProvider -description: API reference for ProductOrderLineAmountDiscountRewardProvider in Umbraco Commerce ---- -## ProductOrderLineAmountDiscountRewardProvider - -```csharp -public class ProductOrderLineAmountDiscountRewardProvider : - OrderLineAmountDiscountRewardProviderBase -``` - -**Inheritance** - -* Class [OrderLineAmountDiscountRewardProviderBase<!0>](../../umbraco-commerce-core/umbraco-commerce-core-discounts/orderlineamountdiscountrewardproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Discounts.Rewards](README.md) - -### Constructors - -#### ProductOrderLineAmountDiscountRewardProvider - -```csharp -public ProductOrderLineAmountDiscountRewardProvider( - UmbracoProductHelperAccessor umbracoProductHelperAccessor) -``` - - -### Methods - -#### FilterOrderLines - -```csharp -public override IEnumerable FilterOrderLines(DiscountRewardContext ctx, - ProductOrderLineAmountDiscountRewardProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/productorderlineamountdiscountrewardprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/productorderlineamountdiscountrewardprovidersettings.md deleted file mode 100644 index 04823f108e5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rewards/productorderlineamountdiscountrewardprovidersettings.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ProductOrderLineAmountDiscountRewardProviderSettings -description: API reference for ProductOrderLineAmountDiscountRewardProviderSettings in Umbraco Commerce ---- -## ProductOrderLineAmountDiscountRewardProviderSettings - -```csharp -public class ProductOrderLineAmountDiscountRewardProviderSettings : - OrderLineAmountDiscountRewardProviderSettingsBase -``` - -**Inheritance** - -* Class [OrderLineAmountDiscountRewardProviderSettingsBase](../../umbraco-commerce-core/umbraco-commerce-core-discounts/orderlineamountdiscountrewardprovidersettingsbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Discounts.Rewards](README.md) - -### Constructors - -#### ProductOrderLineAmountDiscountRewardProviderSettings - -The default constructor. - -```csharp -public ProductOrderLineAmountDiscountRewardProviderSettings() -``` - - -### Properties - -#### NodeId - -```csharp -public Udi NodeId { get; set; } -``` - - ---- - -#### OrderLineSource - -```csharp -public OrderLineSource OrderLineSource { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/README.md deleted file mode 100644 index ede98f469bf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Discounts.Rules -description: API reference for Umbraco.Commerce.Cms.Discounts.Rules in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Discounts.Rules namespace - -| Public Type | Description | -| --- | --- | -| class [MemberGroupDiscountRuleProvider](membergroupdiscountruleprovider.md) | | -| class [MemberGroupDiscountRuleProviderSettings](membergroupdiscountruleprovidersettings.md) | | -| class [OrderLineProductDiscountRuleProvider](orderlineproductdiscountruleprovider.md) | | -| class [OrderLineProductDiscountRuleProviderSettings](orderlineproductdiscountruleprovidersettings.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/membergroupdiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/membergroupdiscountruleprovider.md deleted file mode 100644 index 375440d6350..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/membergroupdiscountruleprovider.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: MemberGroupDiscountRuleProvider -description: API reference for MemberGroupDiscountRuleProvider in Umbraco Commerce ---- -## MemberGroupDiscountRuleProvider - -```csharp -public class MemberGroupDiscountRuleProvider : - OrderDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderDiscountRuleProviderBase<!0>](../../umbraco-commerce-core/umbraco-commerce-core-discounts/orderdiscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Discounts.Rules](README.md) - -### Constructors - -#### MemberGroupDiscountRuleProvider - -```csharp -public MemberGroupDiscountRuleProvider(Lazy memberService) -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - MemberGroupDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/membergroupdiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/membergroupdiscountruleprovidersettings.md deleted file mode 100644 index ba098d4df15..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/membergroupdiscountruleprovidersettings.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: MemberGroupDiscountRuleProviderSettings -description: API reference for MemberGroupDiscountRuleProviderSettings in Umbraco Commerce ---- -## MemberGroupDiscountRuleProviderSettings - -```csharp -public class MemberGroupDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Discounts.Rules](README.md) - -### Constructors - -#### MemberGroupDiscountRuleProviderSettings - -The default constructor. - -```csharp -public MemberGroupDiscountRuleProviderSettings() -``` - - -### Properties - -#### MatchType - -```csharp -public MatchType MatchType { get; set; } -``` - - ---- - -#### MemberGroups - -```csharp -public IList MemberGroups { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/orderlineproductdiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/orderlineproductdiscountruleprovider.md deleted file mode 100644 index cc8acea5db4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/orderlineproductdiscountruleprovider.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: OrderLineProductDiscountRuleProvider -description: API reference for OrderLineProductDiscountRuleProvider in Umbraco Commerce ---- -## OrderLineProductDiscountRuleProvider - -```csharp -public class OrderLineProductDiscountRuleProvider : - OrderLineDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderLineDiscountRuleProviderBase<!0>](../../umbraco-commerce-core/umbraco-commerce-core-discounts/orderlinediscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Discounts.Rules](README.md) - -### Constructors - -#### OrderLineProductDiscountRuleProvider - -```csharp -public OrderLineProductDiscountRuleProvider( - UmbracoProductHelperAccessor umbracoProductHelperAccessor) -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - OrderLineProductDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/orderlineproductdiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/orderlineproductdiscountruleprovidersettings.md deleted file mode 100644 index 72669e4339e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-discounts-rules/orderlineproductdiscountruleprovidersettings.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: OrderLineProductDiscountRuleProviderSettings -description: API reference for OrderLineProductDiscountRuleProviderSettings in Umbraco Commerce ---- -## OrderLineProductDiscountRuleProviderSettings - -```csharp -public class OrderLineProductDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Discounts.Rules](README.md) - -### Constructors - -#### OrderLineProductDiscountRuleProviderSettings - -The default constructor. - -```csharp -public OrderLineProductDiscountRuleProviderSettings() -``` - - -### Properties - -#### NodeId - -```csharp -public Udi NodeId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-events-notification/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-events-notification/README.md deleted file mode 100644 index fa0fb947837..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-events-notification/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Events.Notification -description: API reference for Umbraco.Commerce.Cms.Events.Notification in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Events.Notification namespace - -| Public Type | Description | -| --- | --- | -| class [CacheRefreshNotification](cacherefreshnotification.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-events-notification/cacherefreshnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-events-notification/cacherefreshnotification.md deleted file mode 100644 index 8ab6e8126f2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-events-notification/cacherefreshnotification.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: CacheRefreshNotification -description: API reference for CacheRefreshNotification in Umbraco Commerce ---- -## CacheRefreshNotification - -```csharp -public class CacheRefreshNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Events.Notification](README.md) - -### Constructors - -#### CacheRefreshNotification - -```csharp -public CacheRefreshNotification(Type entityType, - UmbracoCommerceEntityCacheRefresherPayload[] payload) -``` - - -### Properties - -#### EntityType - -```csharp -public Type EntityType { get; set; } -``` - - ---- - -#### Payload - -```csharp -public UmbracoCommerceEntityCacheRefresherPayload[] Payload { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-examine/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-examine/README.md deleted file mode 100644 index 36e4feb16a8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-examine/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Examine -description: API reference for Umbraco.Commerce.Cms.Examine in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Examine namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceVariantsEditorExamineValueOptimizer](umbracocommercevariantseditorexaminevalueoptimizer.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-examine/umbracocommercevariantseditorexaminevalueoptimizer.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-examine/umbracocommercevariantseditorexaminevalueoptimizer.md deleted file mode 100644 index 84896b7b373..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-examine/umbracocommercevariantseditorexaminevalueoptimizer.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: UmbracoCommerceVariantsEditorExamineValueOptimizer -description: API reference for UmbracoCommerceVariantsEditorExamineValueOptimizer in Umbraco Commerce ---- -## UmbracoCommerceVariantsEditorExamineValueOptimizer - -```csharp -public class UmbracoCommerceVariantsEditorExamineValueOptimizer -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Examine](README.md) - -### Constructors - -#### UmbracoCommerceVariantsEditorExamineValueOptimizer - -```csharp -public UmbracoCommerceVariantsEditorExamineValueOptimizer(IContentTypeService contentTypeService) -``` - - -### Methods - -#### Optimize - -```csharp -public void Optimize(IDictionary> values, string itemType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/README.md deleted file mode 100644 index f54c6fa7c45..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Extractors -description: API reference for Umbraco.Commerce.Cms.Extractors in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Extractors namespace - -| Public Type | Description | -| --- | --- | -| interface [IUmbracoProductNameExtractor](iumbracoproductnameextractor.md) | | -| class [UmbracoProductNameExtractor](umbracoproductnameextractor.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/iumbracoproductnameextractor.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/iumbracoproductnameextractor.md deleted file mode 100644 index 2c59e0628b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/iumbracoproductnameextractor.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IUmbracoProductNameExtractor -description: API reference for IUmbracoProductNameExtractor in Umbraco Commerce ---- -## IUmbracoProductNameExtractor - -```csharp -public interface IUmbracoProductNameExtractor -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Extractors](README.md) - -### Methods - -#### ExtractProductName (1 of 2) - -```csharp -public string ExtractProductName(IPublishedContent content, string languageIsoCode) -``` - ---- - -#### ExtractProductName (2 of 2) - -```csharp -public string ExtractProductName(IPublishedContent content, IPublishedElement variantContent, - string languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/umbracoproductnameextractor.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/umbracoproductnameextractor.md deleted file mode 100644 index ec0f17a0f13..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-extractors/umbracoproductnameextractor.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: UmbracoProductNameExtractor -description: API reference for UmbracoProductNameExtractor in Umbraco Commerce ---- -## UmbracoProductNameExtractor - -```csharp -public class UmbracoProductNameExtractor : IUmbracoProductNameExtractor -``` - -**Inheritance** - -* interface [IUmbracoProductNameExtractor](iumbracoproductnameextractor.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Extractors](README.md) - -### Constructors - -#### UmbracoProductNameExtractor - -```csharp -public UmbracoProductNameExtractor(PublishedContentHelperAccessor publishedContentHelperAccessor) -``` - - -### Methods - -#### ExtractProductName (1 of 2) - -```csharp -public virtual string ExtractProductName(IPublishedContent content, string languageIsoCode) -``` - ---- - -#### ExtractProductName (2 of 2) - -```csharp -public virtual string ExtractProductName(IPublishedContent content, - IPublishedElement variantContent, string languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/README.md deleted file mode 100644 index ca1e337ae8c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/README.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Filters.Implement -description: API reference for Umbraco.Commerce.Cms.Filters.Implement in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Filters.Implement namespace - -| Public Type | Description | -| --- | --- | -| class [OrderCartNumberAdvancedFilter](ordercartnumberadvancedfilter.md) | | -| class [OrderCreatedAfterAdvancedFilter](ordercreatedafteradvancedfilter.md) | | -| class [OrderCreatedBeforeAdvancedFilter](ordercreatedbeforeadvancedfilter.md) | | -| class [OrderCustomerEmailAddressAdvancedFilter](ordercustomeremailaddressadvancedfilter.md) | | -| class [OrderCustomerFirstNameAdvancedFilter](ordercustomerfirstnameadvancedfilter.md) | | -| class [OrderCustomerLastNameAdvancedFilter](ordercustomerlastnameadvancedfilter.md) | | -| class [OrderHasCustomerEmailAddressAdvancedFilter](orderhascustomeremailaddressadvancedfilter.md) | | -| class [OrderLastUpdatedAfterAdvancedFilter](orderlastupdatedafteradvancedfilter.md) | | -| class [OrderLastUpdatedBeforeAdvancedFilter](orderlastupdatedbeforeadvancedfilter.md) | | -| class [OrderOrderLinePropertiesAdvancedFilter](orderorderlinepropertiesadvancedfilter.md) | | -| class [OrderOrderLineSkusAdvancedFilter](orderorderlineskusadvancedfilter.md) | | -| class [OrderOrderNumberAdvancedFilter](orderordernumberadvancedfilter.md) | | -| class [OrderPlacedAfterAdvancedFilter](orderplacedafteradvancedfilter.md) | | -| class [OrderPlacedBeforeAdvancedFilter](orderplacedbeforeadvancedfilter.md) | | -| class [OrderPropertiesAdvancedFilter](orderpropertiesadvancedfilter.md) | | -| class [OrderTagsAdvancedFilter](ordertagsadvancedfilter.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercartnumberadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercartnumberadvancedfilter.md deleted file mode 100644 index 7649b720721..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercartnumberadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderCartNumberAdvancedFilter -description: API reference for OrderCartNumberAdvancedFilter in Umbraco Commerce ---- -## OrderCartNumberAdvancedFilter - -```csharp -public class OrderCartNumberAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderCartNumberAdvancedFilter - -The default constructor. - -```csharp -public OrderCartNumberAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercreatedafteradvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercreatedafteradvancedfilter.md deleted file mode 100644 index 609939fb87a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercreatedafteradvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderCreatedAfterAdvancedFilter -description: API reference for OrderCreatedAfterAdvancedFilter in Umbraco Commerce ---- -## OrderCreatedAfterAdvancedFilter - -```csharp -public class OrderCreatedAfterAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderCreatedAfterAdvancedFilter - -The default constructor. - -```csharp -public OrderCreatedAfterAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercreatedbeforeadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercreatedbeforeadvancedfilter.md deleted file mode 100644 index 7c67f379ac0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercreatedbeforeadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderCreatedBeforeAdvancedFilter -description: API reference for OrderCreatedBeforeAdvancedFilter in Umbraco Commerce ---- -## OrderCreatedBeforeAdvancedFilter - -```csharp -public class OrderCreatedBeforeAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderCreatedBeforeAdvancedFilter - -The default constructor. - -```csharp -public OrderCreatedBeforeAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomeremailaddressadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomeremailaddressadvancedfilter.md deleted file mode 100644 index 150793dbec9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomeremailaddressadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderCustomerEmailAddressAdvancedFilter -description: API reference for OrderCustomerEmailAddressAdvancedFilter in Umbraco Commerce ---- -## OrderCustomerEmailAddressAdvancedFilter - -```csharp -public class OrderCustomerEmailAddressAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderCustomerEmailAddressAdvancedFilter - -The default constructor. - -```csharp -public OrderCustomerEmailAddressAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomerfirstnameadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomerfirstnameadvancedfilter.md deleted file mode 100644 index 6e2189344ee..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomerfirstnameadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderCustomerFirstNameAdvancedFilter -description: API reference for OrderCustomerFirstNameAdvancedFilter in Umbraco Commerce ---- -## OrderCustomerFirstNameAdvancedFilter - -```csharp -public class OrderCustomerFirstNameAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderCustomerFirstNameAdvancedFilter - -The default constructor. - -```csharp -public OrderCustomerFirstNameAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomerlastnameadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomerlastnameadvancedfilter.md deleted file mode 100644 index 98989fb0f2b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordercustomerlastnameadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderCustomerLastNameAdvancedFilter -description: API reference for OrderCustomerLastNameAdvancedFilter in Umbraco Commerce ---- -## OrderCustomerLastNameAdvancedFilter - -```csharp -public class OrderCustomerLastNameAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderCustomerLastNameAdvancedFilter - -The default constructor. - -```csharp -public OrderCustomerLastNameAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderhascustomeremailaddressadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderhascustomeremailaddressadvancedfilter.md deleted file mode 100644 index 11e4b7d96e0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderhascustomeremailaddressadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderHasCustomerEmailAddressAdvancedFilter -description: API reference for OrderHasCustomerEmailAddressAdvancedFilter in Umbraco Commerce ---- -## OrderHasCustomerEmailAddressAdvancedFilter - -```csharp -public class OrderHasCustomerEmailAddressAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderHasCustomerEmailAddressAdvancedFilter - -The default constructor. - -```csharp -public OrderHasCustomerEmailAddressAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderlastupdatedafteradvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderlastupdatedafteradvancedfilter.md deleted file mode 100644 index 297a93aa81e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderlastupdatedafteradvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderLastUpdatedAfterAdvancedFilter -description: API reference for OrderLastUpdatedAfterAdvancedFilter in Umbraco Commerce ---- -## OrderLastUpdatedAfterAdvancedFilter - -```csharp -public class OrderLastUpdatedAfterAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderLastUpdatedAfterAdvancedFilter - -The default constructor. - -```csharp -public OrderLastUpdatedAfterAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderlastupdatedbeforeadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderlastupdatedbeforeadvancedfilter.md deleted file mode 100644 index 7ae33b96142..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderlastupdatedbeforeadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderLastUpdatedBeforeAdvancedFilter -description: API reference for OrderLastUpdatedBeforeAdvancedFilter in Umbraco Commerce ---- -## OrderLastUpdatedBeforeAdvancedFilter - -```csharp -public class OrderLastUpdatedBeforeAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderLastUpdatedBeforeAdvancedFilter - -The default constructor. - -```csharp -public OrderLastUpdatedBeforeAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderorderlinepropertiesadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderorderlinepropertiesadvancedfilter.md deleted file mode 100644 index bbfc0ec28ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderorderlinepropertiesadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderOrderLinePropertiesAdvancedFilter -description: API reference for OrderOrderLinePropertiesAdvancedFilter in Umbraco Commerce ---- -## OrderOrderLinePropertiesAdvancedFilter - -```csharp -public class OrderOrderLinePropertiesAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderOrderLinePropertiesAdvancedFilter - -The default constructor. - -```csharp -public OrderOrderLinePropertiesAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderorderlineskusadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderorderlineskusadvancedfilter.md deleted file mode 100644 index bf9e46306eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderorderlineskusadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderOrderLineSkusAdvancedFilter -description: API reference for OrderOrderLineSkusAdvancedFilter in Umbraco Commerce ---- -## OrderOrderLineSkusAdvancedFilter - -```csharp -public class OrderOrderLineSkusAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderOrderLineSkusAdvancedFilter - -The default constructor. - -```csharp -public OrderOrderLineSkusAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderordernumberadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderordernumberadvancedfilter.md deleted file mode 100644 index eff4489dfd7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderordernumberadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderOrderNumberAdvancedFilter -description: API reference for OrderOrderNumberAdvancedFilter in Umbraco Commerce ---- -## OrderOrderNumberAdvancedFilter - -```csharp -public class OrderOrderNumberAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderOrderNumberAdvancedFilter - -The default constructor. - -```csharp -public OrderOrderNumberAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderplacedafteradvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderplacedafteradvancedfilter.md deleted file mode 100644 index 7c70ae41681..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderplacedafteradvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderPlacedAfterAdvancedFilter -description: API reference for OrderPlacedAfterAdvancedFilter in Umbraco Commerce ---- -## OrderPlacedAfterAdvancedFilter - -```csharp -public class OrderPlacedAfterAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderPlacedAfterAdvancedFilter - -The default constructor. - -```csharp -public OrderPlacedAfterAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderplacedbeforeadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderplacedbeforeadvancedfilter.md deleted file mode 100644 index 6c9170c1aea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderplacedbeforeadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderPlacedBeforeAdvancedFilter -description: API reference for OrderPlacedBeforeAdvancedFilter in Umbraco Commerce ---- -## OrderPlacedBeforeAdvancedFilter - -```csharp -public class OrderPlacedBeforeAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderPlacedBeforeAdvancedFilter - -The default constructor. - -```csharp -public OrderPlacedBeforeAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderpropertiesadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderpropertiesadvancedfilter.md deleted file mode 100644 index d0014e7599a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/orderpropertiesadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderPropertiesAdvancedFilter -description: API reference for OrderPropertiesAdvancedFilter in Umbraco Commerce ---- -## OrderPropertiesAdvancedFilter - -```csharp -public class OrderPropertiesAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderPropertiesAdvancedFilter - -The default constructor. - -```csharp -public OrderPropertiesAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordertagsadvancedfilter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordertagsadvancedfilter.md deleted file mode 100644 index f24c6519f01..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters-implement/ordertagsadvancedfilter.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderTagsAdvancedFilter -description: API reference for OrderTagsAdvancedFilter in Umbraco Commerce ---- -## OrderTagsAdvancedFilter - -```csharp -public class OrderTagsAdvancedFilter : OrderAdvancedFilterBase -``` - -**Inheritance** - -* Class [OrderAdvancedFilterBase](../umbraco-commerce-cms-filters/orderadvancedfilterbase.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters.Implement](README.md) - -### Constructors - -#### OrderTagsAdvancedFilter - -The default constructor. - -```csharp -public OrderTagsAdvancedFilter() -``` - - -### Methods - -#### Apply - -```csharp -public override IQuerySpecification Apply(IQuerySpecification query, - IOrderQuerySpecificationFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public override bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/README.md deleted file mode 100644 index a3f4855cde8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Filters -description: API reference for Umbraco.Commerce.Cms.Filters in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Filters namespace - -| Public Type | Description | -| --- | --- | -| class [AdvancedFilterAttribute](advancedfilterattribute.md) | | -| abstract class [AdvancedFilterBase<TSpecFactory,TEntity>](advancedfilterbase-2.md) | | -| class [CartAdvancedFilterCollection](cartadvancedfiltercollection.md) | | -| interface [IAdvancedFilter<TSpecFactory,TEntity>](iadvancedfilter-2.md) | | -| abstract class [OrderAdvancedFilterBase](orderadvancedfilterbase.md) | | -| class [OrderAdvancedFilterCollection](orderadvancedfiltercollection.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/advancedfilterattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/advancedfilterattribute.md deleted file mode 100644 index 2b1ca5afd96..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/advancedfilterattribute.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -title: AdvancedFilterAttribute -description: API reference for AdvancedFilterAttribute in Umbraco Commerce ---- -## AdvancedFilterAttribute - -```csharp -[AttributeUsage(AttributeTargets.Class, Inherited = False, AllowMultiple = False)] -public class AdvancedFilterAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Filters](README.md) - -### Constructors - -#### AdvancedFilterAttribute (1 of 2) - -```csharp -public AdvancedFilterAttribute(string alias, string name) -``` - ---- - -#### AdvancedFilterAttribute (2 of 2) - -```csharp -public AdvancedFilterAttribute(string alias, string name, string description) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### EditorConfig - -```csharp -public string EditorConfig { get; set; } -``` - - ---- - -#### EditorView - -```csharp -public string EditorView { get; set; } -``` - - ---- - -#### Group - -```csharp -public string Group { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/advancedfilterbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/advancedfilterbase-2.md deleted file mode 100644 index 58804949b9e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/advancedfilterbase-2.md +++ /dev/null @@ -1,103 +0,0 @@ ---- -title: AdvancedFilterBase -description: API reference for AdvancedFilterBase in Umbraco Commerce ---- -## AdvancedFilterBase<TSpecFactory,TEntity> - -```csharp -public abstract class AdvancedFilterBase : - IAdvancedFilter -``` - -**Inheritance** - -* interface [IAdvancedFilter<TSpecFactory,TEntity>](iadvancedfilter-2.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters](README.md) - -### Constructors - -#### AdvancedFilterBase<TSpecFactory,TEntity> - -The default constructor. - -```csharp -public AdvancedFilterBase() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### EditorConfig - -```csharp -public string EditorConfig { get; } -``` - - ---- - -#### EditorView - -```csharp -public string EditorView { get; } -``` - - ---- - -#### Group - -```csharp -public string Group { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - -### Methods - -#### Apply - -```csharp -public abstract IQuerySpecification Apply(IQuerySpecification query, - TSpecFactory where, string value) -``` - - ---- - -#### CanApply - -```csharp -public abstract bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/cartadvancedfiltercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/cartadvancedfiltercollection.md deleted file mode 100644 index 975f7887f3a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/cartadvancedfiltercollection.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CartAdvancedFilterCollection -description: API reference for CartAdvancedFilterCollection in Umbraco Commerce ---- -## CartAdvancedFilterCollection - -```csharp -public class CartAdvancedFilterCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters](README.md) - -### Constructors - -#### CartAdvancedFilterCollection - -```csharp -public CartAdvancedFilterCollection(Func> items) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/iadvancedfilter-2.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/iadvancedfilter-2.md deleted file mode 100644 index d5fd0c6d4e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/iadvancedfilter-2.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -title: IAdvancedFilter -description: API reference for IAdvancedFilter in Umbraco Commerce ---- -## IAdvancedFilter<TSpecFactory,TEntity> - -```csharp -public interface IAdvancedFilter -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Filters](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### EditorConfig - -```csharp -public string EditorConfig { get; } -``` - - ---- - -#### EditorView - -```csharp -public string EditorView { get; } -``` - - ---- - -#### Group - -```csharp -public string Group { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - -### Methods - -#### Apply - -```csharp -public IQuerySpecification Apply(IQuerySpecification query, TSpecFactory where, - string value) -``` - - ---- - -#### CanApply - -```csharp -public bool CanApply(string value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/orderadvancedfilterbase.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/orderadvancedfilterbase.md deleted file mode 100644 index 96044b43cbd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/orderadvancedfilterbase.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: OrderAdvancedFilterBase -description: API reference for OrderAdvancedFilterBase in Umbraco Commerce ---- -## OrderAdvancedFilterBase - -```csharp -public abstract class OrderAdvancedFilterBase : - AdvancedFilterBase -``` - -**Inheritance** - -* Class [AdvancedFilterBase<TSpecFactory,TEntity>](advancedfilterbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/orderadvancedfiltercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/orderadvancedfiltercollection.md deleted file mode 100644 index dd781481224..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-filters/orderadvancedfiltercollection.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderAdvancedFilterCollection -description: API reference for OrderAdvancedFilterCollection in Umbraco Commerce ---- -## OrderAdvancedFilterCollection - -```csharp -public class OrderAdvancedFilterCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Filters](README.md) - -### Constructors - -#### OrderAdvancedFilterCollection - -```csharp -public OrderAdvancedFilterCollection(Func> items) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/README.md deleted file mode 100644 index 901c3048c7b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Finders -description: API reference for Umbraco.Commerce.Cms.Finders in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Finders namespace - -| Public Type | Description | -| --- | --- | -| interface [IUmbracoNodeStoreFinder](iumbraconodestorefinder.md) | | -| class [UmbracoContentStoreFinder](umbracocontentstorefinder.md) | | -| class [UmbracoLuceneStoreFinder](umbracolucenestorefinder.md) | | -| class [UmbracoNodeStoreFinderCollection](umbraconodestorefindercollection.md) | | -| class [UmbracoPublishedContentStoreFinder](umbracopublishedcontentstorefinder.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/iumbraconodestorefinder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/iumbraconodestorefinder.md deleted file mode 100644 index a0aeac8df0b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/iumbraconodestorefinder.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IUmbracoNodeStoreFinder -description: API reference for IUmbracoNodeStoreFinder in Umbraco Commerce ---- -## IUmbracoNodeStoreFinder - -```csharp -public interface IUmbracoNodeStoreFinder -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Finders](README.md) - -### Methods - -#### FindStore - -```csharp -public StoreFinderResult FindStore(int nodeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracocontentstorefinder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracocontentstorefinder.md deleted file mode 100644 index d6386225aff..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracocontentstorefinder.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: UmbracoContentStoreFinder -description: API reference for UmbracoContentStoreFinder in Umbraco Commerce ---- -## UmbracoContentStoreFinder - -```csharp -public class UmbracoContentStoreFinder : UmbracoPublishedContentStoreFinder -``` - -**Inheritance** - -* Class [UmbracoPublishedContentStoreFinder](umbracopublishedcontentstorefinder.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Finders](README.md) - -### Constructors - -#### UmbracoContentStoreFinder - -```csharp -public UmbracoContentStoreFinder(Lazy umbracoContextFactory, - Lazy publishedContentHelperAccessor, - Lazy contentService, - Lazy publishedContentWrapperFactory) -``` - - -### Methods - -#### FindStore - -```csharp -public override StoreFinderResult FindStore(int nodeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracolucenestorefinder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracolucenestorefinder.md deleted file mode 100644 index a5380e4e101..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracolucenestorefinder.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: UmbracoLuceneStoreFinder -description: API reference for UmbracoLuceneStoreFinder in Umbraco Commerce ---- -## UmbracoLuceneStoreFinder - -```csharp -public class UmbracoLuceneStoreFinder : IUmbracoNodeStoreFinder -``` - -**Inheritance** - -* interface [IUmbracoNodeStoreFinder](iumbraconodestorefinder.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Finders](README.md) - -### Constructors - -#### UmbracoLuceneStoreFinder - -```csharp -public UmbracoLuceneStoreFinder(Lazy examineHelper, - Lazy storeService) -``` - - -### Methods - -#### FindStore - -```csharp -public StoreFinderResult FindStore(int nodeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbraconodestorefindercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbraconodestorefindercollection.md deleted file mode 100644 index d91c2717de2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbraconodestorefindercollection.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: UmbracoNodeStoreFinderCollection -description: API reference for UmbracoNodeStoreFinderCollection in Umbraco Commerce ---- -## UmbracoNodeStoreFinderCollection - -```csharp -public class UmbracoNodeStoreFinderCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Finders](README.md) - -### Constructors - -#### UmbracoNodeStoreFinderCollection - -```csharp -public UmbracoNodeStoreFinderCollection(Func> itemsFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracopublishedcontentstorefinder.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracopublishedcontentstorefinder.md deleted file mode 100644 index 43d65aa19f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-finders/umbracopublishedcontentstorefinder.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: UmbracoPublishedContentStoreFinder -description: API reference for UmbracoPublishedContentStoreFinder in Umbraco Commerce ---- -## UmbracoPublishedContentStoreFinder - -```csharp -public class UmbracoPublishedContentStoreFinder : IUmbracoNodeStoreFinder -``` - -**Inheritance** - -* interface [IUmbracoNodeStoreFinder](iumbraconodestorefinder.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Finders](README.md) - -### Constructors - -#### UmbracoPublishedContentStoreFinder - -```csharp -public UmbracoPublishedContentStoreFinder(Lazy umbracoContextFactory, - Lazy publishedContentHelperAccessor) -``` - - -### Methods - -#### FindStore - -```csharp -public virtual StoreFinderResult FindStore(int nodeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-healthchecks/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-healthchecks/README.md deleted file mode 100644 index a224a364e87..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-healthchecks/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.HealthChecks -description: API reference for Umbraco.Commerce.Cms.HealthChecks in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.HealthChecks namespace - -| Public Type | Description | -| --- | --- | -| class [EntityCacheIntegrityCheck](entitycacheintegritycheck.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-healthchecks/entitycacheintegritycheck.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-healthchecks/entitycacheintegritycheck.md deleted file mode 100644 index 286bd24533d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-healthchecks/entitycacheintegritycheck.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: EntityCacheIntegrityCheck -description: API reference for EntityCacheIntegrityCheck in Umbraco Commerce ---- -## EntityCacheIntegrityCheck - -```csharp -public class EntityCacheIntegrityCheck : HealthCheck -``` - -**Namespace** -* [Umbraco.Commerce.Cms.HealthChecks](README.md) - -### Constructors - -#### EntityCacheIntegrityCheck - -```csharp -public EntityCacheIntegrityCheck(UmbracoCommerceServiceContext services) -``` - - -### Methods - -#### ExecuteAction - -```csharp -public override HealthCheckStatus ExecuteAction(HealthCheckAction action) -``` - - ---- - -#### GetStatus - -```csharp -public override Task> GetStatus() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/README.md deleted file mode 100644 index 822779cee44..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Helpers -description: API reference for Umbraco.Commerce.Cms.Helpers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Helpers namespace - -| Public Type | Description | -| --- | --- | -| class [PublishedContentHelper](publishedcontenthelper.md) | | -| class [UmbracoCommerceExamineHelper](umbracocommerceexaminehelper.md) | | -| class [UmbracoProductHelper](umbracoproducthelper.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/publishedcontenthelper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/publishedcontenthelper.md deleted file mode 100644 index 08797284e0d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/publishedcontenthelper.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: PublishedContentHelper -description: API reference for PublishedContentHelper in Umbraco Commerce ---- -## PublishedContentHelper - -```csharp -public class PublishedContentHelper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Helpers](README.md) - -### Constructors - -#### PublishedContentHelper - -```csharp -public PublishedContentHelper(IPublishedValueFallback publishedValueFallback, - IUmbracoContextFactory umbracoContextFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/umbracocommerceexaminehelper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/umbracocommerceexaminehelper.md deleted file mode 100644 index 2879f39dcd0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/umbracocommerceexaminehelper.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: UmbracoCommerceExamineHelper -description: API reference for UmbracoCommerceExamineHelper in Umbraco Commerce ---- -## UmbracoCommerceExamineHelper - -```csharp -public class UmbracoCommerceExamineHelper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Helpers](README.md) - -### Constructors - -#### UmbracoCommerceExamineHelper - -```csharp -public UmbracoCommerceExamineHelper(IExamineManager examineManager) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/umbracoproducthelper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/umbracoproducthelper.md deleted file mode 100644 index f6527902a8d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-helpers/umbracoproducthelper.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: UmbracoProductHelper -description: API reference for UmbracoProductHelper in Umbraco Commerce ---- -## UmbracoProductHelper - -```csharp -public class UmbracoProductHelper -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Helpers](README.md) - -### Constructors - -#### UmbracoProductHelper - -```csharp -public UmbracoProductHelper(IProductService productService, IUmbracoStoreService storeService, - IUmbracoContextFactory umbracoContextFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-mail/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-mail/README.md deleted file mode 100644 index ebf134f645a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-mail/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Mail -description: API reference for Umbraco.Commerce.Cms.Mail in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Mail namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoEmailSender](umbracoemailsender.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-mail/umbracoemailsender.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-mail/umbracoemailsender.md deleted file mode 100644 index a38ba2edcf7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-mail/umbracoemailsender.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: UmbracoEmailSender -description: API reference for UmbracoEmailSender in Umbraco Commerce ---- -## UmbracoEmailSender - -```csharp -public class UmbracoEmailSender : IEmailSender -``` - -**Inheritance** - -* interface [IEmailSender](../../umbraco-commerce-core/umbraco-commerce-core-mail/iemailsender.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Mail](README.md) - -### Constructors - -#### UmbracoEmailSender - -```csharp -public UmbracoEmailSender(IEmailSender umbracoEmailSender) -``` - - -### Methods - -#### SendAsync - -```csharp -public Task SendAsync(MailMessage message) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/README.md deleted file mode 100644 index 3085e7a428e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/README.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Models -description: API reference for Umbraco.Commerce.Cms.Models in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Models namespace - -| Public Type | Description | -| --- | --- | -| class [PricePropertyValue](pricepropertyvalue.md) | | -| class [ProductVariantCollection](productvariantcollection.md) | | -| class [ProductVariantConfig](productvariantconfig.md) | | -| class [ProductVariantItem](productvariantitem.md) | | -| class [ProductVariantPublishedElement](productvariantpublishedelement.md) | | -| abstract class [PublishedElementWithParent<T>](publishedelementwithparent-1.md) | | -| abstract class [PublishedElementWrapped<T>](publishedelementwrapped-1.md) | | -| class [VariantEditorLayoutItem](varianteditorlayoutitem.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/pricepropertyvalue.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/pricepropertyvalue.md deleted file mode 100644 index c7db94efd77..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/pricepropertyvalue.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: PricePropertyValue -description: API reference for PricePropertyValue in Umbraco Commerce ---- -## PricePropertyValue - -```csharp -public class PricePropertyValue : IEnumerable -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - -### Indexers - -#### PricePropertyValue - -```csharp -public ProductPrice this[Guid currencyId] { get; } -``` - - -### Methods - -#### GetEnumerator - -```csharp -public IEnumerator GetEnumerator() -``` - - ---- - -#### GetPriceFor - -```csharp -public ProductPrice GetPriceFor(Guid currencyId) -``` - - ---- - -#### HasPriceFor - -```csharp -public bool HasPriceFor(Guid currencyId) -``` - - ---- - -#### TryGetPriceFor - -```csharp -public bool TryGetPriceFor(Guid currencyId, out ProductPrice value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantcollection.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantcollection.md deleted file mode 100644 index 64aff00c8fe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantcollection.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: ProductVariantCollection -description: API reference for ProductVariantCollection in Umbraco Commerce ---- -## ProductVariantCollection - -```csharp -public class ProductVariantCollection : ReadOnlyCollection -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - -### Constructors - -#### ProductVariantCollection - -Initializes a new instance of the [`ProductVariantCollection`](productvariantcollection.md) class. - -```csharp -public ProductVariantCollection(Guid storeId, IList list) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The StoreId the product variants belogn to | -| list | The list to wrap. | - - -### Properties - -#### StoreId - -Gets the StoreId the product variants belong to - -```csharp -public Guid StoreId { get; } -``` - - -### Indexers - -#### ProductVariantCollection (1 of 2) - -Gets the [`ProductVariantItem`](productvariantitem.md) with the specified content key. - -```csharp -public ProductVariantItem this[Guid contentKey] { get; } -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| contentKey | The content key. | - -**Returns** - -The [`ProductVariantItem`](productvariantitem.md) with the specified content key. - -**Value** - -The [`ProductVariantItem`](productvariantitem.md). - ---- - -#### ProductVariantCollection (2 of 2) - -Gets the [`ProductVariantItem`](productvariantitem.md) with the specified content UDI. - -```csharp -public ProductVariantItem this[Udi contentUdi] { get; } -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| contentUdi | The content UDI. | - -**Returns** - -The [`ProductVariantItem`](productvariantitem.md) with the specified content UDI. - -**Value** - -The [`ProductVariantItem`](productvariantitem.md). - - -### Methods - -#### Empty - -Gets an empty [`ProductVariantCollection`](productvariantcollection.md). - -```csharp -public static ProductVariantCollection Empty(Guid storeId) -``` - -**Value** - -The empty [`ProductVariantCollection`](productvariantcollection.md). - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantconfig.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantconfig.md deleted file mode 100644 index b62e22bbe7c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantconfig.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ProductVariantConfig -description: API reference for ProductVariantConfig in Umbraco Commerce ---- -## ProductVariantConfig - -```csharp -public class ProductVariantConfig -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - -### Constructors - -#### ProductVariantConfig - -The default constructor. - -```csharp -public ProductVariantConfig() -``` - - -### Properties - -#### Attributes - -Gets the attributes. - -```csharp -public IDictionary Attributes { get; set; } -``` - -**Value** - -The attributes. - - ---- - -#### IsDefault - -Gets a flag indicating whether the given variant is the default. - -```csharp -public bool IsDefault { get; set; } -``` - -**Value** - -True if the variant is the default variant, otherwise false. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantitem.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantitem.md deleted file mode 100644 index 64b04bd7014..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantitem.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: ProductVariantItem -description: API reference for ProductVariantItem in Umbraco Commerce ---- -## ProductVariantItem - -```csharp -public class ProductVariantItem : IBlockReference -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - -### Constructors - -#### ProductVariantItem - -Initializes a new instance of the [`ProductVariantItem`](productvariantitem.md) class. - -```csharp -public ProductVariantItem(Udi contentUdi, IPublishedElement content, ProductVariantConfig config) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| contentUdi | The content UDI. | -| content | The content. | -| config | The config. | - -**Exceptions** - -| Exception | Condition | -| --- | --- | -| ArgumentNullException | contentUdi or content | - - -### Properties - -#### Config - -Gets the config. - -```csharp -public ProductVariantConfig Config { get; } -``` - -**Value** - -The config. - - ---- - -#### Content - -Gets the content. - -```csharp -public IPublishedElement Content { get; } -``` - -**Value** - -The content. - - ---- - -#### ContentUdi - -Gets the content UDI. - -```csharp -public Udi ContentUdi { get; } -``` - -**Value** - -The content UDI. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantpublishedelement.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantpublishedelement.md deleted file mode 100644 index 9c5169fdaf1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/productvariantpublishedelement.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: ProductVariantPublishedElement -description: API reference for ProductVariantPublishedElement in Umbraco Commerce ---- -## ProductVariantPublishedElement - -```csharp -public class ProductVariantPublishedElement : - PublishedElementWithParent -``` - -**Inheritance** - -* Class [PublishedElementWithParent<T>](publishedelementwithparent-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/publishedelementwithparent-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/publishedelementwithparent-1.md deleted file mode 100644 index 3bff03cd75d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/publishedelementwithparent-1.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PublishedElementWithParent -description: API reference for PublishedElementWithParent in Umbraco Commerce ---- -## PublishedElementWithParent<T> - -```csharp -public abstract class PublishedElementWithParent : PublishedElementWrapped - where T : PublishedElementWithParent -``` - -**Inheritance** - -* Class [PublishedElementWrapped<T>](publishedelementwrapped-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - -### Properties - -#### ParentKey - -```csharp -public Guid ParentKey { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/publishedelementwrapped-1.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/publishedelementwrapped-1.md deleted file mode 100644 index dd3870ac094..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/publishedelementwrapped-1.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: PublishedElementWrapped -description: API reference for PublishedElementWrapped in Umbraco Commerce ---- -## PublishedElementWrapped<T> - -```csharp -public abstract class PublishedElementWrapped : PublishedElementWrapped - where T : PublishedElementWrapped -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/varianteditorlayoutitem.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/varianteditorlayoutitem.md deleted file mode 100644 index 25f7bb42fe6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-models/varianteditorlayoutitem.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: VariantEditorLayoutItem -description: API reference for VariantEditorLayoutItem in Umbraco Commerce ---- -## VariantEditorLayoutItem - -```csharp -public class VariantEditorLayoutItem -``` - -**Namespace** -* [Umbraco.Commerce.Cms.Models](README.md) - -### Constructors - -#### VariantEditorLayoutItem - -The default constructor. - -```csharp -public VariantEditorLayoutItem() -``` - - -### Properties - -#### Config - -```csharp -public ProductVariantConfig Config { get; set; } -``` - - ---- - -#### ContentUdi - -```csharp -public Udi ContentUdi { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-stock/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-stock/README.md deleted file mode 100644 index 81722860d36..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-stock/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.PropertyEditors.Stock -description: API reference for Umbraco.Commerce.Cms.PropertyEditors.Stock in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.PropertyEditors.Stock namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoStockSynchronizer](umbracostocksynchronizer.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-stock/umbracostocksynchronizer.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-stock/umbracostocksynchronizer.md deleted file mode 100644 index 35677810c9e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-stock/umbracostocksynchronizer.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: UmbracoStockSynchronizer -description: API reference for UmbracoStockSynchronizer in Umbraco Commerce ---- -## UmbracoStockSynchronizer - -```csharp -public class UmbracoStockSynchronizer -``` - -**Namespace** -* [Umbraco.Commerce.Cms.PropertyEditors.Stock](README.md) - -### Constructors - -#### UmbracoStockSynchronizer - -```csharp -public UmbracoStockSynchronizer(IProductService productService, IUmbracoStoreService storeService, - IDataTypeService dataTypeService, IContentTypeService contentTypeService) -``` - - -### Enumerations - -#### UmbracoStockSynchronizer.SynchronizeAttempt - -```csharp -public enum SynchronizeAttempt -``` - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Attempt1 | `0` | | -| Attempt2 | `1` | | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/README.md deleted file mode 100644 index a405d301913..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor -description: API reference for Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor namespace - -| Public Type | Description | -| --- | --- | -| class [VariantsEditorConfiguration](variantseditorconfiguration.md) | | -| class [VariantsEditorDataConverter](variantseditordataconverter.md) | | -| class [VariantsEditorPropertyEditor](variantseditorpropertyeditor.md) | | -| class [VariantsEditorSynchronizer](variantseditorsynchronizer.md) | Component to watch for content changes to nodes with a variants editor on them and stash a storeId property in the data structure. This is predominantly for Umbraco Commerce Deploy which needs to lookup Product Attribute dependencies but needs as storeId to do it however the Umbraco Deploy value connectors don't have any other context other than the property value and it's property type. This may also be true for uSycn too. We could also look to potetially use this in the value converter for the variants editor as we now have this also being store aware. | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorconfiguration.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorconfiguration.md deleted file mode 100644 index a62ca1d0a92..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorconfiguration.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: VariantsEditorConfiguration -description: API reference for VariantsEditorConfiguration in Umbraco Commerce ---- -## VariantsEditorConfiguration - -```csharp -public class VariantsEditorConfiguration -``` - -**Namespace** -* [Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor](README.md) - -### Constructors - -#### VariantsEditorConfiguration - -The default constructor. - -```csharp -public VariantsEditorConfiguration() -``` - - -### Properties - -#### VariantElementTypeKey - -```csharp -public Guid? VariantElementTypeKey { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditordataconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditordataconverter.md deleted file mode 100644 index 72d8f1a0db5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditordataconverter.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: VariantsEditorDataConverter -description: API reference for VariantsEditorDataConverter in Umbraco Commerce ---- -## VariantsEditorDataConverter - -```csharp -public class VariantsEditorDataConverter : BlockEditorDataConverter -``` - -**Namespace** -* [Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor](README.md) - -### Constructors - -#### VariantsEditorDataConverter - -The default constructor. - -```csharp -public VariantsEditorDataConverter() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorpropertyeditor.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorpropertyeditor.md deleted file mode 100644 index ed6ce9e9b91..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorpropertyeditor.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: VariantsEditorPropertyEditor -description: API reference for VariantsEditorPropertyEditor in Umbraco Commerce ---- -## VariantsEditorPropertyEditor - -```csharp -public class VariantsEditorPropertyEditor : BlockEditorPropertyEditor -``` - -**Namespace** -* [Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor](README.md) - -### Constructors - -#### VariantsEditorPropertyEditor - -```csharp -public VariantsEditorPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, - PropertyEditorCollection propertyEditors, IIOHelper ioHelper, - IEditorConfigurationParser configParser) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorsynchronizer.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorsynchronizer.md deleted file mode 100644 index 293e1ae5596..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-propertyeditors-variantseditor/variantseditorsynchronizer.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: VariantsEditorSynchronizer -description: API reference for VariantsEditorSynchronizer in Umbraco Commerce ---- -## VariantsEditorSynchronizer - -Component to watch for content changes to nodes with a variants editor on them and stash a storeId property in the data structure. This is predominantly for Umbraco Commerce Deploy which needs to lookup Product Attribute dependencies but needs as storeId to do it however the Umbraco Deploy value connectors don't have any other context other than the property value and it's property type. This may also be true for uSycn too. We could also look to potetially use this in the value converter for the variants editor as we now have this also being store aware. - -```csharp -public class VariantsEditorSynchronizer -``` - -**Namespace** -* [Umbraco.Commerce.Cms.PropertyEditors.VariantsEditor](README.md) - -### Constructors - -#### VariantsEditorSynchronizer - -```csharp -public VariantsEditorSynchronizer(IUmbracoStoreService storeService) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-providers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-providers/README.md deleted file mode 100644 index fe5cf6f50ad..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-providers/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Providers -description: API reference for Umbraco.Commerce.Cms.Providers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Providers namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoMemberCustomerInfoProvider](umbracomembercustomerinfoprovider.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-providers/umbracomembercustomerinfoprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-providers/umbracomembercustomerinfoprovider.md deleted file mode 100644 index a0e6d81ddbb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-providers/umbracomembercustomerinfoprovider.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: UmbracoMemberCustomerInfoProvider -description: API reference for UmbracoMemberCustomerInfoProvider in Umbraco Commerce ---- -## UmbracoMemberCustomerInfoProvider - -```csharp -public class UmbracoMemberCustomerInfoProvider : IRegisteredCustomerInfoProvider -``` - -**Inheritance** - -* interface [IRegisteredCustomerInfoProvider](../../umbraco-commerce-core/umbraco-commerce-core-providers/iregisteredcustomerinfoprovider.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Providers](README.md) - -### Constructors - -#### UmbracoMemberCustomerInfoProvider - -```csharp -public UmbracoMemberCustomerInfoProvider(IMemberService memberService) -``` - - -### Methods - -#### GetRegisteredCustomerInfo - -```csharp -public RegisteredCustomerInfo GetRegisteredCustomerInfo(string customerReference) -``` - - ---- - -#### HasRegisteredCustomerInfo - -```csharp -public bool HasRegisteredCustomerInfo(string customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-resolvers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-resolvers/README.md deleted file mode 100644 index baad425b253..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-resolvers/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Resolvers -description: API reference for Umbraco.Commerce.Cms.Resolvers in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Resolvers namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoApiControllerPaymentProviderUriResolver](umbracoapicontrollerpaymentprovideruriresolver.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-resolvers/umbracoapicontrollerpaymentprovideruriresolver.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-resolvers/umbracoapicontrollerpaymentprovideruriresolver.md deleted file mode 100644 index 9801e3b9c5c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-resolvers/umbracoapicontrollerpaymentprovideruriresolver.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: UmbracoApiControllerPaymentProviderUriResolver -description: API reference for UmbracoApiControllerPaymentProviderUriResolver in Umbraco Commerce ---- -## UmbracoApiControllerPaymentProviderUriResolver - -```csharp -public class UmbracoApiControllerPaymentProviderUriResolver : IPaymentProviderUriResolver -``` - -**Inheritance** - -* interface [IPaymentProviderUriResolver](../../umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovideruriresolver.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Resolvers](README.md) - -### Constructors - -#### UmbracoApiControllerPaymentProviderUriResolver - -```csharp -public UmbracoApiControllerPaymentProviderUriResolver(IUmbracoCommerceSettings settings, - IHttpContextAccessor httpContextAccessor) -``` - - -### Methods - -#### GetCallbackUrl (1 of 2) - -```csharp -public string GetCallbackUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetCallbackUrl (2 of 2) - -```csharp -public string GetCallbackUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - ---- - -#### GetCancelUrl (1 of 2) - -```csharp -public string GetCancelUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetCancelUrl (2 of 2) - -```csharp -public string GetCancelUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - ---- - -#### GetContinueUrl (1 of 2) - -```csharp -public string GetContinueUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetContinueUrl (2 of 2) - -```csharp -public string GetContinueUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - ---- - -#### GetErrorUrl (1 of 2) - -```csharp -public string GetErrorUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetErrorUrl (2 of 2) - -```csharp -public string GetErrorUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/README.md deleted file mode 100644 index 35d22008574..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Security -description: API reference for Umbraco.Commerce.Cms.Security in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Security namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoMembershipHelper](umbracomembershiphelper.md) | | -| class [UmbracoUserHelper](umbracouserhelper.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/umbracomembershiphelper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/umbracomembershiphelper.md deleted file mode 100644 index 4509c163daa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/umbracomembershiphelper.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: UmbracoMembershipHelper -description: API reference for UmbracoMembershipHelper in Umbraco Commerce ---- -## UmbracoMembershipHelper - -```csharp -public class UmbracoMembershipHelper : IMembershipHelper -``` - -**Inheritance** - -* interface [IMembershipHelper](../../umbraco-commerce-core/umbraco-commerce-core-security/imembershiphelper.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Security](README.md) - -### Constructors - -#### UmbracoMembershipHelper - -The default constructor. - -```csharp -public UmbracoMembershipHelper() -``` - - -### Methods - -#### GetCurrentMemberId - -```csharp -public string GetCurrentMemberId() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/umbracouserhelper.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/umbracouserhelper.md deleted file mode 100644 index 9721bbaecba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-security/umbracouserhelper.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: UmbracoUserHelper -description: API reference for UmbracoUserHelper in Umbraco Commerce ---- -## UmbracoUserHelper - -```csharp -public class UmbracoUserHelper : IUserHelper -``` - -**Inheritance** - -* interface [IUserHelper](../../umbraco-commerce-core/umbraco-commerce-core-security/iuserhelper.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Security](README.md) - -### Constructors - -#### UmbracoUserHelper - -```csharp -public UmbracoUserHelper(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, - IUserService userService) -``` - - -### Methods - -#### GetCurrentUserId - -```csharp -public virtual int GetCurrentUserId() -``` - - ---- - -#### GetUserName - -```csharp -public virtual string GetUserName(int id) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/README.md deleted file mode 100644 index a85661dc3a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.Services -description: API reference for Umbraco.Commerce.Cms.Services in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.Services namespace - -| Public Type | Description | -| --- | --- | -| interface [IUmbracoStoreService](iumbracostoreservice.md) | | -| class [UmbracoDictionaryTranslationService](umbracodictionarytranslationservice.md) | | -| class [UmbracoStockService](umbracostockservice.md) | | -| class [UmbracoStoreService](umbracostoreservice.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/iumbracostoreservice.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/iumbracostoreservice.md deleted file mode 100644 index 46c4c20505c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/iumbracostoreservice.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: IUmbracoStoreService -description: API reference for IUmbracoStoreService in Umbraco Commerce ---- -## IUmbracoStoreService - -```csharp -public interface IUmbracoStoreService : ICachedEntityService, IStoreService -``` - -**Inheritance** - -* interface [ICachedEntityService<!0>](../../umbraco-commerce-core/umbraco-commerce-core-services/icachedentityservice-1.md) -* interface [IStoreService](../../umbraco-commerce-core/umbraco-commerce-core-services/istoreservice.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Services](README.md) - -### Methods - -#### FindStoreByNodeId - -```csharp -public StoreReadOnly FindStoreByNodeId(int nodeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracodictionarytranslationservice.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracodictionarytranslationservice.md deleted file mode 100644 index 702f361c8b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracodictionarytranslationservice.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: UmbracoDictionaryTranslationService -description: API reference for UmbracoDictionaryTranslationService in Umbraco Commerce ---- -## UmbracoDictionaryTranslationService - -```csharp -public class UmbracoDictionaryTranslationService : ITranslationService -``` - -**Inheritance** - -* interface [ITranslationService](../../umbraco-commerce-core/umbraco-commerce-core-services/itranslationservice.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Services](README.md) - -### Constructors - -#### UmbracoDictionaryTranslationService - -```csharp -public UmbracoDictionaryTranslationService(ILocalizationService localizationService) -``` - - -### Methods - -#### TranslateValue (1 of 2) - -```csharp -public object TranslateValue(object value, string languageIsoCode) -``` - ---- - -#### TranslateValue (2 of 2) - -```csharp -public object TranslateValue(object value, string languageIsoCode, out string usedLanguageIsoCode) -``` - - ---- - -#### TranslateValues (1 of 2) - -```csharp -public IEnumerable TranslateValues(IEnumerable values, string languageIsoCode) -``` - ---- - -#### TranslateValues (2 of 2) - -```csharp -public IDictionary TranslateValues( - IEnumerable> values, string languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracostockservice.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracostockservice.md deleted file mode 100644 index 7d2fc16cab8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracostockservice.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: UmbracoStockService -description: API reference for UmbracoStockService in Umbraco Commerce ---- -## UmbracoStockService - -```csharp -public class UmbracoStockService : UmbracoCommerceStockServiceBase -``` - -**Inheritance** - -* Class [UmbracoCommerceStockServiceBase<!0>](../../umbraco-commerce-core/umbraco-commerce-core-services/umbracocommercestockservicebase-1.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Services](README.md) - -### Constructors - -#### UmbracoStockService - -```csharp -public UmbracoStockService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, - IProductAdapter productAdapter, IUmbracoStoreService storeService, - Lazy dataTypeService, Lazy contentTypeService) -``` - - -### Methods - -#### GetStock - -```csharp -public override decimal? GetStock(Guid storeId, string productReference, - string productVariantReference) -``` - - ---- - -#### IncreaseStock - -```csharp -public override void IncreaseStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - - ---- - -#### ReduceStock - -```csharp -public override void ReduceStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - - ---- - -#### SetStock - -```csharp -public override void SetStock(Guid storeId, string productReference, - string productVariantReference, decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracostoreservice.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracostoreservice.md deleted file mode 100644 index 1f3b3cf1675..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-services/umbracostoreservice.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: UmbracoStoreService -description: API reference for UmbracoStoreService in Umbraco Commerce ---- -## UmbracoStoreService - -```csharp -public class UmbracoStoreService : StoreService, IUmbracoStoreService -``` - -**Inheritance** - -* Class [StoreService](../../umbraco-commerce-core/umbraco-commerce-core-services/storeservice.md) -* interface [IUmbracoStoreService](iumbracostoreservice.md) - -**Namespace** -* [Umbraco.Commerce.Cms.Services](README.md) - -### Constructors - -#### UmbracoStoreService - -```csharp -public UmbracoStoreService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, - UmbracoNodeStoreFinderCollection storeFinderCollection) -``` - - -### Methods - -#### FindStoreByNodeId - -```csharp -public StoreReadOnly FindStoreByNodeId(int nodeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/README.md deleted file mode 100644 index 8a05845ab15..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Cms.ValueConverters -description: API reference for Umbraco.Commerce.Cms.ValueConverters in Umbraco Commerce ---- -## Umbraco.Commerce.Cms.ValueConverters namespace - -| Public Type | Description | -| --- | --- | -| class [PricePropertyValueConverter](pricepropertyvalueconverter.md) | | -| class [StockPropertyValueConverter](stockpropertyvalueconverter.md) | | -| class [StoreEntityPickerValueConverter](storeentitypickervalueconverter.md) | | -| class [StorePickerValueConverter](storepickervalueconverter.md) | | -| class [VariantsEditorValueConverter](variantseditorvalueconverter.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/pricepropertyvalueconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/pricepropertyvalueconverter.md deleted file mode 100644 index 9c354b195f5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/pricepropertyvalueconverter.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: PricePropertyValueConverter -description: API reference for PricePropertyValueConverter in Umbraco Commerce ---- -## PricePropertyValueConverter - -```csharp -public class PricePropertyValueConverter : PropertyValueConverterBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.ValueConverters](README.md) - -### Constructors - -#### PricePropertyValueConverter - -The default constructor. - -```csharp -public PricePropertyValueConverter() -``` - - -### Methods - -#### ConvertIntermediateToObject - -```csharp -public override object ConvertIntermediateToObject(IPublishedElement owner, - IPublishedPropertyType propertyType, PropertyCacheLevel cacheLevel, object source, bool preview) -``` - - ---- - -#### ConvertSourceToIntermediate - -```csharp -public override object ConvertSourceToIntermediate(IPublishedElement owner, - IPublishedPropertyType propertyType, object source, bool preview) -``` - - ---- - -#### GetPropertyCacheLevel - -```csharp -public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType) -``` - - ---- - -#### GetPropertyValueType - -```csharp -public override Type GetPropertyValueType(IPublishedPropertyType propertyType) -``` - - ---- - -#### IsConverter - -```csharp -public override bool IsConverter(IPublishedPropertyType propertyType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/stockpropertyvalueconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/stockpropertyvalueconverter.md deleted file mode 100644 index c77b00fde29..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/stockpropertyvalueconverter.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: StockPropertyValueConverter -description: API reference for StockPropertyValueConverter in Umbraco Commerce ---- -## StockPropertyValueConverter - -```csharp -public class StockPropertyValueConverter : PropertyValueConverterBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.ValueConverters](README.md) - -### Constructors - -#### StockPropertyValueConverter - -```csharp -public StockPropertyValueConverter(Lazy productService, - Lazy storeService, Lazy umbracoContextFactory) -``` - - -### Methods - -#### ConvertIntermediateToObject - -```csharp -public override object ConvertIntermediateToObject(IPublishedElement owner, - IPublishedPropertyType propertyType, PropertyCacheLevel cacheLevel, object source, bool preview) -``` - - ---- - -#### ConvertSourceToIntermediate - -```csharp -public override object ConvertSourceToIntermediate(IPublishedElement owner, - IPublishedPropertyType propertyType, object source, bool preview) -``` - - ---- - -#### GetPropertyCacheLevel - -```csharp -public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType) -``` - - ---- - -#### GetPropertyValueType - -```csharp -public override Type GetPropertyValueType(IPublishedPropertyType propertyType) -``` - - ---- - -#### IsConverter - -```csharp -public override bool IsConverter(IPublishedPropertyType propertyType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/storeentitypickervalueconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/storeentitypickervalueconverter.md deleted file mode 100644 index e9bf92febad..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/storeentitypickervalueconverter.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: StoreEntityPickerValueConverter -description: API reference for StoreEntityPickerValueConverter in Umbraco Commerce ---- -## StoreEntityPickerValueConverter - -```csharp -public class StoreEntityPickerValueConverter : PropertyValueConverterBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.ValueConverters](README.md) - -### Constructors - -#### StoreEntityPickerValueConverter - -```csharp -public StoreEntityPickerValueConverter(Lazy api) -``` - - -### Methods - -#### ConvertIntermediateToObject - -```csharp -public override object ConvertIntermediateToObject(IPublishedElement owner, - IPublishedPropertyType propertyType, PropertyCacheLevel cacheLevel, object source, bool preview) -``` - - ---- - -#### ConvertSourceToIntermediate - -```csharp -public override object ConvertSourceToIntermediate(IPublishedElement owner, - IPublishedPropertyType propertyType, object source, bool preview) -``` - - ---- - -#### GetPropertyCacheLevel - -```csharp -public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType) -``` - - ---- - -#### GetPropertyValueType - -```csharp -public override Type GetPropertyValueType(IPublishedPropertyType propertyType) -``` - - ---- - -#### IsConverter - -```csharp -public override bool IsConverter(IPublishedPropertyType propertyType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/storepickervalueconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/storepickervalueconverter.md deleted file mode 100644 index ff38b35552e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/storepickervalueconverter.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: StorePickerValueConverter -description: API reference for StorePickerValueConverter in Umbraco Commerce ---- -## StorePickerValueConverter - -```csharp -public class StorePickerValueConverter : PropertyValueConverterBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.ValueConverters](README.md) - -### Constructors - -#### StorePickerValueConverter - -```csharp -public StorePickerValueConverter(Lazy storeService) -``` - - -### Methods - -#### ConvertIntermediateToObject - -```csharp -public override object ConvertIntermediateToObject(IPublishedElement owner, - IPublishedPropertyType propertyType, PropertyCacheLevel cacheLevel, object source, bool preview) -``` - - ---- - -#### ConvertSourceToIntermediate - -```csharp -public override object ConvertSourceToIntermediate(IPublishedElement owner, - IPublishedPropertyType propertyType, object source, bool preview) -``` - - ---- - -#### GetPropertyCacheLevel - -```csharp -public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType) -``` - - ---- - -#### GetPropertyValueType - -```csharp -public override Type GetPropertyValueType(IPublishedPropertyType propertyType) -``` - - ---- - -#### IsConverter - -```csharp -public override bool IsConverter(IPublishedPropertyType propertyType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/variantseditorvalueconverter.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/variantseditorvalueconverter.md deleted file mode 100644 index c1135d32943..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms-valueconverters/variantseditorvalueconverter.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: VariantsEditorValueConverter -description: API reference for VariantsEditorValueConverter in Umbraco Commerce ---- -## VariantsEditorValueConverter - -```csharp -public class VariantsEditorValueConverter : PropertyValueConverterBase -``` - -**Namespace** -* [Umbraco.Commerce.Cms.ValueConverters](README.md) - -### Constructors - -#### VariantsEditorValueConverter - -```csharp -public VariantsEditorValueConverter(IVariationContextAccessor variationContextAccessor, - IProfilingLogger proflog, BlockEditorConverter blockConverter, - Lazy publishedContentHelperAccessor, - IPublishedValueFallback publishedValueFallback) -``` - - -### Methods - -#### ConvertIntermediateToObject - -```csharp -public override object ConvertIntermediateToObject(IPublishedElement owner, - IPublishedPropertyType propertyType, PropertyCacheLevel referenceCacheLevel, object source, - bool preview) -``` - - ---- - -#### ConvertSourceToIntermediate - -```csharp -public override object ConvertSourceToIntermediate(IPublishedElement owner, - IPublishedPropertyType propertyType, object source, bool preview) -``` - - ---- - -#### GetPropertyCacheLevel - -```csharp -public override PropertyCacheLevel GetPropertyCacheLevel(IPublishedPropertyType propertyType) -``` - - ---- - -#### GetPropertyValueType - -```csharp -public override Type GetPropertyValueType(IPublishedPropertyType propertyType) -``` - - ---- - -#### IsConverter - -```csharp -public override bool IsConverter(IPublishedPropertyType propertyType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms/README.md deleted file mode 100644 index 83be94169cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Cms -description: API reference for Umbraco.Commerce.Cms in Umbraco Commerce ---- -## Umbraco.Commerce.Cms namespace - -| Public Type | Description | -| --- | --- | -| static class [Constants](constants.md) | Umbraco Commerce constant variables | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms/constants.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms/constants.md deleted file mode 100644 index 6a96c76b45a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-cms/constants.md +++ /dev/null @@ -1,800 +0,0 @@ ---- -title: Constants -description: API reference for Constants in Umbraco Commerce ---- -## Constants - -Umbraco Commerce constant variables - -```csharp -public static class Constants -``` - -**Namespace** -* [Umbraco.Commerce.Cms](README.md) - -### Classes - -#### Constants.DistributedCache - -Defines the alias identifiers for Umbraco Commerce's distributed cache control. - -```csharp -public static class DistributedCache -``` - -##### Fields - -#### CampaignCacheRefresherGuid - -```csharp -public static readonly Guid CampaignCacheRefresherGuid; -``` - - ---- - -#### CampaignCacheRefresherId - -```csharp -public const string CampaignCacheRefresherId; -``` - - ---- - -#### CountryCacheRefresherGuid - -```csharp -public static readonly Guid CountryCacheRefresherGuid; -``` - - ---- - -#### CountryCacheRefresherId - -```csharp -public const string CountryCacheRefresherId; -``` - - ---- - -#### CurrencyCacheRefresherGuid - -```csharp -public static readonly Guid CurrencyCacheRefresherGuid; -``` - - ---- - -#### CurrencyCacheRefresherId - -```csharp -public const string CurrencyCacheRefresherId; -``` - - ---- - -#### DiscountCacheRefresherGuid - -```csharp -public static readonly Guid DiscountCacheRefresherGuid; -``` - - ---- - -#### DiscountCacheRefresherId - -```csharp -public const string DiscountCacheRefresherId; -``` - - ---- - -#### EmailTemplateCacheRefresherGuid - -```csharp -public static readonly Guid EmailTemplateCacheRefresherGuid; -``` - - ---- - -#### EmailTemplateCacheRefresherId - -```csharp -public const string EmailTemplateCacheRefresherId; -``` - - ---- - -#### ExportTemplateCacheRefresherGuid - -```csharp -public static readonly Guid ExportTemplateCacheRefresherGuid; -``` - - ---- - -#### ExportTemplateCacheRefresherId - -```csharp -public const string ExportTemplateCacheRefresherId; -``` - - ---- - -#### GiftCardCacheRefresherGuid - -```csharp -public static readonly Guid GiftCardCacheRefresherGuid; -``` - - ---- - -#### GiftCardCacheRefresherId - -```csharp -public const string GiftCardCacheRefresherId; -``` - - ---- - -#### OrderCacheRefresherGuid - -```csharp -public static readonly Guid OrderCacheRefresherGuid; -``` - - ---- - -#### OrderCacheRefresherId - -```csharp -public const string OrderCacheRefresherId; -``` - - ---- - -#### OrderStatusCacheRefresherGuid - -```csharp -public static readonly Guid OrderStatusCacheRefresherGuid; -``` - - ---- - -#### OrderStatusCacheRefresherId - -```csharp -public const string OrderStatusCacheRefresherId; -``` - - ---- - -#### PaymentMethodCacheRefresherGuid - -```csharp -public static readonly Guid PaymentMethodCacheRefresherGuid; -``` - - ---- - -#### PaymentMethodCacheRefresherId - -```csharp -public const string PaymentMethodCacheRefresherId; -``` - - ---- - -#### PrintTemplateCacheRefresherGuid - -```csharp -public static readonly Guid PrintTemplateCacheRefresherGuid; -``` - - ---- - -#### PrintTemplateCacheRefresherId - -```csharp -public const string PrintTemplateCacheRefresherId; -``` - - ---- - -#### ProductAttributeCacheRefresherGuid - -```csharp -public static readonly Guid ProductAttributeCacheRefresherGuid; -``` - - ---- - -#### ProductAttributeCacheRefresherId - -```csharp -public const string ProductAttributeCacheRefresherId; -``` - - ---- - -#### ProductAttributePresetCacheRefresherGuid - -```csharp -public static readonly Guid ProductAttributePresetCacheRefresherGuid; -``` - - ---- - -#### ProductAttributePresetCacheRefresherId - -```csharp -public const string ProductAttributePresetCacheRefresherId; -``` - - ---- - -#### RegionCacheRefresherGuid - -```csharp -public static readonly Guid RegionCacheRefresherGuid; -``` - - ---- - -#### RegionCacheRefresherId - -```csharp -public const string RegionCacheRefresherId; -``` - - ---- - -#### ShippingMethodCacheRefresherGuid - -```csharp -public static readonly Guid ShippingMethodCacheRefresherGuid; -``` - - ---- - -#### ShippingMethodCacheRefresherId - -```csharp -public const string ShippingMethodCacheRefresherId; -``` - - ---- - -#### StockCacheRefresherGuid - -```csharp -public static readonly Guid StockCacheRefresherGuid; -``` - - ---- - -#### StockCacheRefresherId - -```csharp -public const string StockCacheRefresherId; -``` - - ---- - -#### StoreCacheRefresherGuid - -```csharp -public static readonly Guid StoreCacheRefresherGuid; -``` - - ---- - -#### StoreCacheRefresherId - -```csharp -public const string StoreCacheRefresherId; -``` - - ---- - -#### TaxClassCacheRefresherGuid - -```csharp -public static readonly Guid TaxClassCacheRefresherGuid; -``` - - ---- - -#### TaxClassCacheRefresherId - -```csharp -public const string TaxClassCacheRefresherId; -``` - - - ---- - -#### Constants.Properties - -Property constants - -```csharp -public static class Properties -``` - -##### Fields - -#### StorePropertyAlias - -The property alias of the Store property - -```csharp -public const string StorePropertyAlias; -``` - - -##### Classes - -#### Constants.Properties.Product - -Product property constants - -```csharp -public static class Product -``` - -##### Fields - -#### IsGiftCardPropertyAlias - -The property alias of the product Is Gift Card property - -```csharp -public const string IsGiftCardPropertyAlias; -``` - - ---- - -#### IsRecurringPropertyAlias - -The property alias of the product Is Recurring property - -```csharp -public const string IsRecurringPropertyAlias; -``` - - ---- - -#### NamePropertyAlias - -The property alias of the product Product Name property - -```csharp -public const string NamePropertyAlias; -``` - -**Remarks** - -If a productName property isn't present, the nodes Name will be used - - ---- - -#### PricePropertyAlias - -The property alias of the product Price property - -```csharp -public const string PricePropertyAlias; -``` - - ---- - -#### ProductSourcePropertyAlias - -The property alias of the linked product source node property - -```csharp -public const string ProductSourcePropertyAlias; -``` - - ---- - -#### SkuPropertyAlias - -The property alias of the product SKU property - -```csharp -public const string SkuPropertyAlias; -``` - - ---- - -#### StockPropertyAlias - -The property alias of the product Stock property - -```csharp -public const string StockPropertyAlias; -``` - - ---- - -#### TaxClassPropertyAlias - -The property alias of the product Tax Class property - -```csharp -public const string TaxClassPropertyAlias; -``` - - ---- - -#### VariantsPropertyAlias - -The property alias of the product Variants property - -```csharp -public const string VariantsPropertyAlias; -``` - - - ---- - -#### Constants.Properties.ProductVariant - -Product Variant property constants - -```csharp -public static class ProductVariant -``` - -##### Fields - -#### PriceAdjustmentPropertyAlias - -The property alias of the product variant Price Adjustment property - -```csharp -public const string PriceAdjustmentPropertyAlias; -``` - - - - ---- - -#### Constants.PropertyEditors - -Property Editor constants - -```csharp -public static class PropertyEditors -``` - -##### Classes - -#### Constants.PropertyEditors.Aliases - -Defines Umbraco Commerce built-in property editor aliases. - -```csharp -public static class Aliases -``` - -##### Fields - -#### Price - -Price. - -```csharp -public const string Price; -``` - - ---- - -#### Stock - -Stock. - -```csharp -public const string Stock; -``` - - ---- - -#### StoreEntityPicker - -Store Entity Picker. - -```csharp -public const string StoreEntityPicker; -``` - - ---- - -#### StorePicker - -Store Picker. - -```csharp -public const string StorePicker; -``` - - ---- - -#### VariantsEditor - -Variants Editor. - -```csharp -public const string VariantsEditor; -``` - - - - ---- - -#### Constants.Sections - -Defines the alias identifiers for Umbraco Commerce's core sections. - -```csharp -public static class Sections -``` - -##### Fields - -#### Commerce - -Application alias for the commerce section. - -```csharp -public const string Commerce; -``` - - - ---- - -#### Constants.Trees - -Defines the alias identifiers for Umbraco Commerce's core trees. - -```csharp -public static class Trees -``` - -##### Classes - -#### Constants.Trees.Settings - -Defines the alias identifiers for Umbraco Commerce's core settings trees. - -```csharp -public static class Settings -``` - -##### Fields - -#### Alias - -Tree alias for the store settings tree. - -```csharp -public const string Alias; -``` - - ---- - -#### Icons - -Defines the maps of icons for Umbraco Commerce's core settings tree node types. - -```csharp -public static readonly IReadOnlyDictionary Icons; -``` - - ---- - -#### Ids - -Defines the maps of fixed IDs for Umbraco Commerce's core settings tree node types. - -```csharp -public static readonly IReadOnlyDictionary Ids; -``` - - -##### Enumerations - -#### Constants.Trees.Settings.NodeType - -Defines the aliases for Umbraco Commerce's core settings tree node types. - -```csharp -public enum NodeType -``` - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Settings | `0` | Alias for the settings node. | -| Stores | `1` | Alias for the stores node. | -| Store | `2` | Alias for a single store node. | -| OrderStatuses | `3` | Alias for the order statuses node. | -| OrderStatus | `4` | Alias for a single order status node. | -| ShippingMethods | `5` | Alias for the shipping methods node. | -| ShippingMethod | `6` | Alias for a single shipping method node. | -| PaymentMethods | `7` | Alias for the payment methods node. | -| PaymentMethod | `8` | Alias for a single payment method node. | -| Countries | `9` | Alias for the countries node. | -| Country | `10` | Alias for a single country node. | -| Region | `11` | Alias for a single region node. | -| Currencies | `12` | Alias for the currencies node. | -| Currency | `13` | Alias for a single currency node. | -| TaxClasses | `14` | Alias for the tax classes node. | -| TaxClass | `15` | Alias for a single tax class node. | -| Templating | `16` | Alias for the templating node. | -| EmailTemplates | `17` | Alias for the email templates node. | -| EmailTemplate | `18` | Alias for a single email template node. | -| PrintTemplates | `19` | Alias for the print templates node. | -| PrintTemplate | `20` | Alias for a single print template node. | -| ExportTemplates | `21` | Alias for the export templates node. | -| ExportTemplate | `22` | Alias for a single export template node. | - - -##### Classes - -#### Constants.Trees.Settings.Groups - -Defines the tree group alias identifiers for Umbraco Commerce's core settings trees. - -```csharp -public static class Groups -``` - -##### Fields - -#### Commerce - -Alias for the commerce tree settings group. - -```csharp -public const string Commerce; -``` - - - - ---- - -#### Constants.Trees.Stores - -Defines the alias identifiers for Umbraco Commerce's stores trees. - -```csharp -public static class Stores -``` - -##### Fields - -#### Alias - -Tree alias for the commerce section. - -```csharp -public const string Alias; -``` - - ---- - -#### Icons - -Defines the maps of icons for Umbraco Commerce's core tree node types. - -```csharp -public static readonly IReadOnlyDictionary Icons; -``` - - ---- - -#### Ids - -Defines the maps of fixed IDs for Umbraco Commerce's core settings tree node types. - -```csharp -public static readonly IReadOnlyDictionary Ids; -``` - - -##### Enumerations - -#### Constants.Trees.Stores.NodeType - -Defines the aliases for Umbraco Commerce's core tree node types. - -```csharp -public enum NodeType -``` - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Stores | `0` | Alias for the stores node. | -| Store | `1` | Alias for a single store node. | -| Orders | `2` | Alias for the orders node. | -| Order | `3` | Alias for a single order node. | -| Carts | `4` | Alias for the carts node. | -| Cart | `5` | Alias for a single cart node. | -| Discounts | `6` | Alias for the discounts node. | -| Discount | `7` | Alias for a single discount node. | -| GiftCards | `8` | Alias for the gift cards node. | -| GiftCard | `9` | Alias for a single gift card node. | -| Analytics | `10` | Alias for a analytics node. | -| Options | `11` | Alias for a options node. | -| ProductAttributes | `12` | Alias for a product attributes node. | -| ProductAttribute | `13` | Alias for a product attribute node. | -| ProductAttributePresets | `14` | Alias for a product attribute presets node. | -| ProductAttributePreset | `15` | Alias for a product attribute preset node. | - - - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/README.md deleted file mode 100644 index 20bb94fd79b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [ProductVariantCollectionExtensions](productvariantcollectionextensions.md) | | -| static class [PublishedContentExtensions](publishedcontentextensions.md) | | -| static class [PublishedContentTypeExtensions](publishedcontenttypeextensions.md) | | -| static class [PublishedElementExtensions](publishedelementextensions.md) | | -| static class [SessionManagerExtensions](sessionmanagerextensions.md) | | -| static class [StoreAnalyticsServiceExtensions](storeanalyticsserviceextensions.md) | | -| static class [StoreExtensions](storeextensions.md) | | -| static class [UmbracoCommerceBuilderExtensions](umbracocommercebuilderextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/productvariantcollectionextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/productvariantcollectionextensions.md deleted file mode 100644 index fff8c4d9877..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/productvariantcollectionextensions.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: ProductVariantCollectionExtensions -description: API reference for ProductVariantCollectionExtensions in Umbraco Commerce ---- -## ProductVariantCollectionExtensions - -```csharp -public static class ProductVariantCollectionExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### FindByAttributes - -```csharp -public static ProductVariantItem FindByAttributes(this ProductVariantCollection collection, - IDictionary attributes) -``` - - ---- - -#### GetDefaultProductVariant - -```csharp -public static ProductVariantItem GetDefaultProductVariant(this ProductVariantCollection collection) -``` - - ---- - -#### GetInUseProductAttributes (1 of 2) - -```csharp -public static IReadOnlyCollection GetInUseProductAttributes( - this ProductVariantCollection collection) -``` - ---- - -#### GetInUseProductAttributes (2 of 2) - -```csharp -public static IReadOnlyCollection GetInUseProductAttributes( - this ProductVariantCollection collection, IProductAttributeService productAttributeService) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedcontentextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedcontentextensions.md deleted file mode 100644 index 66c6c91a57d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedcontentextensions.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: PublishedContentExtensions -description: API reference for PublishedContentExtensions in Umbraco Commerce ---- -## PublishedContentExtensions - -```csharp -public static class PublishedContentExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### GetProductSourceNode - -Gets a product nodes source if one exists. Only to be used if using Umbraco nodes as product information data source. - -```csharp -public static IPublishedContent GetProductSourceNode(this IPublishedContent productNode, - IPublishedContentCache publishedContentCache, bool recursive = true) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| productNode | The product node that is linked to the product source node. | -| publishedContentCache | The published content cache to lookup nodes from | -| recursive | Whether to search recursively for the source relation. | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedcontenttypeextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedcontenttypeextensions.md deleted file mode 100644 index 8f8e716acd1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedcontenttypeextensions.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: PublishedContentTypeExtensions -description: API reference for PublishedContentTypeExtensions in Umbraco Commerce ---- -## PublishedContentTypeExtensions - -```csharp -public static class PublishedContentTypeExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedelementextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedelementextensions.md deleted file mode 100644 index ef70183db05..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/publishedelementextensions.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: PublishedElementExtensions -description: API reference for PublishedElementExtensions in Umbraco Commerce ---- -## PublishedElementExtensions - -```csharp -public static class PublishedElementExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/sessionmanagerextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/sessionmanagerextensions.md deleted file mode 100644 index fa86594f99d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/sessionmanagerextensions.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: SessionManagerExtensions -description: API reference for SessionManagerExtensions in Umbraco Commerce ---- -## SessionManagerExtensions - -```csharp -public static class SessionManagerExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/storeanalyticsserviceextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/storeanalyticsserviceextensions.md deleted file mode 100644 index 9727d94e892..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/storeanalyticsserviceextensions.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: StoreAnalyticsServiceExtensions -description: API reference for StoreAnalyticsServiceExtensions in Umbraco Commerce ---- -## StoreAnalyticsServiceExtensions - -```csharp -public static class StoreAnalyticsServiceExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### GetStoreSummariesFor - -```csharp -public static IEnumerable GetStoreSummariesFor(this IStoreAnalyticsService service, - IUser user) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/storeextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/storeextensions.md deleted file mode 100644 index 2dea06887c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/storeextensions.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: StoreExtensions -description: API reference for StoreExtensions in Umbraco Commerce ---- -## StoreExtensions - -```csharp -public static class StoreExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### AllowUser - -```csharp -public static Store AllowUser(this Store store, IUser user) -``` - - ---- - -#### AllowUsers - -```csharp -public static Store AllowUsers(this Store store, IEnumerable users) -``` - - ---- - -#### DisallowUser - -```csharp -public static Store DisallowUser(this Store store, IUser user) -``` - - ---- - -#### DisallowUsers - -```csharp -public static Store DisallowUsers(this Store store, IEnumerable users) -``` - - ---- - -#### IsAllowed - -```csharp -public static bool IsAllowed(this StoreReadOnly store, IUser user) -``` - - ---- - -#### SetAllowedUsers - -```csharp -public static Store SetAllowedUsers(this Store store, IEnumerable users, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/umbracocommercebuilderextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/umbracocommercebuilderextensions.md deleted file mode 100644 index 1665bf828e1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-cms/umbraco-commerce-extensions/umbracocommercebuilderextensions.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: UmbracoCommerceBuilderExtensions -description: API reference for UmbracoCommerceBuilderExtensions in Umbraco Commerce ---- -## UmbracoCommerceBuilderExtensions - -```csharp -public static class UmbracoCommerceBuilderExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### WithCartAdvancedFilters - -```csharp -public static CartAdvancedFilterCollectionBuilder WithCartAdvancedFilters( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithOrderAdvancedFilters - -```csharp -public static OrderAdvancedFilterCollectionBuilder WithOrderAdvancedFilters( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithUmbracoNodeStoreFinders - -```csharp -public static UmbracoNodeStoreFinderCollectionBuilder WithUmbracoNodeStoreFinders( - this IUmbracoCommerceBuilder builder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/README.md deleted file mode 100644 index 6cad2b19c5b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/README.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Umbraco.Commerce.Common -description: API reference for Umbraco.Commerce.Common in Umbraco Commerce ---- -## Umbraco.Commerce.Common assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Common](umbraco-commerce-common/README.md) | -| [Umbraco.Commerce.Common.Attributes](umbraco-commerce-common-attributes/README.md) | -| [Umbraco.Commerce.Common.Collections](umbraco-commerce-common-collections/README.md) | -| [Umbraco.Commerce.Common.Composing](umbraco-commerce-common-composing/README.md) | -| [Umbraco.Commerce.Common.Events](umbraco-commerce-common-events/README.md) | -| [Umbraco.Commerce.Common.Helpers](umbraco-commerce-common-helpers/README.md) | -| [Umbraco.Commerce.Common.IO](umbraco-commerce-common-io/README.md) | -| [Umbraco.Commerce.Common.Logging](umbraco-commerce-common-logging/README.md) | -| [Umbraco.Commerce.Common.Models](umbraco-commerce-common-models/README.md) | -| [Umbraco.Commerce.Common.Pipelines](umbraco-commerce-common-pipelines/README.md) | -| [Umbraco.Commerce.Common.Pipelines.Events](umbraco-commerce-common-pipelines-events/README.md) | -| [Umbraco.Commerce.Common.Pipelines.Tasks](umbraco-commerce-common-pipelines-tasks/README.md) | -| [Umbraco.Commerce.Common.Resiliency](umbraco-commerce-common-resiliency/README.md) | -| [Umbraco.Commerce.Common.Security](umbraco-commerce-common-security/README.md) | -| [Umbraco.Commerce.Common.Specifications](umbraco-commerce-common-specifications/README.md) | -| [Umbraco.Commerce.Common.Validation](umbraco-commerce-common-validation/README.md) | -| [Umbraco.Commerce.Common.Visitors](umbraco-commerce-common-visitors/README.md) | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/README.md deleted file mode 100644 index ab1c66e8e60..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Attributes -description: API reference for Umbraco.Commerce.Common.Attributes in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Attributes namespace - -| Public Type | Description | -| --- | --- | -| class [DeepEqualIgnoreAttribute](deepequalignoreattribute.md) | | -| class [OrderAttribute](orderattribute.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/deepequalignoreattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/deepequalignoreattribute.md deleted file mode 100644 index ae601b02bf8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/deepequalignoreattribute.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: DeepEqualIgnoreAttribute -description: API reference for DeepEqualIgnoreAttribute in Umbraco Commerce ---- -## DeepEqualIgnoreAttribute - -```csharp -[AttributeUsage(AttributeTargets.Property)] -public class DeepEqualIgnoreAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Common.Attributes](README.md) - -### Constructors - -#### DeepEqualIgnoreAttribute - -The default constructor. - -```csharp -public DeepEqualIgnoreAttribute() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/orderattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/orderattribute.md deleted file mode 100644 index 9fe6407c26b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-attributes/orderattribute.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: OrderAttribute -description: API reference for OrderAttribute in Umbraco Commerce ---- -## OrderAttribute - -```csharp -[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Parameter | AttributeTargets.Delegate | AttributeTargets.ReturnValue | AttributeTargets.GenericParameter | AttributeTargets.All, - Inherited = False, AllowMultiple = False)] -public sealed class OrderAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Common.Attributes](README.md) - -### Constructors - -#### OrderAttribute - -```csharp -public OrderAttribute([CallerLineNumber] int order = 0) -``` - - -### Properties - -#### Order - -```csharp -public int Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/README.md deleted file mode 100644 index f6e1566b41f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Collections -description: API reference for Umbraco.Commerce.Common.Collections in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Collections namespace - -| Public Type | Description | -| --- | --- | -| class [DictionaryAccessor<TKey,TValue>](dictionaryaccessor-2.md) | | -| class [KeyedCollection<TValue>](keyedcollection-1.md) | | -| class [NullSafeDictionary<TKey,TValue>](nullsafedictionary-2.md) | | -| class [NullSafeReadOnlyDictionary<TKey,TValue>](nullsafereadonlydictionary-2.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/dictionaryaccessor-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/dictionaryaccessor-2.md deleted file mode 100644 index cc86d975ca8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/dictionaryaccessor-2.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: DictionaryAccessor -description: API reference for DictionaryAccessor in Umbraco Commerce ---- -## DictionaryAccessor<TKey,TValue> - -```csharp -public class DictionaryAccessor -``` - -**Namespace** -* [Umbraco.Commerce.Common.Collections](README.md) - -### Indexers - -#### DictionaryAccessor<TKey,TValue> - -```csharp -public TValue this[TKey key] { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/keyedcollection-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/keyedcollection-1.md deleted file mode 100644 index 06de2066bde..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/keyedcollection-1.md +++ /dev/null @@ -1,184 +0,0 @@ ---- -title: KeyedCollection -description: API reference for KeyedCollection in Umbraco Commerce ---- -## KeyedCollection<TValue> - -```csharp -public class KeyedCollection : ICollection>, - IEnumerable> - where TValue : class -``` - -**Namespace** -* [Umbraco.Commerce.Common.Collections](README.md) - -### Constructors - -#### KeyedCollection<TValue> - -The default constructor. - -```csharp -public KeyedCollection() -``` - - ---- - -#### KeyedCollection<TValue> (1 of 2) - -```csharp -public KeyedCollection(IEnumerable> items) -``` - ---- - -#### KeyedCollection<TValue> (2 of 2) - -```csharp -public KeyedCollection(IEnumerable> items) -``` - - -### Properties - -#### Count - -```csharp -public int Count { get; } -``` - - ---- - -#### IsReadOnly - -```csharp -public bool IsReadOnly { get; } -``` - - -### Indexers - -#### KeyedCollection<TValue> - -```csharp -public TValue this[string key] { get; set; } -``` - - -### Methods - -#### Add (1 of 3) - -```csharp -public void Add(string key, TValue value) -``` - ---- - -#### Add (2 of 3) - -```csharp -public void Add(KeyValuePair item) -``` - ---- - -#### Add (3 of 3) - -```csharp -public void Add(Kvp item) -``` - - ---- - -#### Clear - -```csharp -public void Clear() -``` - - ---- - -#### Contains - -```csharp -public bool Contains(Kvp item) -``` - - ---- - -#### ContainsKey - -```csharp -public bool ContainsKey(string key) -``` - - ---- - -#### CopyTo - -```csharp -public void CopyTo(Kvp[] array, int arrayIndex) -``` - - ---- - -#### GetEnumerator - -```csharp -public IEnumerator> GetEnumerator() -``` - - ---- - -#### Remove (1 of 3) - -```csharp -public void Remove(string key) -``` - ---- - -#### Remove (2 of 3) - -```csharp -public bool Remove(KeyValuePair item) -``` - ---- - -#### Remove (3 of 3) - -```csharp -public bool Remove(Kvp item) -``` - - ---- - -#### ToDictionary - -```csharp -public IDictionary ToDictionary() -``` - - ---- - -#### TryGetValue - -```csharp -public bool TryGetValue(string key, out TValue value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/nullsafedictionary-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/nullsafedictionary-2.md deleted file mode 100644 index 5b499e5eb6c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/nullsafedictionary-2.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: NullSafeDictionary -description: API reference for NullSafeDictionary in Umbraco Commerce ---- -## NullSafeDictionary<TKey,TValue> - -```csharp -public class NullSafeDictionary : Dictionary - where TValue : class -``` - -**Namespace** -* [Umbraco.Commerce.Common.Collections](README.md) - -### Constructors - -#### NullSafeDictionary<TKey,TValue> - -The default constructor. - -```csharp -public NullSafeDictionary() -``` - - ---- - -#### NullSafeDictionary<TKey,TValue> (1 of 3) - -```csharp -public NullSafeDictionary(IEqualityComparer keyComparer) -``` - ---- - -#### NullSafeDictionary<TKey,TValue> (2 of 3) - -```csharp -public NullSafeDictionary(IDictionary dictionary) -``` - ---- - -#### NullSafeDictionary<TKey,TValue> (3 of 3) - -```csharp -public NullSafeDictionary(IDictionary dictionary, IEqualityComparer keyComparer) -``` - - -### Indexers - -#### NullSafeDictionary<TKey,TValue> - -```csharp -public TValue this[TKey key] { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/nullsafereadonlydictionary-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/nullsafereadonlydictionary-2.md deleted file mode 100644 index 6d682450216..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-collections/nullsafereadonlydictionary-2.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: NullSafeReadOnlyDictionary -description: API reference for NullSafeReadOnlyDictionary in Umbraco Commerce ---- -## NullSafeReadOnlyDictionary<TKey,TValue> - -```csharp -public class NullSafeReadOnlyDictionary : ReadOnlyDictionary, - IEnumerable>, IReadOnlyCollection>, - IReadOnlyDictionary -``` - -**Namespace** -* [Umbraco.Commerce.Common.Collections](README.md) - -### Constructors - -#### NullSafeReadOnlyDictionary<TKey,TValue> - -```csharp -public NullSafeReadOnlyDictionary(IDictionary dictionary) -``` - - -### Indexers - -#### NullSafeReadOnlyDictionary<TKey,TValue> - -```csharp -public TValue this[TKey key] { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/README.md deleted file mode 100644 index 1539e9fb294..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/README.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Composing -description: API reference for Umbraco.Commerce.Common.Composing in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Composing namespace - -| Public Type | Description | -| --- | --- | -| class [ComposedCollection<T>](composedcollection-1.md) | Represents the base class of a collection composed by the DI container | -| abstract class [ComposedCollectionBuilderBase<TBuilder,TCollection,TItem>](composedcollectionbuilderbase-3.md) | | -| interface [IComposedCollection<T>](icomposedcollection-1.md) | | -| interface [IComposedCollectionBuilder<TCollection,TItem>](icomposedcollectionbuilder-2.md) | | -| interface [IComposedCollectionBuilder<TBuilder,TCollection,TItem>](icomposedcollectionbuilder-3.md) | | -| interface [IComposedCollectionBuilder](icomposedcollectionbuilder.md) | | -| interface [IOrderedComposedCollectionBuilder<TBuilder,TCollection,TItem>](iorderedcomposedcollectionbuilder-3.md) | | -| abstract class [OrderedComposedCollectionBuilderBase<TBuilder,TCollection,TItem>](orderedcomposedcollectionbuilderbase-3.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md deleted file mode 100644 index 0f215abc507..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: ComposedCollection -description: API reference for ComposedCollection in Umbraco Commerce ---- -## ComposedCollection<T> - -Represents the base class of a collection composed by the DI container - -```csharp -public class ComposedCollection : IComposedCollection, IEnumerable, IReadOnlyCollection -``` - -**Inheritance** - -* interface [IComposedCollection<T>](icomposedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The type of the items in the collection | - -### Constructors - -#### ComposedCollection<T> - -Constructs an instance of a composed collection - -```csharp -public ComposedCollection(Func> itemsFactory) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| itemsFactory | A factory method to populate the items of the collection | - - -### Properties - -#### Count - -```csharp -public int Count { get; } -``` - - -### Methods - -#### GetEnumerator - -Gets an enumerator. - -```csharp -public IEnumerator GetEnumerator() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md deleted file mode 100644 index d5fa2b01353..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md +++ /dev/null @@ -1,105 +0,0 @@ ---- -title: ComposedCollectionBuilderBase -description: API reference for ComposedCollectionBuilderBase in Umbraco Commerce ---- -## ComposedCollectionBuilderBase<TBuilder,TCollection,TItem> - -```csharp -public abstract class ComposedCollectionBuilderBase : - IComposedCollectionBuilder, - IComposedCollectionBuilder - where TBuilder : ComposedCollectionBuilderBase - where TCollection : class, IComposedCollection -``` - -**Inheritance** - -* interface [IComposedCollectionBuilder<TCollection,TItem>](icomposedcollectionbuilder-2.md) -* interface [IComposedCollectionBuilder<TBuilder,TCollection,TItem>](icomposedcollectionbuilder-3.md) - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -### Methods - -#### Add (1 of 2) - -```csharp -public virtual TBuilder Add(Type type) -``` - ---- - -#### Add (2 of 2) - -```csharp -public virtual TBuilder Add(IEnumerable types) -``` - - ---- - -#### Add<T> - -```csharp -public virtual TBuilder Add() - where T : TItem -``` - - ---- - -#### Clear - -```csharp -public virtual TBuilder Clear() -``` - - ---- - -#### CreateCollection - -```csharp -public virtual TCollection CreateCollection(IServiceProvider factory) -``` - - ---- - -#### GetTypes - -```csharp -public IEnumerable GetTypes() -``` - - ---- - -#### RegisterWith - -```csharp -public virtual void RegisterWith(IServiceCollection services) -``` - - ---- - -#### Remove - -```csharp -public virtual TBuilder Remove(Type type) -``` - - ---- - -#### Remove<T> - -```csharp -public virtual TBuilder Remove() - where T : TItem -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollection-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollection-1.md deleted file mode 100644 index e3fff5dba0e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollection-1.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: IComposedCollection -description: API reference for IComposedCollection in Umbraco Commerce ---- -## IComposedCollection<T> - -```csharp -public interface IComposedCollection : IEnumerable, IReadOnlyCollection -``` - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder-2.md deleted file mode 100644 index 3d353e0bb5d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder-2.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: IComposedCollectionBuilder -description: API reference for IComposedCollectionBuilder in Umbraco Commerce ---- -## IComposedCollectionBuilder<TCollection,TItem> - -```csharp -public interface IComposedCollectionBuilder : IComposedCollectionBuilder - where TCollection : IComposedCollection -``` - -**Inheritance** - -* interface [IComposedCollectionBuilder](icomposedcollectionbuilder.md) - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -### Methods - -#### CreateCollection - -```csharp -public TCollection CreateCollection(IServiceProvider factory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder-3.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder-3.md deleted file mode 100644 index 228a07e6bc0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder-3.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: IComposedCollectionBuilder -description: API reference for IComposedCollectionBuilder in Umbraco Commerce ---- -## IComposedCollectionBuilder<TBuilder,TCollection,TItem> - -```csharp -public interface IComposedCollectionBuilder : - IComposedCollectionBuilder - where TBuilder : IComposedCollectionBuilder - where TCollection : class, IComposedCollection -``` - -**Inheritance** - -* interface [IComposedCollectionBuilder<TCollection,TItem>](icomposedcollectionbuilder-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -### Methods - -#### Add (1 of 2) - -```csharp -public TBuilder Add(Type type) -``` - ---- - -#### Add (2 of 2) - -```csharp -public TBuilder Add(IEnumerable types) -``` - - ---- - -#### Add<T> - -```csharp -public TBuilder Add() - where T : TItem -``` - - ---- - -#### Clear - -```csharp -public TBuilder Clear() -``` - - ---- - -#### Remove - -```csharp -public TBuilder Remove(Type type) -``` - - ---- - -#### Remove<T> - -```csharp -public TBuilder Remove() - where T : TItem -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder.md deleted file mode 100644 index 7c724d1e649..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/icomposedcollectionbuilder.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IComposedCollectionBuilder -description: API reference for IComposedCollectionBuilder in Umbraco Commerce ---- -## IComposedCollectionBuilder - -```csharp -public interface IComposedCollectionBuilder -``` - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -### Methods - -#### RegisterWith - -```csharp -public void RegisterWith(IServiceCollection services) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/iorderedcomposedcollectionbuilder-3.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/iorderedcomposedcollectionbuilder-3.md deleted file mode 100644 index db664df9a8f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/iorderedcomposedcollectionbuilder-3.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: IOrderedComposedCollectionBuilder -description: API reference for IOrderedComposedCollectionBuilder in Umbraco Commerce ---- -## IOrderedComposedCollectionBuilder<TBuilder,TCollection,TItem> - -```csharp -public interface IOrderedComposedCollectionBuilder : - IComposedCollectionBuilder, - IComposedCollectionBuilder - where TBuilder : IOrderedComposedCollectionBuilder - where TCollection : class, IComposedCollection -``` - -**Inheritance** - -* interface [IComposedCollectionBuilder<TCollection,TItem>](icomposedcollectionbuilder-2.md) -* interface [IComposedCollectionBuilder<TBuilder,TCollection,TItem>](icomposedcollectionbuilder-3.md) - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -### Methods - -#### Insert (1 of 2) - -```csharp -public TBuilder Insert(Type type) -``` - ---- - -#### Insert (2 of 2) - -```csharp -public TBuilder Insert(int index, Type type) -``` - - ---- - -#### Insert<T> - -```csharp -public TBuilder Insert(int index = 0) - where T : TItem -``` - - ---- - -#### InsertAfter - -```csharp -public TBuilder InsertAfter(Type typeAfter, Type type) -``` - - ---- - -#### InsertAfter<TAfter,T> - -```csharp -public TBuilder InsertAfter() - where TAfter : TItem - where T : TItem -``` - - ---- - -#### InsertBefore - -```csharp -public TBuilder InsertBefore(Type typeBefore, Type type) -``` - - ---- - -#### InsertBefore<TBefore,T> - -```csharp -public TBuilder InsertBefore() - where TBefore : TItem - where T : TItem -``` - - ---- - -#### Replace - -```csharp -public TBuilder Replace(Type typeReplaced, Type type) -``` - - ---- - -#### Replace<TReplaced,T> - -```csharp -public TBuilder Replace() - where TReplaced : TItem - where T : TItem -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md deleted file mode 100644 index 1322475ff27..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: OrderedComposedCollectionBuilderBase -description: API reference for OrderedComposedCollectionBuilderBase in Umbraco Commerce ---- -## OrderedComposedCollectionBuilderBase<TBuilder,TCollection,TItem> - -```csharp -public abstract class OrderedComposedCollectionBuilderBase : - ComposedCollectionBuilderBase, - IOrderedComposedCollectionBuilder - where TBuilder : OrderedComposedCollectionBuilderBase - where TCollection : class, IComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollectionBuilderBase<TBuilder,TCollection,TItem>](composedcollectionbuilderbase-3.md) -* interface [IOrderedComposedCollectionBuilder<TBuilder,TCollection,TItem>](iorderedcomposedcollectionbuilder-3.md) - -**Namespace** -* [Umbraco.Commerce.Common.Composing](README.md) - -### Methods - -#### Insert (1 of 2) - -```csharp -public TBuilder Insert(Type type) -``` - ---- - -#### Insert (2 of 2) - -```csharp -public TBuilder Insert(int index, Type type) -``` - - ---- - -#### Insert<T> - -```csharp -public TBuilder Insert(int index = 0) - where T : TItem -``` - - ---- - -#### InsertAfter - -```csharp -public TBuilder InsertAfter(Type typeAfter, Type type) -``` - - ---- - -#### InsertAfter<TAfter,T> - -```csharp -public TBuilder InsertAfter() - where TAfter : TItem - where T : TItem -``` - - ---- - -#### InsertBefore - -```csharp -public TBuilder InsertBefore(Type typeBefore, Type type) -``` - - ---- - -#### InsertBefore<TBefore,T> - -```csharp -public TBuilder InsertBefore() - where TBefore : TItem - where T : TItem -``` - - ---- - -#### Replace - -```csharp -public TBuilder Replace(Type typeReplaced, Type type) -``` - - ---- - -#### Replace<TReplaced,T> - -```csharp -public TBuilder Replace() - where TReplaced : TItem - where T : TItem -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/README.md deleted file mode 100644 index 69cbcd632fc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/README.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Events -description: API reference for Umbraco.Commerce.Common.Events in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Events namespace - -| Public Type | Description | -| --- | --- | -| abstract class [DomainEventBase](domaineventbase.md) | | -| abstract class [DomainEventHandlerBase<TDomainEvent>](domaineventhandlerbase-1.md) | | -| static class [EventBus](eventbus.md) | | -| class [EventHandlerCollection<TEvent>](eventhandlercollection-1.md) | | -| class [EventHandlerFactory](eventhandlerfactory.md) | | -| interface [IDomainEvent](idomainevent.md) | | -| interface [IEvent](ievent.md) | | -| interface [IEventDispatcher](ieventdispatcher.md) | | -| interface [IEventHandler](ieventhandler.md) | | -| interface [IEventHandlerFactory](ieventhandlerfactory.md) | | -| interface [IEventHandlerFor<T>](ieventhandlerfor-1.md) | | -| interface [IHasEventKey](ihaseventkey.md) | | -| interface [INotificationEvent](inotificationevent.md) | | -| class [InProcEventDispatcher](inproceventdispatcher.md) | | -| interface [IValidationEvent](ivalidationevent.md) | | -| abstract class [NotificationEventBase](notificationeventbase.md) | | -| abstract class [NotificationEventHandlerBase<TNotificationEvent>](notificationeventhandlerbase-1.md) | | -| abstract class [ValidationEventBase](validationeventbase.md) | | -| abstract class [ValidationEventHandlerBase<TValidationEvent>](validationeventhandlerbase-1.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/domaineventbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/domaineventbase.md deleted file mode 100644 index 979c0f46ce6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/domaineventbase.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: DomainEventBase -description: API reference for DomainEventBase in Umbraco Commerce ---- -## DomainEventBase - -```csharp -public abstract class DomainEventBase : IDomainEvent -``` - -**Inheritance** - -* interface [IDomainEvent](idomainevent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/domaineventhandlerbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/domaineventhandlerbase-1.md deleted file mode 100644 index 2d8678b6577..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/domaineventhandlerbase-1.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: DomainEventHandlerBase -description: API reference for DomainEventHandlerBase in Umbraco Commerce ---- -## DomainEventHandlerBase<TDomainEvent> - -```csharp -public abstract class DomainEventHandlerBase : IEventHandlerFor - where TDomainEvent : IDomainEvent -``` - -**Inheritance** - -* interface [IEventHandlerFor<T>](ieventhandlerfor-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### Handle - -```csharp -public abstract void Handle(TDomainEvent evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventbus.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventbus.md deleted file mode 100644 index 7d9f3fd61e4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventbus.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: EventBus -description: API reference for EventBus in Umbraco Commerce ---- -## EventBus - -```csharp -public static class EventBus -``` - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### ClearCallbacks - -```csharp -public static void ClearCallbacks() -``` - - ---- - -#### Dispatch<T> - -```csharp -public static void Dispatch(T evt) - where T : IEvent -``` - - ---- - -#### RegisterCallbackFor<T> - -```csharp -public static void RegisterCallbackFor(Action callback) - where T : IEvent -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventhandlercollection-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventhandlercollection-1.md deleted file mode 100644 index b36683e93f1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventhandlercollection-1.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: EventHandlerCollection -description: API reference for EventHandlerCollection in Umbraco Commerce ---- -## EventHandlerCollection<TEvent> - -```csharp -public class EventHandlerCollection : ComposedCollection> - where TEvent : IEvent -``` - -**Inheritance** - -* Class [ComposedCollection<T>](../umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Constructors - -#### EventHandlerCollection<TEvent> - -```csharp -public EventHandlerCollection(Func>> itemsFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventhandlerfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventhandlerfactory.md deleted file mode 100644 index 5540737adf8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/eventhandlerfactory.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EventHandlerFactory -description: API reference for EventHandlerFactory in Umbraco Commerce ---- -## EventHandlerFactory - -```csharp -public class EventHandlerFactory : IEventHandlerFactory -``` - -**Inheritance** - -* interface [IEventHandlerFactory](ieventhandlerfactory.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Constructors - -#### EventHandlerFactory - -```csharp -public EventHandlerFactory(IFactory factory) -``` - - -### Methods - -#### CreateFor - -```csharp -public IEnumerable CreateFor(IEvent evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/idomainevent.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/idomainevent.md deleted file mode 100644 index 0eedcf4c9d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/idomainevent.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: IDomainEvent -description: API reference for IDomainEvent in Umbraco Commerce ---- -## IDomainEvent - -```csharp -public interface IDomainEvent : IEvent -``` - -**Inheritance** - -* interface [IEvent](ievent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ievent.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ievent.md deleted file mode 100644 index 383aec7728b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ievent.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: IEvent -description: API reference for IEvent in Umbraco Commerce ---- -## IEvent - -```csharp -public interface IEvent -``` - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventdispatcher.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventdispatcher.md deleted file mode 100644 index 2adc9650988..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventdispatcher.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: IEventDispatcher -description: API reference for IEventDispatcher in Umbraco Commerce ---- -## IEventDispatcher - -```csharp -public interface IEventDispatcher -``` - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### Dispatch<T> - -```csharp -public void Dispatch(IEnumerable handlers, T evt) - where T : IEvent -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandler.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandler.md deleted file mode 100644 index 815ddad71f9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandler.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IEventHandler -description: API reference for IEventHandler in Umbraco Commerce ---- -## IEventHandler - -```csharp -public interface IEventHandler -``` - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### Handle - -```csharp -public void Handle(IEvent evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandlerfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandlerfactory.md deleted file mode 100644 index 2f4ad6b4311..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandlerfactory.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IEventHandlerFactory -description: API reference for IEventHandlerFactory in Umbraco Commerce ---- -## IEventHandlerFactory - -```csharp -public interface IEventHandlerFactory -``` - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### CreateFor - -```csharp -public IEnumerable CreateFor(IEvent evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandlerfor-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandlerfor-1.md deleted file mode 100644 index e12874ea4d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ieventhandlerfor-1.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: IEventHandlerFor -description: API reference for IEventHandlerFor in Umbraco Commerce ---- -## IEventHandlerFor<T> - -```csharp -public interface IEventHandlerFor : IEventHandler - where T : IEvent -``` - -**Inheritance** - -* interface [IEventHandler](ieventhandler.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ihaseventkey.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ihaseventkey.md deleted file mode 100644 index 153690f59e7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ihaseventkey.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasEventKey -description: API reference for IHasEventKey in Umbraco Commerce ---- -## IHasEventKey - -```csharp -public interface IHasEventKey -``` - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Properties - -#### Key - -```csharp -public string Key { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/inotificationevent.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/inotificationevent.md deleted file mode 100644 index 77b3046629f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/inotificationevent.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: INotificationEvent -description: API reference for INotificationEvent in Umbraco Commerce ---- -## INotificationEvent - -```csharp -public interface INotificationEvent : IEvent -``` - -**Inheritance** - -* interface [IEvent](ievent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/inproceventdispatcher.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/inproceventdispatcher.md deleted file mode 100644 index 6e6bf6dd2ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/inproceventdispatcher.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: InProcEventDispatcher -description: API reference for InProcEventDispatcher in Umbraco Commerce ---- -## InProcEventDispatcher - -```csharp -public class InProcEventDispatcher : IEventDispatcher -``` - -**Inheritance** - -* interface [IEventDispatcher](ieventdispatcher.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Constructors - -#### InProcEventDispatcher - -The default constructor. - -```csharp -public InProcEventDispatcher() -``` - - -### Methods - -#### Dispatch<T> - -```csharp -public void Dispatch(IEnumerable handlers, T evt) - where T : IEvent -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ivalidationevent.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ivalidationevent.md deleted file mode 100644 index 773d4dd0a01..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/ivalidationevent.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: IValidationEvent -description: API reference for IValidationEvent in Umbraco Commerce ---- -## IValidationEvent - -```csharp -public interface IValidationEvent : IEvent -``` - -**Inheritance** - -* interface [IEvent](ievent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Properties - -#### Errors - -```csharp -public IEnumerable Errors { get; } -``` - - ---- - -#### HasValidationErrors - -```csharp -public bool HasValidationErrors { get; } -``` - - -### Methods - -#### Fail - -```csharp -public void Fail(string msg) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md deleted file mode 100644 index a1f10b88efc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: NotificationEventBase -description: API reference for NotificationEventBase in Umbraco Commerce ---- -## NotificationEventBase - -```csharp -public abstract class NotificationEventBase : INotificationEvent -``` - -**Inheritance** - -* interface [INotificationEvent](inotificationevent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/notificationeventhandlerbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/notificationeventhandlerbase-1.md deleted file mode 100644 index 3764269393d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/notificationeventhandlerbase-1.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: NotificationEventHandlerBase -description: API reference for NotificationEventHandlerBase in Umbraco Commerce ---- -## NotificationEventHandlerBase<TNotificationEvent> - -```csharp -public abstract class NotificationEventHandlerBase : - IEventHandlerFor - where TNotificationEvent : INotificationEvent -``` - -**Inheritance** - -* interface [IEventHandlerFor<T>](ieventhandlerfor-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### Handle - -```csharp -public abstract void Handle(TNotificationEvent evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md deleted file mode 100644 index 5458cc97510..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidationEventBase -description: API reference for ValidationEventBase in Umbraco Commerce ---- -## ValidationEventBase - -```csharp -public abstract class ValidationEventBase : IValidationEvent -``` - -**Inheritance** - -* interface [IValidationEvent](ivalidationevent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Properties - -#### Errors - -```csharp -public IEnumerable Errors { get; } -``` - - ---- - -#### HasValidationErrors - -```csharp -public bool HasValidationErrors { get; } -``` - - -### Methods - -#### Fail - -```csharp -public void Fail(string msg) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md deleted file mode 100644 index a3f7f603797..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidationEventHandlerBase -description: API reference for ValidationEventHandlerBase in Umbraco Commerce ---- -## ValidationEventHandlerBase<TValidationEvent> - -```csharp -public abstract class ValidationEventHandlerBase : - IEventHandlerFor - where TValidationEvent : IValidationEvent -``` - -**Inheritance** - -* interface [IEventHandlerFor<T>](ieventhandlerfor-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Events](README.md) - -### Methods - -#### Handle - -```csharp -public void Handle(IEvent evt) -``` - - ---- - -#### Validate - -```csharp -public abstract void Validate(TValidationEvent evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-helpers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-helpers/README.md deleted file mode 100644 index 1d9699e6ab6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-helpers/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Helpers -description: API reference for Umbraco.Commerce.Common.Helpers in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Helpers namespace - -| Public Type | Description | -| --- | --- | -| static class [EnumHelper](enumhelper.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-helpers/enumhelper.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-helpers/enumhelper.md deleted file mode 100644 index a5de2911efa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-helpers/enumhelper.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: EnumHelper -description: API reference for EnumHelper in Umbraco Commerce ---- -## EnumHelper - -```csharp -public static class EnumHelper -``` - -**Namespace** -* [Umbraco.Commerce.Common.Helpers](README.md) - -### Methods - -#### EnumAsDictionary - -```csharp -public static IDictionary EnumAsDictionary(Type enumType) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-io/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-io/README.md deleted file mode 100644 index 2bb14755ca9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-io/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Common.IO -description: API reference for Umbraco.Commerce.Common.IO in Umbraco Commerce ---- -## Umbraco.Commerce.Common.IO namespace - -| Public Type | Description | -| --- | --- | -| interface [IIOHelper](iiohelper.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-io/iiohelper.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-io/iiohelper.md deleted file mode 100644 index b19a4cd1820..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-io/iiohelper.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IIOHelper -description: API reference for IIOHelper in Umbraco Commerce ---- -## IIOHelper - -```csharp -public interface IIOHelper -``` - -**Namespace** -* [Umbraco.Commerce.Common.IO](README.md) - -### Methods - -#### MapPath - -```csharp -public string MapPath(string path) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/README.md deleted file mode 100644 index cb5122da5ba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Logging -description: API reference for Umbraco.Commerce.Common.Logging in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Logging namespace - -| Public Type | Description | -| --- | --- | -| interface [ILogger<T>](ilogger-1.md) | Defines the logging service. | -| enum [LogLevel](loglevel.md) | Specifies the level of a log event. | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/ilogger-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/ilogger-1.md deleted file mode 100644 index 19d2bd99190..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/ilogger-1.md +++ /dev/null @@ -1,390 +0,0 @@ ---- -title: ILogger -description: API reference for ILogger in Umbraco Commerce ---- -## ILogger<T> - -Defines the logging service. - -```csharp -public interface ILogger -``` - -**Namespace** -* [Umbraco.Commerce.Common.Logging](README.md) - -### Methods - -#### Debug (1 of 2) - -Logs a debugging message. - -```csharp -public void Debug(string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| message | A message. | - ---- - -#### Debug (2 of 2) - -Logs a debug message. - -```csharp -public void Debug(string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| messageTemplate | A message template. | -| propertyValues | Property values. | - - ---- - -#### Error (1 of 5) - -Logs an error message with an exception. - -```csharp -public void Error(Exception exception, string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | -| message | A message. | - ---- - -#### Error (2 of 5) - -Logs an error exception. - -```csharp -public void Error(Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | - -**Remarks** - -The message string is unspecified and is implementation-specific. - ---- - -#### Error (3 of 5) - -Logs an error message. - -```csharp -public void Error(string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| message | A message. | - ---- - -#### Error (4 of 5) - -Logs an error message with an exception. - -```csharp -public void Error(Exception exception, string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | -| messageTemplate | A message template. | -| propertyValues | Property values. | - ---- - -#### Error (5 of 5) - -Logs an error message. - -```csharp -public void Error(string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| messageTemplate | A message template. | -| propertyValues | Property values. | - - ---- - -#### Fatal (1 of 5) - -Logs a fatal message with an exception. - -```csharp -public void Fatal(Exception exception, string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | -| message | A message. | - ---- - -#### Fatal (2 of 5) - -Logs a fatal exception. - -```csharp -public void Fatal(Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | - -**Remarks** - -The message string is unspecified and is implementation-specific. - ---- - -#### Fatal (3 of 5) - -Logs a fatal message. - -```csharp -public void Fatal(string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| message | A message. | - ---- - -#### Fatal (4 of 5) - -Logs a fatal message with an exception. - -```csharp -public void Fatal(Exception exception, string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | -| messageTemplate | A message template. | -| propertyValues | Property values. | - ---- - -#### Fatal (5 of 5) - -Logs a fatal message. - -```csharp -public void Fatal(string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| messageTemplate | A message template. | -| propertyValues | Property values. | - - ---- - -#### Info (1 of 2) - -Logs an information message. - -```csharp -public void Info(string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| message | A message. | - ---- - -#### Info (2 of 2) - -Logs a info message. - -```csharp -public void Info(string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| messageTemplate | A message template. | -| propertyValues | Property values. | - - ---- - -#### IsEnabled - -Determines if logging is enabled at a specified level, for a reporting type. - -```csharp -public bool IsEnabled(LogLevel level) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| level | The level. | - - ---- - -#### Verbose (1 of 2) - -Logs a verbose message. - -```csharp -public void Verbose(string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| message | A message. | - ---- - -#### Verbose (2 of 2) - -Logs a verbose message. - -```csharp -public void Verbose(string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| messageTemplate | A message template. | -| propertyValues | Property values. | - - ---- - -#### Warn (1 of 4) - -Logs a warning message. - -```csharp -public void Warn(string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| message | A message. | - ---- - -#### Warn (2 of 4) - -Logs a warning message. - -```csharp -public void Warn(string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| messageTemplate | A message template. | -| propertyValues | Property values. | - ---- - -#### Warn (3 of 4) - -Logs a warning message with an exception. - -```csharp -public void Warn(Exception exception, string message) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | -| message | A message. | - ---- - -#### Warn (4 of 4) - -Logs a warning message with an exception. - -```csharp -public void Warn(Exception exception, string messageTemplate, params object[] propertyValues) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception. | -| messageTemplate | A message template. | -| propertyValues | Property values. | - - -**Remarks** - -Message templates in logging methods follow the Message Templates specification available at https://messagetemplates.org/ in order to support structured logging. - -Implementations must ensure that they support these templates. Note that the specification includes support for traditional C# numeric placeholders. - -For instance, "Processed {Input} in {Time}ms." - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/loglevel.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/loglevel.md deleted file mode 100644 index 1b55075706e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-logging/loglevel.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: LogLevel -description: API reference for LogLevel in Umbraco Commerce ---- -## LogLevel - -Specifies the level of a log event. - -```csharp -public enum LogLevel -``` - -**Namespace** -* [Umbraco.Commerce.Common.Logging](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Verbose | `0` | | -| Debug | `1` | | -| Information | `2` | | -| Warning | `3` | | -| Error | `4` | | -| Fatal | `5` | | -| None | `6` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/README.md deleted file mode 100644 index ad9109fa275..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/README.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Models -description: API reference for Umbraco.Commerce.Common.Models in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Models namespace - -| Public Type | Description | -| --- | --- | -| class [ChangingValue<T>](changingvalue-1.md) | | -| enum [ComparisonOperator](comparisonoperator.md) | | -| class [DictionaryDiff<TKey,TValue>](dictionarydiff-2.md) | | -| class [EnumerableDiff<T>](enumerablediff-1.md) | | -| interface [IChangingValue](ichangingvalue.md) | | -| interface [IKvp<TKey,TValue>](ikvp-2.md) | | -| class [Kvp<TKey,TValue>](kvp-2.md) | | -| class [PagedResult<T>](pagedresult-1.md) | Represents a paged result for a model collection | -| abstract class [PagedResultBase](pagedresultbase.md) | Represents a paged result for a model collection | -| enum [StringComparisonType](stringcomparisontype.md) | | -| class [ValidationError](validationerror.md) | | -| abstract class [ValueObjectBase](valueobjectbase.md) | Base class for an immutable value object | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/changingvalue-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/changingvalue-1.md deleted file mode 100644 index cdc1c9ebdf4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/changingvalue-1.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: ChangingValue -description: API reference for ChangingValue in Umbraco Commerce ---- -## ChangingValue<T> - -```csharp -public class ChangingValue : IChangingValue -``` - -**Inheritance** - -* interface [IChangingValue](ichangingvalue.md) - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Constructors - -#### ChangingValue<T> - -```csharp -public ChangingValue(T from, T to) -``` - - -### Properties - -#### From - -```csharp -public T From { get; set; } -``` - - ---- - -#### HasChanged - -```csharp -public bool HasChanged { get; } -``` - - ---- - -#### To - -```csharp -public T To { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/comparisonoperator.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/comparisonoperator.md deleted file mode 100644 index 69b35e3597d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/comparisonoperator.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: ComparisonOperator -description: API reference for ComparisonOperator in Umbraco Commerce ---- -## ComparisonOperator - -```csharp -public enum ComparisonOperator -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Equal | `0` | | -| GreaterThan | `1` | | -| GreaterThanOrEqual | `2` | | -| LessThan | `3` | | -| LessThanOrEqual | `4` | | -| NotEqual | `5` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/dictionarydiff-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/dictionarydiff-2.md deleted file mode 100644 index ebae6de66e5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/dictionarydiff-2.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: DictionaryDiff -description: API reference for DictionaryDiff in Umbraco Commerce ---- -## DictionaryDiff<TKey,TValue> - -```csharp -public class DictionaryDiff -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Constructors - -#### DictionaryDiff<TKey,TValue> - -The default constructor. - -```csharp -public DictionaryDiff() -``` - - -### Properties - -#### Added - -```csharp -public Dictionary Added { get; set; } -``` - - ---- - -#### Removed - -```csharp -public Dictionary Removed { get; set; } -``` - - ---- - -#### Unchanged - -```csharp -public Dictionary Unchanged { get; set; } -``` - - ---- - -#### Updated - -```csharp -public Dictionary Updated { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/enumerablediff-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/enumerablediff-1.md deleted file mode 100644 index aa95527b8dc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/enumerablediff-1.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: EnumerableDiff -description: API reference for EnumerableDiff in Umbraco Commerce ---- -## EnumerableDiff<T> - -```csharp -public class EnumerableDiff -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Constructors - -#### EnumerableDiff<T> - -The default constructor. - -```csharp -public EnumerableDiff() -``` - - -### Properties - -#### Added - -```csharp -public List Added { get; set; } -``` - - ---- - -#### Removed - -```csharp -public List Removed { get; set; } -``` - - ---- - -#### Unchanged - -```csharp -public List Unchanged { get; set; } -``` - - ---- - -#### Updated - -```csharp -public List Updated { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/ichangingvalue.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/ichangingvalue.md deleted file mode 100644 index 9f14609ed76..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/ichangingvalue.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: IChangingValue -description: API reference for IChangingValue in Umbraco Commerce ---- -## IChangingValue - -```csharp -public interface IChangingValue -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Properties - -#### From - -```csharp -public object From { get; set; } -``` - - ---- - -#### HasChanged - -```csharp -public bool HasChanged { get; } -``` - - ---- - -#### To - -```csharp -public object To { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/ikvp-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/ikvp-2.md deleted file mode 100644 index ffa1c88071b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/ikvp-2.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IKvp -description: API reference for IKvp in Umbraco Commerce ---- -## IKvp<TKey,TValue> - -```csharp -public interface IKvp -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Properties - -#### Key - -```csharp -public TKey Key { get; set; } -``` - - ---- - -#### Value - -```csharp -public TValue Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/kvp-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/kvp-2.md deleted file mode 100644 index 227c9bc91c4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/kvp-2.md +++ /dev/null @@ -1,84 +0,0 @@ ---- -title: Kvp -description: API reference for Kvp in Umbraco Commerce ---- -## Kvp<TKey,TValue> - -```csharp -public class Kvp : IDeepCloneable, IKvp -``` - -**Inheritance** - -* interface [IDeepCloneable](../umbraco-commerce-common/ideepcloneable.md) -* interface [IKvp<TKey,TValue>](ikvp-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Constructors - -#### Kvp<TKey,TValue> - -The default constructor. - -```csharp -public Kvp() -``` - - ---- - -#### Kvp<TKey,TValue> - -```csharp -public Kvp(TKey key, TValue value) -``` - - -### Properties - -#### Key - -```csharp -public TKey Key { get; set; } -``` - - ---- - -#### Value - -```csharp -public TValue Value { get; set; } -``` - - -### Methods - -#### DeepClone - -```csharp -public object DeepClone() -``` - - ---- - -#### Equals - -```csharp -public override bool Equals(object obj) -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/pagedresult-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/pagedresult-1.md deleted file mode 100644 index 7cb7e673a44..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/pagedresult-1.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: PagedResult -description: API reference for PagedResult in Umbraco Commerce ---- -## PagedResult<T> - -Represents a paged result for a model collection - -```csharp -public class PagedResult : PagedResultBase -``` - -**Inheritance** - -* Class [PagedResultBase](pagedresultbase.md) - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | | - -### Constructors - -#### PagedResult<T> - -```csharp -public PagedResult(long totalItems, long pageNumber, long pageSize) -``` - - -### Properties - -#### Items - -```csharp -public IEnumerable Items { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/pagedresultbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/pagedresultbase.md deleted file mode 100644 index 2c357e4e0cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/pagedresultbase.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: PagedResultBase -description: API reference for PagedResultBase in Umbraco Commerce ---- -## PagedResultBase - -Represents a paged result for a model collection - -```csharp -public abstract class PagedResultBase -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Constructors - -#### PagedResultBase - -```csharp -public PagedResultBase(long totalItems, long pageNumber, long pageSize) -``` - - -### Properties - -#### PageNumber - -```csharp -public long PageNumber { get; } -``` - - ---- - -#### PageSize - -```csharp -public long PageSize { get; } -``` - - ---- - -#### TotalItems - -```csharp -public long TotalItems { get; } -``` - - ---- - -#### TotalPages - -```csharp -public long TotalPages { get; } -``` - - -### Methods - -#### GetSkipSize - -Calculates the skip size based on the paged parameters specified - -```csharp -public int GetSkipSize() -``` - -**Remarks** - -Returns 0 if the page number or page size is zero - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/stringcomparisontype.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/stringcomparisontype.md deleted file mode 100644 index 872b3834075..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/stringcomparisontype.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: StringComparisonType -description: API reference for StringComparisonType in Umbraco Commerce ---- -## StringComparisonType - -```csharp -public enum StringComparisonType -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Equals | `0` | | -| Contains | `1` | | -| StartsWith | `2` | | -| EndsWith | `3` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/validationerror.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/validationerror.md deleted file mode 100644 index b45e837f1cf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/validationerror.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: ValidationError -description: API reference for ValidationError in Umbraco Commerce ---- -## ValidationError - -```csharp -public class ValidationError -``` - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Constructors - -#### ValidationError - -```csharp -public ValidationError(string msg) -``` - - -### Properties - -#### Message - -```csharp -public string Message { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md deleted file mode 100644 index f263f35f8ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: ValueObjectBase -description: API reference for ValueObjectBase in Umbraco Commerce ---- -## ValueObjectBase - -Base class for an immutable value object - -```csharp -public abstract class ValueObjectBase : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Common.Models](README.md) - -### Methods - -#### DeepClone - -Deep clones the entity and all of it's child entities - -```csharp -public abstract object DeepClone() -``` - -**Returns** - -A deep clones entity instance - - ---- - -#### Equals - -Compares the entity against another entity for equality - -```csharp -public override bool Equals(object obj) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| obj | The entity to compare against | - -**Returns** - -Returns `true` if the two entities are equal, otherwise returns `false`. - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - -### Operators - -#### ValueObjectBase Equality - -```csharp -public static bool operator ==(ValueObjectBase a, ValueObjectBase b) -``` - - ---- - -#### ValueObjectBase Inequality - -```csharp -public static bool operator !=(ValueObjectBase a, ValueObjectBase b) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/README.md deleted file mode 100644 index 58db9904f03..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Pipelines.Events -description: API reference for Umbraco.Commerce.Common.Pipelines.Events in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Pipelines.Events namespace - -| Public Type | Description | -| --- | --- | -| class [PipelineFailNotification](pipelinefailnotification.md) | | -| abstract class [PipelineNotificationEventBase](pipelinenotificationeventbase.md) | | -| class [PipelineSuccessNotification](pipelinesuccessnotification.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinefailnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinefailnotification.md deleted file mode 100644 index 260de841174..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinefailnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PipelineFailNotification -description: API reference for PipelineFailNotification in Umbraco Commerce ---- -## PipelineFailNotification - -```csharp -public class PipelineFailNotification : PipelineNotificationEventBase, INotificationEvent -``` - -**Inheritance** - -* Class [PipelineNotificationEventBase](pipelinenotificationeventbase.md) -* interface [INotificationEvent](../umbraco-commerce-common-events/inotificationevent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Events](README.md) - -### Constructors - -#### PipelineFailNotification - -```csharp -public PipelineFailNotification(IEnumerable pipeline, PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinenotificationeventbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinenotificationeventbase.md deleted file mode 100644 index bcd11226047..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinenotificationeventbase.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: PipelineNotificationEventBase -description: API reference for PipelineNotificationEventBase in Umbraco Commerce ---- -## PipelineNotificationEventBase - -```csharp -public abstract class PipelineNotificationEventBase : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Events](README.md) - -### Constructors - -#### PipelineNotificationEventBase - -```csharp -public PipelineNotificationEventBase(IEnumerable pipeline, PipelineArgs args) -``` - - -### Properties - -#### Pipeline - -```csharp -public IEnumerable Pipeline { get; set; } -``` - - ---- - -#### PipelineArgs - -```csharp -public PipelineArgs PipelineArgs { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinesuccessnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinesuccessnotification.md deleted file mode 100644 index 4572fd71415..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-events/pipelinesuccessnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PipelineSuccessNotification -description: API reference for PipelineSuccessNotification in Umbraco Commerce ---- -## PipelineSuccessNotification - -```csharp -public class PipelineSuccessNotification : PipelineNotificationEventBase, INotificationEvent -``` - -**Inheritance** - -* Class [PipelineNotificationEventBase](pipelinenotificationeventbase.md) -* interface [INotificationEvent](../umbraco-commerce-common-events/inotificationevent.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Events](README.md) - -### Constructors - -#### PipelineSuccessNotification - -```csharp -public PipelineSuccessNotification(IEnumerable pipeline, PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/README.md deleted file mode 100644 index f654657dd79..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/README.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Pipelines.Tasks -description: API reference for Umbraco.Commerce.Common.Pipelines.Tasks in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Pipelines.Tasks namespace - -| Public Type | Description | -| --- | --- | -| abstract class [NotificationEventTaskBase<TModel>](notificationeventtaskbase-1.md) | | -| abstract class [NotificationEventTaskBase<TEvent,TModel>](notificationeventtaskbase-2.md) | | -| abstract class [PipelineTaskBase<T>](pipelinetaskbase-1.md) | | -| abstract class [PipelineTaskBase<T,TResult>](pipelinetaskbase-2.md) | | -| abstract class [PipelineTaskBase](pipelinetaskbase.md) | | -| abstract class [PipelineTaskWithTypedArgsBase<TArgs,T>](pipelinetaskwithtypedargsbase-2.md) | | -| abstract class [PipelineTaskWithTypedArgsBase<TArgs,T,TResult>](pipelinetaskwithtypedargsbase-3.md) | | -| abstract class [SubPipelineTaskBase<TPipeline,TItem>](subpipelinetaskbase-2.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/notificationeventtaskbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/notificationeventtaskbase-1.md deleted file mode 100644 index 59b00d424fc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/notificationeventtaskbase-1.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: NotificationEventTaskBase -description: API reference for NotificationEventTaskBase in Umbraco Commerce ---- -## NotificationEventTaskBase<TModel> - -```csharp -public abstract class NotificationEventTaskBase : PipelineTaskBase -``` - -**Inheritance** - -* Class [PipelineTaskBase<T>](pipelinetaskbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/notificationeventtaskbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/notificationeventtaskbase-2.md deleted file mode 100644 index cb46020b2a9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/notificationeventtaskbase-2.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: NotificationEventTaskBase -description: API reference for NotificationEventTaskBase in Umbraco Commerce ---- -## NotificationEventTaskBase<TEvent,TModel> - -```csharp -public abstract class NotificationEventTaskBase : NotificationEventTaskBase - where TEvent : INotificationEvent -``` - -**Inheritance** - -* Class [NotificationEventTaskBase<TModel>](notificationeventtaskbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase-1.md deleted file mode 100644 index a266e34c358..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase-1.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: PipelineTaskBase -description: API reference for PipelineTaskBase in Umbraco Commerce ---- -## PipelineTaskBase<T> - -```csharp -public abstract class PipelineTaskBase : PipelineTaskBase, IPipelineTask, - IPipelineTask -``` - -**Inheritance** - -* Class [PipelineTaskBase<T,TResult>](pipelinetaskbase-2.md) -* interface [IPipelineTask<T>](../umbraco-commerce-common-pipelines/ipipelinetask-1.md) -* interface [IPipelineTask<T,TResult>](../umbraco-commerce-common-pipelines/ipipelinetask-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase-2.md deleted file mode 100644 index 119af864af7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase-2.md +++ /dev/null @@ -1,239 +0,0 @@ ---- -title: PipelineTaskBase -description: API reference for PipelineTaskBase in Umbraco Commerce ---- -## PipelineTaskBase<T,TResult> - -```csharp -public abstract class PipelineTaskBase : PipelineTaskBase, IPipelineAction, - IPipelineTask -``` - -**Inheritance** - -* Class [PipelineTaskBase](pipelinetaskbase.md) -* interface [IPipelineAction<T>](../umbraco-commerce-common-pipelines/ipipelineaction-1.md) -* interface [IPipelineTask<T,TResult>](../umbraco-commerce-common-pipelines/ipipelinetask-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - -### Methods - -#### Execute - -Executes the pipeline task. - -```csharp -public override PipelineResult Execute(PipelineArgs input) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The pipeline args. | - -**Returns** - -A pipeline result. - - ---- - -#### Execute - -Executes the pipeline task. - -```csharp -public abstract PipelineResult Execute(PipelineArgs args) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The pipeline args. | - -**Returns** - -A pipeline result. - - ---- - -#### Fail - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail() -``` - -**Returns** - -A fail pipeline result. - - ---- - -#### Fail (1 of 2) - -Creates a fail pipeline result. - -```csharp -public override PipelineResult Fail(object result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | - -**Returns** - -A fail pipeline result. - ---- - -#### Fail (2 of 2) - -Creates a fail pipeline result. - -```csharp -public override PipelineResult Fail(object result, Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | -| exception | An exception message. | - -**Returns** - -A fail pipeline result. - - ---- - -#### Fail (1 of 3) - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail(TResult result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | - -**Returns** - -A fail pipeline result. - ---- - -#### Fail (2 of 3) - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail(Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception message. | - -**Returns** - -A fail pipeline result. - ---- - -#### Fail (3 of 3) - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail(TResult result, Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | -| exception | An exception message. | - -**Returns** - -A fail pipeline result. - - ---- - -#### Ok - -Creates a success pipeline result. - -```csharp -public virtual PipelineResult Ok() -``` - -**Returns** - -A success pipeline result. - - ---- - -#### Ok - -Creates a success pipeline result. - -```csharp -public override PipelineResult Ok(object result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | - -**Returns** - -A success pipeline result. - - ---- - -#### Ok - -Creates a success pipeline result. - -```csharp -public virtual PipelineResult Ok(TResult result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | - -**Returns** - -A success pipeline result. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase.md deleted file mode 100644 index d57c90861a3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskbase.md +++ /dev/null @@ -1,153 +0,0 @@ ---- -title: PipelineTaskBase -description: API reference for PipelineTaskBase in Umbraco Commerce ---- -## PipelineTaskBase - -```csharp -public abstract class PipelineTaskBase : IPipelineAction, IPipelineTask -``` - -**Inheritance** - -* interface [IPipelineAction](../umbraco-commerce-common-pipelines/ipipelineaction.md) -* interface [IPipelineTask](../umbraco-commerce-common-pipelines/ipipelinetask.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - -### Methods - -#### Execute - -Executes the pipeline task. - -```csharp -public abstract PipelineResult Execute(PipelineArgs args) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| args | The pipeline args. | - -**Returns** - -A pipeline result. - - ---- - -#### Fail - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail() -``` - -**Returns** - -A fail pipeline result. - - ---- - -#### Fail (1 of 3) - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail(object result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | - -**Returns** - -A fail pipeline result. - ---- - -#### Fail (2 of 3) - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail(Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| exception | An exception message. | - -**Returns** - -A fail pipeline result. - ---- - -#### Fail (3 of 3) - -Creates a fail pipeline result. - -```csharp -public virtual PipelineResult Fail(object result, Exception exception) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | -| exception | An exception message. | - -**Returns** - -A fail pipeline result. - - ---- - -#### Ok - -Creates a success pipeline result. - -```csharp -public virtual PipelineResult Ok() -``` - -**Returns** - -A success pipeline result. - - ---- - -#### Ok - -Creates a success pipeline result. - -```csharp -public virtual PipelineResult Ok(object result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| result | The result data. | - -**Returns** - -A success pipeline result. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskwithtypedargsbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskwithtypedargsbase-2.md deleted file mode 100644 index 49c2f09e22c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskwithtypedargsbase-2.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: PipelineTaskWithTypedArgsBase -description: API reference for PipelineTaskWithTypedArgsBase in Umbraco Commerce ---- -## PipelineTaskWithTypedArgsBase<TArgs,T> - -```csharp -public abstract class PipelineTaskWithTypedArgsBase : PipelineTaskBase - where TArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineTaskBase<T>](pipelinetaskbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(PipelineArgs args) -``` - - ---- - -#### Execute - -Executes the pipeline task. - -```csharp -public abstract PipelineResult Execute(TArgs args) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The pipeline args. | - -**Returns** - -A pipeline result. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskwithtypedargsbase-3.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskwithtypedargsbase-3.md deleted file mode 100644 index 0c4315d7d73..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/pipelinetaskwithtypedargsbase-3.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: PipelineTaskWithTypedArgsBase -description: API reference for PipelineTaskWithTypedArgsBase in Umbraco Commerce ---- -## PipelineTaskWithTypedArgsBase<TArgs,T,TResult> - -```csharp -public abstract class PipelineTaskWithTypedArgsBase : - PipelineTaskBase - where TArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineTaskBase<T,TResult>](pipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(PipelineArgs args) -``` - - ---- - -#### Execute - -Executes the pipeline task. - -```csharp -public abstract PipelineResult Execute(TArgs args) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The pipeline args. | - -**Returns** - -A pipeline result. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/subpipelinetaskbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/subpipelinetaskbase-2.md deleted file mode 100644 index e49e4431002..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines-tasks/subpipelinetaskbase-2.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: SubPipelineTaskBase -description: API reference for SubPipelineTaskBase in Umbraco Commerce ---- -## SubPipelineTaskBase<TPipeline,TItem> - -```csharp -public abstract class SubPipelineTaskBase : PipelineTaskBase - where TPipeline : IPipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskBase<T>](pipelinetaskbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines.Tasks](README.md) - -### Properties - -#### Condition - -```csharp -public virtual Func Condition { get; } -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(PipelineArgs input) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/README.md deleted file mode 100644 index 3beee265dc0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/README.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Pipelines -description: API reference for Umbraco.Commerce.Common.Pipelines in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Pipelines namespace - -| Public Type | Description | -| --- | --- | -| class [CancelledPipelineException](cancelledpipelineexception.md) | | -| class [InProcPipelineInvoker](inprocpipelineinvoker.md) | | -| interface [IPipelineAction<T>](ipipelineaction-1.md) | | -| interface [IPipelineAction](ipipelineaction.md) | | -| interface [IPipelineFactory](ipipelinefactory.md) | | -| interface [IPipelineInvoker](ipipelineinvoker.md) | | -| interface [IPipelineTask<T>](ipipelinetask-1.md) | | -| interface [IPipelineTask<T,TResult>](ipipelinetask-2.md) | | -| interface [IPipelineTask](ipipelinetask.md) | | -| interface [IPipelineTaskCollection<T>](ipipelinetaskcollection-1.md) | | -| interface [IPipelineTaskCollection<T,TResult>](ipipelinetaskcollection-2.md) | | -| interface [IPipelineTaskCollection](ipipelinetaskcollection.md) | | -| interface [IPiplineTask](ipiplinetask.md) | | -| class [Pipeline](pipeline.md) | | -| class [PipelineArgs<T>](pipelineargs-1.md) | | -| class [PipelineArgs](pipelineargs.md) | | -| class [PipelineException](pipelineexception.md) | | -| class [PipelineFactory](pipelinefactory.md) | | -| class [PipelineResult<TResult>](pipelineresult-1.md) | | -| class [PipelineResult](pipelineresult.md) | | -| class [PipelineTaskCollection<T>](pipelinetaskcollection-1.md) | | -| class [PipelineTaskCollection<T,TResult>](pipelinetaskcollection-2.md) | | -| class [ValidationPipelineException](validationpipelineexception.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/cancelledpipelineexception.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/cancelledpipelineexception.md deleted file mode 100644 index 59fe72bff83..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/cancelledpipelineexception.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: CancelledPipelineException -description: API reference for CancelledPipelineException in Umbraco Commerce ---- -## CancelledPipelineException - -```csharp -public class CancelledPipelineException : PipelineException -``` - -**Inheritance** - -* Class [PipelineException](pipelineexception.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### CancelledPipelineException - -The default constructor. - -```csharp -public CancelledPipelineException() -``` - - ---- - -#### CancelledPipelineException - -```csharp -public CancelledPipelineException(string msg) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/inprocpipelineinvoker.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/inprocpipelineinvoker.md deleted file mode 100644 index fef85dfa2e5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/inprocpipelineinvoker.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: InProcPipelineInvoker -description: API reference for InProcPipelineInvoker in Umbraco Commerce ---- -## InProcPipelineInvoker - -```csharp -public class InProcPipelineInvoker : IPipelineInvoker -``` - -**Inheritance** - -* interface [IPipelineInvoker](ipipelineinvoker.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### InProcPipelineInvoker - -The default constructor. - -```csharp -public InProcPipelineInvoker() -``` - - -### Methods - -#### Invoke<TContext> - -Invoked the pipeline, executing the pipeline tasks sequentially. - -```csharp -public PipelineResult Invoke(IEnumerable> pipelines, - PipelineArgs args) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| pipelineTasks | The list of pipeline tasks to execute. | -| args | The initial args to pass to the pipeline tasks. | - -**Returns** - -An attempt result. - - ---- - -#### Invoke<TContext,TResult> - -Invoked the pipeline, executing the pipeline tasks sequentially. - -```csharp -public PipelineResult Invoke( - IEnumerable> pipelines, PipelineArgs args) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| pipelineTasks | The list of pipeline tasks to execute. | -| args | The initial args to pass to the pipeline tasks. | - -**Returns** - -An attempt result. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineaction-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineaction-1.md deleted file mode 100644 index 2beb54e76b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineaction-1.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: IPipelineAction -description: API reference for IPipelineAction in Umbraco Commerce ---- -## IPipelineAction<T> - -```csharp -public interface IPipelineAction : IPipelineAction -``` - -**Inheritance** - -* interface [IPipelineAction](ipipelineaction.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Methods - -#### Execute - -```csharp -public void Execute(PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineaction.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineaction.md deleted file mode 100644 index 97fed7b13e4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineaction.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IPipelineAction -description: API reference for IPipelineAction in Umbraco Commerce ---- -## IPipelineAction - -```csharp -public interface IPipelineAction -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Methods - -#### Execute - -```csharp -public void Execute(PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinefactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinefactory.md deleted file mode 100644 index a5fbc8ba0ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinefactory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: IPipelineFactory -description: API reference for IPipelineFactory in Umbraco Commerce ---- -## IPipelineFactory - -```csharp -public interface IPipelineFactory -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Methods - -#### Create<T> - -```csharp -public T Create() - where T : IPipelineTaskCollection -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineinvoker.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineinvoker.md deleted file mode 100644 index e555cdb85ff..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelineinvoker.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IPipelineInvoker -description: API reference for IPipelineInvoker in Umbraco Commerce ---- -## IPipelineInvoker - -```csharp -public interface IPipelineInvoker -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Methods - -#### Invoke - -```csharp -public PipelineResult Invoke(IEnumerable pipelineTasks, PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask-1.md deleted file mode 100644 index d8378c4a6ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask-1.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: IPipelineTask -description: API reference for IPipelineTask in Umbraco Commerce ---- -## IPipelineTask<T> - -```csharp -public interface IPipelineTask : IPipelineTask -``` - -**Inheritance** - -* interface [IPipelineTask<T,TResult>](ipipelinetask-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask-2.md deleted file mode 100644 index e135dcfa189..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask-2.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: IPipelineTask -description: API reference for IPipelineTask in Umbraco Commerce ---- -## IPipelineTask<T,TResult> - -```csharp -public interface IPipelineTask : IPipelineTask -``` - -**Inheritance** - -* interface [IPipelineTask](ipipelinetask.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Methods - -#### Execute - -```csharp -public PipelineResult Execute(PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask.md deleted file mode 100644 index 8b9deb7b588..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetask.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IPipelineTask -description: API reference for IPipelineTask in Umbraco Commerce ---- -## IPipelineTask - -```csharp -public interface IPipelineTask -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Methods - -#### Execute - -```csharp -public PipelineResult Execute(PipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection-1.md deleted file mode 100644 index 42fe282a959..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection-1.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IPipelineTaskCollection -description: API reference for IPipelineTaskCollection in Umbraco Commerce ---- -## IPipelineTaskCollection<T> - -```csharp -public interface IPipelineTaskCollection : IComposedCollection>, - IComposedCollection>, IComposedCollection, - IEnumerable>, IEnumerable>, IEnumerable, - IPipelineTaskCollection, IReadOnlyCollection>, - IReadOnlyCollection>, IReadOnlyCollection -``` - -**Inheritance** - -* interface [IComposedCollection<T>](../umbraco-commerce-common-composing/icomposedcollection-1.md) -* interface [IPipelineTaskCollection<T,TResult>](ipipelinetaskcollection-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection-2.md deleted file mode 100644 index 30b3f0ad98a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection-2.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: IPipelineTaskCollection -description: API reference for IPipelineTaskCollection in Umbraco Commerce ---- -## IPipelineTaskCollection<T,TResult> - -```csharp -public interface IPipelineTaskCollection : - IComposedCollection>, IComposedCollection, - IEnumerable>, IEnumerable, IPipelineTaskCollection, - IReadOnlyCollection>, IReadOnlyCollection -``` - -**Inheritance** - -* interface [IComposedCollection<T>](../umbraco-commerce-common-composing/icomposedcollection-1.md) -* interface [IPipelineTaskCollection](ipipelinetaskcollection.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Properties - -#### OnFail - -```csharp -public IPipelineAction OnFail { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection.md deleted file mode 100644 index b3f832e74eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipipelinetaskcollection.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: IPipelineTaskCollection -description: API reference for IPipelineTaskCollection in Umbraco Commerce ---- -## IPipelineTaskCollection - -```csharp -public interface IPipelineTaskCollection : IComposedCollection, - IEnumerable, IReadOnlyCollection -``` - -**Inheritance** - -* interface [IComposedCollection<T>](../umbraco-commerce-common-composing/icomposedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Properties - -#### OnFail - -```csharp -public IPipelineAction OnFail { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipiplinetask.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipiplinetask.md deleted file mode 100644 index 577ae0e2077..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/ipiplinetask.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: IPiplineTask -description: API reference for IPiplineTask in Umbraco Commerce ---- -## IPiplineTask - -```csharp -public interface IPiplineTask -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipeline.md deleted file mode 100644 index de5be89c689..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipeline.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: Pipeline -description: API reference for Pipeline in Umbraco Commerce ---- -## Pipeline - -```csharp -public class Pipeline -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### Pipeline - -The default constructor. - -```csharp -public Pipeline() -``` - - -### Methods - -#### Invoke<TPipeline,TEntity> (1 of 3) - -```csharp -public static PipelineResult Invoke(TEntity entity) - where TPipeline : IEnumerable, IPipelineTaskCollection -``` - ---- - -#### Invoke<TPipeline,TEntity> (2 of 3) - -```csharp -public static PipelineResult Invoke(TEntity entity, - object additionalData) - where TPipeline : IEnumerable, IPipelineTaskCollection -``` - ---- - -#### Invoke<TPipeline,TEntity> (3 of 3) - -```csharp -public static PipelineResult Invoke(TEntity entity, - IDictionary additionalData = null) - where TPipeline : IEnumerable, IPipelineTaskCollection -``` - - ---- - -#### Invoke<TPipeline,TArgs,TEntity> - -```csharp -public static PipelineResult Invoke( - Func argsFactory) - where TPipeline : IEnumerable, IPipelineTaskCollection - where TArgs : PipelineArgs -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md deleted file mode 100644 index cfa313a569f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: PipelineArgs -description: API reference for PipelineArgs in Umbraco Commerce ---- -## PipelineArgs<T> - -```csharp -public class PipelineArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineArgs](pipelineargs.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### PipelineArgs<T> - -```csharp -public PipelineArgs(IUnitOfWork uow, T model) -``` - - -### Properties - -#### Model - -Gets the model of this [`PipelineArgs`](pipelineargs-1.md). - -```csharp -public T Model { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs.md deleted file mode 100644 index 1944e6c7a11..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: PipelineArgs -description: API reference for PipelineArgs in Umbraco Commerce ---- -## PipelineArgs - -```csharp -public class PipelineArgs -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### PipelineArgs (1 of 2) - -```csharp -public PipelineArgs(IUnitOfWork uow, object model) -``` - ---- - -#### PipelineArgs (2 of 2) - -```csharp -public PipelineArgs(IUnitOfWork uow, object model, IDictionary additionalData) -``` - - -### Properties - -#### AdditionalData - -Gets the additional data of this [`PipelineArgs`](pipelineargs.md). - -```csharp -public IDictionary AdditionalData { get; } -``` - - ---- - -#### Model - -Gets the model of this [`PipelineArgs`](pipelineargs.md). - -```csharp -public object Model { get; } -``` - - ---- - -#### UnitOfWork - -Gets the pipelines [`IUnitOfWork`](../umbraco-commerce-common/iunitofwork.md). - -```csharp -public IUnitOfWork UnitOfWork { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineexception.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineexception.md deleted file mode 100644 index 44b1c6e59ba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineexception.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: PipelineException -description: API reference for PipelineException in Umbraco Commerce ---- -## PipelineException - -```csharp -public class PipelineException : Exception -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### PipelineException - -The default constructor. - -```csharp -public PipelineException() -``` - - ---- - -#### PipelineException - -```csharp -public PipelineException(string msg) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinefactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinefactory.md deleted file mode 100644 index 333bb9ca674..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinefactory.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: PipelineFactory -description: API reference for PipelineFactory in Umbraco Commerce ---- -## PipelineFactory - -```csharp -public class PipelineFactory : IPipelineFactory -``` - -**Inheritance** - -* interface [IPipelineFactory](ipipelinefactory.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### PipelineFactory - -```csharp -public PipelineFactory(IFactory factory) -``` - - -### Methods - -#### Create<T> - -```csharp -public T Create() - where T : IPipelineTaskCollection -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineresult-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineresult-1.md deleted file mode 100644 index 35b49361bf5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineresult-1.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: PipelineResult -description: API reference for PipelineResult in Umbraco Commerce ---- -## PipelineResult<TResult> - -```csharp -public class PipelineResult : PipelineResult -``` - -**Inheritance** - -* Class [PipelineResult](pipelineresult.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Properties - -#### Data - -Gets the PipelineResult result. - -```csharp -public TResult Data { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineresult.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineresult.md deleted file mode 100644 index dedf97d8997..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineresult.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: PipelineResult -description: API reference for PipelineResult in Umbraco Commerce ---- -## PipelineResult - -```csharp -public class PipelineResult -``` - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Properties - -#### Data - -Gets the PipelineResult data. - -```csharp -public object Data { get; } -``` - - ---- - -#### Exception - -Gets the exception associated with an unsuccessful PipelineResult. - -```csharp -public Exception Exception { get; } -``` - - ---- - -#### Success - -Gets a value indicating whether this [`PipelineResult`](pipelineresult.md) was successful. - -```csharp -public bool Success { get; } -``` - - -### Operators - -#### PipelineResult Implicit - -Implicitly operator to check if the PipelineResult was successful without having to access the 'success' property - -```csharp -public static implicit operator bool(PipelineResult a) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| a | | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md deleted file mode 100644 index f0ae184bd6a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: PipelineTaskCollection -description: API reference for PipelineTaskCollection in Umbraco Commerce ---- -## PipelineTaskCollection<T> - -```csharp -public class PipelineTaskCollection : ComposedCollection>, - IComposedCollection>, IComposedCollection>, - IComposedCollection, IEnumerable>, - IEnumerable>, IEnumerable, IPipelineTaskCollection, - IPipelineTaskCollection, IReadOnlyCollection>, - IReadOnlyCollection>, IReadOnlyCollection -``` - -**Inheritance** - -* Class [ComposedCollection<T>](../umbraco-commerce-common-composing/composedcollection-1.md) -* interface [IComposedCollection<T>](../umbraco-commerce-common-composing/icomposedcollection-1.md) -* interface [IPipelineTaskCollection<T>](ipipelinetaskcollection-1.md) -* interface [IPipelineTaskCollection<T,TResult>](ipipelinetaskcollection-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### PipelineTaskCollection<T> - -```csharp -public PipelineTaskCollection(Func>> itemsFactory) -``` - - -### Properties - -#### OnFail - -```csharp -public IPipelineAction OnFail { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-2.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-2.md deleted file mode 100644 index 4c9f2b93e99..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-2.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: PipelineTaskCollection -description: API reference for PipelineTaskCollection in Umbraco Commerce ---- -## PipelineTaskCollection<T,TResult> - -```csharp -public class PipelineTaskCollection : ComposedCollection>, - IComposedCollection>, IComposedCollection, - IEnumerable>, IEnumerable, - IPipelineTaskCollection, IReadOnlyCollection>, - IReadOnlyCollection -``` - -**Inheritance** - -* Class [ComposedCollection<T>](../umbraco-commerce-common-composing/composedcollection-1.md) -* interface [IComposedCollection<T>](../umbraco-commerce-common-composing/icomposedcollection-1.md) -* interface [IPipelineTaskCollection<T,TResult>](ipipelinetaskcollection-2.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### PipelineTaskCollection<T,TResult> - -```csharp -public PipelineTaskCollection(Func>> itemsFactory) -``` - - -### Properties - -#### OnFail - -```csharp -public IPipelineAction OnFail { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/validationpipelineexception.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/validationpipelineexception.md deleted file mode 100644 index 862ff2be551..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-pipelines/validationpipelineexception.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidationPipelineException -description: API reference for ValidationPipelineException in Umbraco Commerce ---- -## ValidationPipelineException - -```csharp -public class ValidationPipelineException : PipelineException -``` - -**Inheritance** - -* Class [PipelineException](pipelineexception.md) - -**Namespace** -* [Umbraco.Commerce.Common.Pipelines](README.md) - -### Constructors - -#### ValidationPipelineException - -The default constructor. - -```csharp -public ValidationPipelineException() -``` - - ---- - -#### ValidationPipelineException - -```csharp -public ValidationPipelineException(string msg) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/README.md deleted file mode 100644 index e4b7164981c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Resiliency -description: API reference for Umbraco.Commerce.Common.Resiliency in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Resiliency namespace - -| Public Type | Description | -| --- | --- | -| class [ExecutionResult<TResult>](executionresult-1.md) | | -| interface [IExecutionStrategy](iexecutionstrategy.md) | | -| abstract class [NoRetryExecutionStrategy](noretryexecutionstrategy.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/executionresult-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/executionresult-1.md deleted file mode 100644 index ae7188f7e02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/executionresult-1.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: ExecutionResult -description: API reference for ExecutionResult in Umbraco Commerce ---- -## ExecutionResult<TResult> - -```csharp -public class ExecutionResult -``` - -**Namespace** -* [Umbraco.Commerce.Common.Resiliency](README.md) - -### Constructors - -#### ExecutionResult<TResult> - -Creates a new instance of [`ExecutionResult`](executionresult-1.md). - -```csharp -public ExecutionResult(bool successful, TResult result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| successful | `true` if the operation succeeded. | -| result | The result of the operation if successful. | - - -### Properties - -#### IsSuccessful - -Indicates whether the operation succeeded. - -```csharp -public virtual bool IsSuccessful { get; } -``` - - ---- - -#### Result - -The result of the operation if successful. - -```csharp -public virtual TResult Result { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/iexecutionstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/iexecutionstrategy.md deleted file mode 100644 index cb3b19a6693..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/iexecutionstrategy.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: IExecutionStrategy -description: API reference for IExecutionStrategy in Umbraco Commerce ---- -## IExecutionStrategy - -```csharp -public interface IExecutionStrategy -``` - -**Namespace** -* [Umbraco.Commerce.Common.Resiliency](README.md) - -### Methods - -#### Execute<TResult> - -```csharp -public TResult Execute(Func operation, - Func> verifySucceeded = null) -``` - - ---- - -#### ExecuteAsync<TResult> - -```csharp -public Task ExecuteAsync(Func> operation, - Func>> verifySucceeded = null, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/noretryexecutionstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/noretryexecutionstrategy.md deleted file mode 100644 index 4edb5abf872..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-resiliency/noretryexecutionstrategy.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: NoRetryExecutionStrategy -description: API reference for NoRetryExecutionStrategy in Umbraco Commerce ---- -## NoRetryExecutionStrategy - -```csharp -public abstract class NoRetryExecutionStrategy : IExecutionStrategy -``` - -**Inheritance** - -* interface [IExecutionStrategy](iexecutionstrategy.md) - -**Namespace** -* [Umbraco.Commerce.Common.Resiliency](README.md) - -### Methods - -#### Execute<TResult> - -```csharp -public virtual TResult Execute(Func operation, - Func> verifySucceeded = null) -``` - - ---- - -#### ExecuteAsync<TResult> - -```csharp -public virtual Task ExecuteAsync( - Func> operation, - Func>> verifySucceeded = null, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/README.md deleted file mode 100644 index cfa1c0d8b8c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Security -description: API reference for Umbraco.Commerce.Common.Security in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Security namespace - -| Public Type | Description | -| --- | --- | -| interface [IHashProvider](ihashprovider.md) | | -| interface [IHashSecretProvider](ihashsecretprovider.md) | | -| class [SHA1HashProvider](sha1hashprovider.md) | | -| class [SHA256HashProvider](sha256hashprovider.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/ihashprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/ihashprovider.md deleted file mode 100644 index 79ee825a4ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/ihashprovider.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHashProvider -description: API reference for IHashProvider in Umbraco Commerce ---- -## IHashProvider - -```csharp -public interface IHashProvider -``` - -**Namespace** -* [Umbraco.Commerce.Common.Security](README.md) - -### Methods - -#### ComputeHash - -```csharp -public string ComputeHash(object input) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/ihashsecretprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/ihashsecretprovider.md deleted file mode 100644 index 2e47a51e2e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/ihashsecretprovider.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHashSecretProvider -description: API reference for IHashSecretProvider in Umbraco Commerce ---- -## IHashSecretProvider - -```csharp -public interface IHashSecretProvider -``` - -**Namespace** -* [Umbraco.Commerce.Common.Security](README.md) - -### Methods - -#### GetSecret - -```csharp -public string GetSecret() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/sha1hashprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/sha1hashprovider.md deleted file mode 100644 index 826fe05430d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/sha1hashprovider.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: SHA1HashProvider -description: API reference for SHA1HashProvider in Umbraco Commerce ---- -## SHA1HashProvider - -```csharp -public class SHA1HashProvider : IHashProvider -``` - -**Inheritance** - -* interface [IHashProvider](ihashprovider.md) - -**Namespace** -* [Umbraco.Commerce.Common.Security](README.md) - -### Constructors - -#### SHA1HashProvider - -The default constructor. - -```csharp -public SHA1HashProvider() -``` - - -### Methods - -#### ComputeHash - -```csharp -public string ComputeHash(object input) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/sha256hashprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/sha256hashprovider.md deleted file mode 100644 index bdde66ab641..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-security/sha256hashprovider.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: SHA256HashProvider -description: API reference for SHA256HashProvider in Umbraco Commerce ---- -## SHA256HashProvider - -```csharp -public class SHA256HashProvider : IHashProvider -``` - -**Inheritance** - -* interface [IHashProvider](ihashprovider.md) - -**Namespace** -* [Umbraco.Commerce.Common.Security](README.md) - -### Constructors - -#### SHA256HashProvider - -```csharp -public SHA256HashProvider(IHashSecretProvider secretProvider) -``` - - -### Methods - -#### ComputeHash - -```csharp -public string ComputeHash(object input) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/README.md deleted file mode 100644 index 532e788150f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/README.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Specifications -description: API reference for Umbraco.Commerce.Common.Specifications in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Specifications namespace - -| Public Type | Description | -| --- | --- | -| class [AndSpecification<T>](andspecification-1.md) | | -| interface [IQuerySpecification<T>](iqueryspecification-1.md) | | -| interface [IQuerySpecificationVisitor<T>](iqueryspecificationvisitor-1.md) | | -| interface [ISortSpecification<T>](isortspecification-1.md) | | -| interface [ISortSpecificationVisitor<T>](isortspecificationvisitor-1.md) | | -| interface [ISpecification<T>](ispecification-1.md) | | -| class [NotSpecification<T>](notspecification-1.md) | | -| class [OrSpecification<T>](orspecification-1.md) | | -| enum [Sort](sort.md) | | -| abstract class [SortSpecificationBase<T>](sortspecificationbase-1.md) | | -| class [ThenSpecification<T>](thenspecification-1.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/andspecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/andspecification-1.md deleted file mode 100644 index 12b26fe19c1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/andspecification-1.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: AndSpecification -description: API reference for AndSpecification in Umbraco Commerce ---- -## AndSpecification<T> - -```csharp -public class AndSpecification : IQuerySpecification, ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<T>](iqueryspecification-1.md) -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Constructors - -#### AndSpecification<T> - -```csharp -public AndSpecification(IQuerySpecification left, IQuerySpecification right) -``` - - -### Properties - -#### Left - -```csharp -public IQuerySpecification Left { get; set; } -``` - - ---- - -#### Right - -```csharp -public IQuerySpecification Right { get; set; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(T item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md deleted file mode 100644 index 57d59d8b290..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: IQuerySpecification -description: API reference for IQuerySpecification in Umbraco Commerce ---- -## IQuerySpecification<T> - -```csharp -public interface IQuerySpecification : ISpecification -``` - -**Inheritance** - -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Methods - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(T item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecificationvisitor-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecificationvisitor-1.md deleted file mode 100644 index 40e316d47fd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecificationvisitor-1.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -title: IQuerySpecificationVisitor -description: API reference for IQuerySpecificationVisitor in Umbraco Commerce ---- -## IQuerySpecificationVisitor<T> - -```csharp -public interface IQuerySpecificationVisitor : IVisitor>, - IVisitor>, IVisitor> -``` - -**Inheritance** - -* interface [IVisitor<TElement>](../umbraco-commerce-common-visitors/ivisitor-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecification-1.md deleted file mode 100644 index 207d68d35c4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecification-1.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: ISortSpecification -description: API reference for ISortSpecification in Umbraco Commerce ---- -## ISortSpecification<T> - -```csharp -public interface ISortSpecification : ISpecification -``` - -**Inheritance** - -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Methods - -#### InvokeSort (1 of 2) - -```csharp -public IOrderedEnumerable InvokeSort(IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public IOrderedEnumerable InvokeSort(IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecificationvisitor-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecificationvisitor-1.md deleted file mode 100644 index 576274c20cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecificationvisitor-1.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: ISortSpecificationVisitor -description: API reference for ISortSpecificationVisitor in Umbraco Commerce ---- -## ISortSpecificationVisitor<T> - -```csharp -public interface ISortSpecificationVisitor : IVisitor> -``` - -**Inheritance** - -* interface [IVisitor<TElement>](../umbraco-commerce-common-visitors/ivisitor-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md deleted file mode 100644 index a6ba17e6f33..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: ISpecification -description: API reference for ISpecification in Umbraco Commerce ---- -## ISpecification<T> - -```csharp -public interface ISpecification : IVisitable -``` - -**Inheritance** - -* interface [IVisitable](../umbraco-commerce-common-visitors/ivisitable.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/notspecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/notspecification-1.md deleted file mode 100644 index d6e4798fe8c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/notspecification-1.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: NotSpecification -description: API reference for NotSpecification in Umbraco Commerce ---- -## NotSpecification<T> - -```csharp -public class NotSpecification : IQuerySpecification, ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<T>](iqueryspecification-1.md) -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Constructors - -#### NotSpecification<T> - -```csharp -public NotSpecification(IQuerySpecification specification) -``` - - -### Properties - -#### Specification - -```csharp -public IQuerySpecification Specification { get; set; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(T item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/orspecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/orspecification-1.md deleted file mode 100644 index 17930685000..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/orspecification-1.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrSpecification -description: API reference for OrSpecification in Umbraco Commerce ---- -## OrSpecification<T> - -```csharp -public class OrSpecification : IQuerySpecification, ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<T>](iqueryspecification-1.md) -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Constructors - -#### OrSpecification<T> - -```csharp -public OrSpecification(IQuerySpecification left, IQuerySpecification right) -``` - - -### Properties - -#### Left - -```csharp -public IQuerySpecification Left { get; set; } -``` - - ---- - -#### Right - -```csharp -public IQuerySpecification Right { get; set; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(T item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/sort.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/sort.md deleted file mode 100644 index 52fc659c002..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/sort.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Sort -description: API reference for Sort in Umbraco Commerce ---- -## Sort - -```csharp -public enum Sort -``` - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Ascending | `0` | | -| Descending | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md deleted file mode 100644 index 3a99ab76203..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: SortSpecificationBase -description: API reference for SortSpecificationBase in Umbraco Commerce ---- -## SortSpecificationBase<T> - -```csharp -public abstract class SortSpecificationBase : ISortSpecification, ISpecification -``` - -**Inheritance** - -* interface [ISortSpecification<T>](isortspecification-1.md) -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Properties - -#### Sort - -```csharp -public Sort Sort { get; } -``` - - -### Methods - -#### Accept - -```csharp -public abstract void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public abstract IOrderedEnumerable InvokeSort(IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public abstract IOrderedEnumerable InvokeSort(IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/thenspecification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/thenspecification-1.md deleted file mode 100644 index b10abf23b93..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-specifications/thenspecification-1.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: ThenSpecification -description: API reference for ThenSpecification in Umbraco Commerce ---- -## ThenSpecification<T> - -```csharp -public class ThenSpecification : ISortSpecification, ISpecification -``` - -**Inheritance** - -* interface [ISortSpecification<T>](isortspecification-1.md) -* interface [ISpecification<T>](ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Common.Specifications](README.md) - -### Constructors - -#### ThenSpecification<T> - -```csharp -public ThenSpecification(ISortSpecification left, ISortSpecification right) -``` - - -### Properties - -#### Left - -```csharp -public ISortSpecification Left { get; set; } -``` - - ---- - -#### Right - -```csharp -public ISortSpecification Right { get; set; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public IOrderedEnumerable InvokeSort(IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public IOrderedEnumerable InvokeSort(IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-validation/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-validation/README.md deleted file mode 100644 index 9f3ca134b06..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-validation/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Validation -description: API reference for Umbraco.Commerce.Common.Validation in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Validation namespace - -| Public Type | Description | -| --- | --- | -| class [ValidationException](validationexception.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-validation/validationexception.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-validation/validationexception.md deleted file mode 100644 index 5d5d9556af4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-validation/validationexception.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: ValidationException -description: API reference for ValidationException in Umbraco Commerce ---- -## ValidationException - -```csharp -public class ValidationException : Exception -``` - -**Namespace** -* [Umbraco.Commerce.Common.Validation](README.md) - -### Constructors - -#### ValidationException (1 of 2) - -```csharp -public ValidationException(IEnumerable validationErrors) -``` - ---- - -#### ValidationException (2 of 2) - -```csharp -public ValidationException(string message, IEnumerable validationErrors) -``` - - -### Properties - -#### Errors - -```csharp -public IEnumerable Errors { get; } -``` - - ---- - -#### Message - -```csharp -public override string Message { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/README.md deleted file mode 100644 index 804e3c91fa7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Umbraco.Commerce.Common.Visitors -description: API reference for Umbraco.Commerce.Common.Visitors in Umbraco Commerce ---- -## Umbraco.Commerce.Common.Visitors namespace - -| Public Type | Description | -| --- | --- | -| interface [IVisitable](ivisitable.md) | | -| interface [IVisitContext](ivisitcontext.md) | | -| interface [IVisitor<TElement>](ivisitor-1.md) | | -| interface [IVisitor](ivisitor.md) | | -| class [VisitContext<TValue>](visitcontext-1.md) | | -| class [Visitor](visitor.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitable.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitable.md deleted file mode 100644 index 44a9f6dcf48..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitable.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IVisitable -description: API reference for IVisitable in Umbraco Commerce ---- -## IVisitable - -```csharp -public interface IVisitable -``` - -**Namespace** -* [Umbraco.Commerce.Common.Visitors](README.md) - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitcontext.md deleted file mode 100644 index 40ce412087f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitcontext.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: IVisitContext -description: API reference for IVisitContext in Umbraco Commerce ---- -## IVisitContext - -```csharp -public interface IVisitContext -``` - -**Namespace** -* [Umbraco.Commerce.Common.Visitors](README.md) - -### Methods - -#### Get<TState> - -```csharp -public TState Get() -``` - - ---- - -#### Set<TState> - -```csharp -public void Set(TState state) -``` - - ---- - -#### TryGet<TState> - -```csharp -public bool TryGet(out TState state) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor-1.md deleted file mode 100644 index f32e54683e7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor-1.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: IVisitor -description: API reference for IVisitor in Umbraco Commerce ---- -## IVisitor<TElement> - -```csharp -public interface IVisitor - where TElement : IVisitable -``` - -**Namespace** -* [Umbraco.Commerce.Common.Visitors](README.md) - -### Methods - -#### AsVisitor - -```csharp -public IVisitor AsVisitor() -``` - - ---- - -#### Visit - -```csharp -public void Visit(TElement element) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor.md deleted file mode 100644 index cac703d27f0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: IVisitor -description: API reference for IVisitor in Umbraco Commerce ---- -## IVisitor - -```csharp -public interface IVisitor -``` - -**Namespace** -* [Umbraco.Commerce.Common.Visitors](README.md) - -### Methods - -#### Visit<TElement> - -```csharp -public void Visit(TElement element) - where TElement : IVisitable -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/visitcontext-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/visitcontext-1.md deleted file mode 100644 index 67a7980bd8f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/visitcontext-1.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: VisitContext -description: API reference for VisitContext in Umbraco Commerce ---- -## VisitContext<TValue> - -```csharp -public sealed class VisitContext : IVisitContext -``` - -**Inheritance** - -* interface [IVisitContext](ivisitcontext.md) - -**Namespace** -* [Umbraco.Commerce.Common.Visitors](README.md) - -### Methods - -#### Get<TState> - -```csharp -public TState Get() -``` - - ---- - -#### Set<TState> - -```csharp -public void Set(TState newState) -``` - - ---- - -#### TryGet<TState> - -```csharp -public bool TryGet(out TState state) -``` - - ---- - -#### TrySet<TState> - -```csharp -public bool TrySet(TState state) -``` - - ---- - -#### Create - -```csharp -public static IVisitContext Create(TValue value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/visitor.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/visitor.md deleted file mode 100644 index a1d8c200c91..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common-visitors/visitor.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Visitor -description: API reference for Visitor in Umbraco Commerce ---- -## Visitor - -```csharp -public sealed class Visitor : IVisitor -``` - -**Inheritance** - -* interface [IVisitor](ivisitor.md) - -**Namespace** -* [Umbraco.Commerce.Common.Visitors](README.md) - -### Constructors - -#### Visitor - -```csharp -public Visitor(object wrapped) -``` - - -### Methods - -#### Visit<TElement> - -```csharp -public void Visit(TElement element) - where TElement : IVisitable -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/README.md deleted file mode 100644 index 4ba4169bcf2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/README.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: Umbraco.Commerce.Common -description: API reference for Umbraco.Commerce.Common in Umbraco Commerce ---- -## Umbraco.Commerce.Common namespace - -| Public Type | Description | -| --- | --- | -| abstract class [AccessorBase<T>](accessorbase-1.md) | | -| class [CombComparer](combcomparer.md) | | -| class [DefaultGuidProvider](defaultguidprovider.md) | | -| abstract class [DynamicFactoryBase](dynamicfactorybase.md) | | -| static class [GuidFactory](guidfactory.md) | | -| interface [IAmbientUnitOfWork](iambientunitofwork.md) | | -| interface [IDatabaseApi](idatabaseapi.md) | | -| interface [IDatabaseApiContainer](idatabaseapicontainer.md) | | -| interface [IDeepCloneable](ideepcloneable.md) | Defines an entity that supports deep cloning | -| interface [IFactory](ifactory.md) | | -| interface [IFactoryBase](ifactorybase.md) | | -| interface [IGuidProvider](iguidprovider.md) | | -| interface [IScopedFactory](iscopedfactory.md) | | -| interface [IScopedFactoryAccessor](iscopedfactoryaccessor.md) | | -| interface [ISupportCommitChanges](isupportcommitchanges.md) | | -| interface [ISupportRollbackChanges](isupportrollbackchanges.md) | | -| interface [ISupportSaveChanges](isupportsavechanges.md) | | -| interface [ITransactionApi](itransactionapi.md) | | -| interface [ITransactionApiContainer](itransactionapicontainer.md) | | -| interface [IUnitOfWork](iunitofwork.md) | Defines a Unit of Work | -| interface [IUnitOfWorkAccessor](iunitofworkaccessor.md) | | -| interface [IUnitOfWorkEnlistable](iunitofworkenlistable.md) | | -| interface [IUnitOfWorkExecutionStrategy](iunitofworkexecutionstrategy.md) | | -| interface [IUnitOfWorkOptions](iunitofworkoptions.md) | | -| interface [IUnitOfWorkProvider](iunitofworkprovider.md) | Defines a Provider that can create a [`IUnitOfWork`](umbraco-commerce-common/iunitofwork.md) | -| class [NoRetryUnitOfWorkExecutionStrategy](noretryunitofworkexecutionstrategy.md) | | -| enum [UnitOfWorkTransactionBehavior](unitofworktransactionbehavior.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/accessorbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/accessorbase-1.md deleted file mode 100644 index 1af168ab69e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/accessorbase-1.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: AccessorBase -description: API reference for AccessorBase in Umbraco Commerce ---- -## AccessorBase<T> - -```csharp -public abstract class AccessorBase - where T : class -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Constructors - -#### AccessorBase<T> - -```csharp -public AccessorBase(IScopedFactoryAccessor scopedFactoryAccessor) -``` - - -### Properties - -#### Instance - -```csharp -public virtual T Instance { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/combcomparer.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/combcomparer.md deleted file mode 100644 index cad359f3e42..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/combcomparer.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: CombComparer -description: API reference for CombComparer in Umbraco Commerce ---- -## CombComparer - -```csharp -public class CombComparer : IComparer -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Constructors - -#### CombComparer - -The default constructor. - -```csharp -public CombComparer() -``` - - -### Methods - -#### Compare - -```csharp -public int Compare(Guid x, Guid y) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/defaultguidprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/defaultguidprovider.md deleted file mode 100644 index 7c1909c9466..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/defaultguidprovider.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DefaultGuidProvider -description: API reference for DefaultGuidProvider in Umbraco Commerce ---- -## DefaultGuidProvider - -```csharp -public class DefaultGuidProvider : IGuidProvider -``` - -**Inheritance** - -* interface [IGuidProvider](iguidprovider.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Constructors - -#### DefaultGuidProvider - -The default constructor. - -```csharp -public DefaultGuidProvider() -``` - - -### Methods - -#### CreateGuid - -```csharp -public Guid CreateGuid() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/dynamicfactorybase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/dynamicfactorybase.md deleted file mode 100644 index f987491100c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/dynamicfactorybase.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: DynamicFactoryBase -description: API reference for DynamicFactoryBase in Umbraco Commerce ---- -## DynamicFactoryBase - -```csharp -public abstract class DynamicFactoryBase -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/guidfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/guidfactory.md deleted file mode 100644 index b82541b12fc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/guidfactory.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: GuidFactory -description: API reference for GuidFactory in Umbraco Commerce ---- -## GuidFactory - -```csharp -public static class GuidFactory -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### GuidProvider - -```csharp -public static IGuidProvider GuidProvider { get; set; } -``` - - -### Methods - -#### Create - -```csharp -public static Guid Create() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iambientunitofwork.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iambientunitofwork.md deleted file mode 100644 index ef480f3bdfd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iambientunitofwork.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: IAmbientUnitOfWork -description: API reference for IAmbientUnitOfWork in Umbraco Commerce ---- -## IAmbientUnitOfWork - -```csharp -public interface IAmbientUnitOfWork : IUnitOfWorkAccessor -``` - -**Inheritance** - -* interface [IUnitOfWorkAccessor](iunitofworkaccessor.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### Current - -```csharp -public IUnitOfWork Current { get; } -``` - - -### Methods - -#### SetCurrent - -```csharp -public void SetCurrent(IUnitOfWork unitOfWork) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/idatabaseapi.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/idatabaseapi.md deleted file mode 100644 index 270197b2d03..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/idatabaseapi.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: IDatabaseApi -description: API reference for IDatabaseApi in Umbraco Commerce ---- -## IDatabaseApi - -```csharp -public interface IDatabaseApi : IDisposable -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/idatabaseapicontainer.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/idatabaseapicontainer.md deleted file mode 100644 index fd396dc4e10..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/idatabaseapicontainer.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: IDatabaseApiContainer -description: API reference for IDatabaseApiContainer in Umbraco Commerce ---- -## IDatabaseApiContainer - -```csharp -public interface IDatabaseApiContainer -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### AddDatabaseApi - -```csharp -public void AddDatabaseApi(string key, IDatabaseApi api) -``` - - ---- - -#### FindDatabaseApi - -```csharp -public IDatabaseApi FindDatabaseApi(string key) -``` - - ---- - -#### GetOrAddDatabaseApi - -```csharp -public IDatabaseApi GetOrAddDatabaseApi(string key, Func factory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md deleted file mode 100644 index 867a9c50b49..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: IDeepCloneable -description: API reference for IDeepCloneable in Umbraco Commerce ---- -## IDeepCloneable - -Defines an entity that supports deep cloning - -```csharp -public interface IDeepCloneable -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### DeepClone - -Deep clones an entity and all of it's child entities - -```csharp -public object DeepClone() -``` - -**Returns** - -The cloned entity as an object - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ifactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ifactory.md deleted file mode 100644 index ab7621a8f5e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ifactory.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: IFactory -description: API reference for IFactory in Umbraco Commerce ---- -## IFactory - -```csharp -public interface IFactory : IFactoryBase -``` - -**Inheritance** - -* interface [IFactoryBase](ifactorybase.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### CreateScoped - -```csharp -public IScopedFactory CreateScoped() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ifactorybase.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ifactorybase.md deleted file mode 100644 index 4cdf7d2421a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/ifactorybase.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: IFactoryBase -description: API reference for IFactoryBase in Umbraco Commerce ---- -## IFactoryBase - -```csharp -public interface IFactoryBase -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### GetAllInstances - -```csharp -public IEnumerable GetAllInstances(Type type) -``` - - ---- - -#### GetAllInstances<T> - -```csharp -public IEnumerable GetAllInstances() -``` - - ---- - -#### GetInstance - -```csharp -public object GetInstance(Type type) -``` - - ---- - -#### GetInstance<T> - -```csharp -public T GetInstance() -``` - - ---- - -#### TryGetInstance - -```csharp -public object TryGetInstance(Type type) -``` - - ---- - -#### TryGetInstance<T> - -```csharp -public T TryGetInstance() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iguidprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iguidprovider.md deleted file mode 100644 index 882fbd539be..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iguidprovider.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IGuidProvider -description: API reference for IGuidProvider in Umbraco Commerce ---- -## IGuidProvider - -```csharp -public interface IGuidProvider -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### CreateGuid - -```csharp -public Guid CreateGuid() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iscopedfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iscopedfactory.md deleted file mode 100644 index f6c77f56c41..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iscopedfactory.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: IScopedFactory -description: API reference for IScopedFactory in Umbraco Commerce ---- -## IScopedFactory - -```csharp -public interface IScopedFactory : IDisposable, IFactoryBase -``` - -**Inheritance** - -* interface [IFactoryBase](ifactorybase.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iscopedfactoryaccessor.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iscopedfactoryaccessor.md deleted file mode 100644 index 2c99a11ae36..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iscopedfactoryaccessor.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IScopedFactoryAccessor -description: API reference for IScopedFactoryAccessor in Umbraco Commerce ---- -## IScopedFactoryAccessor - -```csharp -public interface IScopedFactoryAccessor -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### Factory - -```csharp -public IScopedFactory Factory { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportcommitchanges.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportcommitchanges.md deleted file mode 100644 index 089b813f19a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportcommitchanges.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ISupportCommitChanges -description: API reference for ISupportCommitChanges in Umbraco Commerce ---- -## ISupportCommitChanges - -```csharp -public interface ISupportCommitChanges -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### CommitChanges - -```csharp -public void CommitChanges() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportrollbackchanges.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportrollbackchanges.md deleted file mode 100644 index a02db602d04..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportrollbackchanges.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ISupportRollbackChanges -description: API reference for ISupportRollbackChanges in Umbraco Commerce ---- -## ISupportRollbackChanges - -```csharp -public interface ISupportRollbackChanges -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### RollbackChanges - -```csharp -public void RollbackChanges() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportsavechanges.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportsavechanges.md deleted file mode 100644 index b21398a9fa2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/isupportsavechanges.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ISupportSaveChanges -description: API reference for ISupportSaveChanges in Umbraco Commerce ---- -## ISupportSaveChanges - -```csharp -public interface ISupportSaveChanges -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### SaveChanges - -```csharp -public void SaveChanges() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/itransactionapi.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/itransactionapi.md deleted file mode 100644 index 90386354f80..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/itransactionapi.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: ITransactionApi -description: API reference for ITransactionApi in Umbraco Commerce ---- -## ITransactionApi - -```csharp -public interface ITransactionApi : IDisposable, ISupportCommitChanges -``` - -**Inheritance** - -* interface [ISupportCommitChanges](isupportcommitchanges.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/itransactionapicontainer.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/itransactionapicontainer.md deleted file mode 100644 index d4f188585ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/itransactionapicontainer.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: ITransactionApiContainer -description: API reference for ITransactionApiContainer in Umbraco Commerce ---- -## ITransactionApiContainer - -```csharp -public interface ITransactionApiContainer -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### AddTransactionApi - -```csharp -public void AddTransactionApi(string key, ITransactionApi api) -``` - - ---- - -#### FindTransactionApi - -```csharp -public ITransactionApi FindTransactionApi(string key) -``` - - ---- - -#### GetOrAddTransactionApi - -```csharp -public ITransactionApi GetOrAddTransactionApi(string key, Func factory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofwork.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofwork.md deleted file mode 100644 index 4e2b58b9401..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofwork.md +++ /dev/null @@ -1,251 +0,0 @@ ---- -title: IUnitOfWork -description: API reference for IUnitOfWork in Umbraco Commerce ---- -## IUnitOfWork - -Defines a Unit of Work - -```csharp -public interface IUnitOfWork : IDatabaseApiContainer, IDisposable, IScopedFactoryAccessor, - ITransactionApiContainer -``` - -**Inheritance** - -* interface [IDatabaseApiContainer](idatabaseapicontainer.md) -* interface [IScopedFactoryAccessor](iscopedfactoryaccessor.md) -* interface [ITransactionApiContainer](itransactionapicontainer.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### Id - -A unique ID for this Unit of Work - -```csharp -public Guid Id { get; } -``` - - ---- - -#### IsCompleted - -Flag indicating whether this Unit of Work has completed - -```csharp -public bool IsCompleted { get; } -``` - - ---- - -#### IsDisposed - -Flag indicating whether this Unit of Work has been disposed - -```csharp -public bool IsDisposed { get; } -``` - - ---- - -#### Items - -A generic collection of items associated with this Unit of Work - -```csharp -public Dictionary Items { get; } -``` - - ---- - -#### Options - -The options for the unit of work - -```csharp -public IUnitOfWorkOptions Options { get; } -``` - - ---- - -#### Outer - -A reference to an outer Unit of Work if this Unit of Work was created within an already open Unit of Work - -```csharp -public IUnitOfWork Outer { get; } -``` - - -### Methods - -#### Complete - -Marks the completion of a successful Unit of Work - -```csharp -public void Complete() -``` - - ---- - -#### Enlist - -Enlist an item into this Unit of Work which will be notified of it's success or failure - -```csharp -public void Enlist(string key, IUnitOfWorkEnlistable enlistable) -``` - - ---- - -#### Enlist<T> - -Enlist an item into this Unit of Work which will be notified of it's success or failure - -```csharp -public void Enlist(string key) - where T : class, IUnitOfWorkEnlistable -``` - - ---- - -#### GetEnlisted - -Gets an enlisted item from the Unit of Work - -```csharp -public object GetEnlisted(string key) -``` - - ---- - -#### GetEnlisted<T> - -Gets an enlisted item from the Unit of Work - -```csharp -public T GetEnlisted(string key) - where T : class, IUnitOfWorkEnlistable -``` - - ---- - -#### OnCompleted - -Assign a callback function to run on Unit of Work completion - -```csharp -public void OnCompleted(Func handler) -``` - - ---- - -#### OnDisposed - -Assign a callback functio to run on Unit of Work disposal - -```csharp -public void OnDisposed(Func handler) -``` - - ---- - -#### OnFailed - -Assign a callback function to run on Unit of Work failure - -```csharp -public void OnFailed(Func handler) -``` - - ---- - -#### RollbackChanges - -Rolls back any unpersisted changes - -```csharp -public void RollbackChanges() -``` - - ---- - -#### SaveChanges - -Saves any active changes waiting to be persisted - -```csharp -public void SaveChanges() -``` - - ---- - -#### ScheduleNotification - -Schedules a Notification Event to be raised once the Unit of Work is complete - -```csharp -public void ScheduleNotification(INotificationEvent notificationEvent) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| notificationEvent | The Notification Event to raise | - - ---- - -#### ScheduleNotifications (1 of 2) - -Schedules a series of Notification Events to be raised once the Unit of Work is complete - -```csharp -public void ScheduleNotifications(params INotificationEvent[] notificationEvents) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| notificationEvents | The list of Notification Events to raise | - ---- - -#### ScheduleNotifications (2 of 2) - -Schedules a series of Notification Events to be raised once the Unit of Work is complete - -```csharp -public void ScheduleNotifications(IEnumerable notificationEvents) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| notificationEvents | The list of Notification Events to raise | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkaccessor.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkaccessor.md deleted file mode 100644 index 08c5431e30a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkaccessor.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IUnitOfWorkAccessor -description: API reference for IUnitOfWorkAccessor in Umbraco Commerce ---- -## IUnitOfWorkAccessor - -```csharp -public interface IUnitOfWorkAccessor -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### UnitOfWork - -```csharp -public IUnitOfWork UnitOfWork { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkenlistable.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkenlistable.md deleted file mode 100644 index d21daa18f08..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkenlistable.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IUnitOfWorkEnlistable -description: API reference for IUnitOfWorkEnlistable in Umbraco Commerce ---- -## IUnitOfWorkEnlistable - -```csharp -public interface IUnitOfWorkEnlistable : IDisposable -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Methods - -#### OnComplete - -```csharp -public void OnComplete() -``` - - ---- - -#### OnFailed - -```csharp -public void OnFailed() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkexecutionstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkexecutionstrategy.md deleted file mode 100644 index c55c7dc4cd2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkexecutionstrategy.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: IUnitOfWorkExecutionStrategy -description: API reference for IUnitOfWorkExecutionStrategy in Umbraco Commerce ---- -## IUnitOfWorkExecutionStrategy - -```csharp -public interface IUnitOfWorkExecutionStrategy : IExecutionStrategy -``` - -**Inheritance** - -* interface [IExecutionStrategy](../umbraco-commerce-common-resiliency/iexecutionstrategy.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkoptions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkoptions.md deleted file mode 100644 index ac69d29ad95..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkoptions.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: IUnitOfWorkOptions -description: API reference for IUnitOfWorkOptions in Umbraco Commerce ---- -## IUnitOfWorkOptions - -```csharp -public interface IUnitOfWorkOptions -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### AutoComplete - -```csharp -public bool? AutoComplete { get; } -``` - - ---- - -#### IsolationLevel - -```csharp -public IsolationLevel? IsolationLevel { get; } -``` - - ---- - -#### Timeout - -Milliseconds - -```csharp -public int? Timeout { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkprovider.md deleted file mode 100644 index f6f7497626a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/iunitofworkprovider.md +++ /dev/null @@ -1,308 +0,0 @@ ---- -title: IUnitOfWorkProvider -description: API reference for IUnitOfWorkProvider in Umbraco Commerce ---- -## IUnitOfWorkProvider - -Defines a Provider that can create a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public interface IUnitOfWorkProvider -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Properties - -#### Current - -Gets the current ambient Unit of Work - -```csharp -public IUnitOfWork Current { get; } -``` - - -### Methods - -#### Create - -Creates a new [`IUnitOfWork`](iunitofwork.md) instance - -```csharp -public IUnitOfWork Create() -``` - -**Returns** - -The newly created [`IUnitOfWork`](iunitofwork.md) instance - - ---- - -#### Create (1 of 2) - -Creates a new [`IUnitOfWork`](iunitofwork.md) instance - -```csharp -public IUnitOfWork Create(bool autoComplete) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| autoComplete | Boolean flag defining whether to auto complete the unit of work | - -**Returns** - -The newly created [`IUnitOfWork`](iunitofwork.md) instance - ---- - -#### Create (2 of 2) - -Creates a new [`IUnitOfWork`](iunitofwork.md) instance - -```csharp -public IUnitOfWork Create(IUnitOfWorkOptions options) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| options | Options for the Unit of Work | - -**Returns** - -The newly created [`IUnitOfWork`](iunitofwork.md) instance - - ---- - -#### Execute (1 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public void Execute(Action action) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| action | The action to execute | - ---- - -#### Execute (2 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public void Execute(bool autoComplete, Action action) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| autoComplete | Boolean flag defining whether to auto complete the unit of work | -| action | The action to execute | - ---- - -#### Execute (3 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public void Execute(IUnitOfWorkOptions options, Action action) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| options | Options for the Unit of Work | -| action | The action to execute | - - ---- - -#### Execute<T> (1 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) returning the given typed result - -```csharp -public T Execute(Func action) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The result type | -| action | The action to execute | - ---- - -#### Execute<T> (2 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) returning the given typed result - -```csharp -public T Execute(bool autoComplete, Func action) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The result type | -| autoComplete | Boolean flag defining whether to auto complete the unit of work | -| action | The action to execute | - ---- - -#### Execute<T> (3 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) returning the given typed result - -```csharp -public T Execute(IUnitOfWorkOptions options, Func action) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The result type | -| options | Options for the Unit of Work | -| action | The action to execute | - - ---- - -#### ExecuteAsync (1 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public Task ExecuteAsync(Func action, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| action | The action to execute | -| cancellationToken | Async task cancellation token | - ---- - -#### ExecuteAsync (2 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public Task ExecuteAsync(bool autoComplete, Func action, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| autoComplete | Boolean flag defining whether to auto complete the unit of work | -| action | The action to execute | -| cancellationToken | Async task cancellation token | - ---- - -#### ExecuteAsync (3 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) - -```csharp -public Task ExecuteAsync(IUnitOfWorkOptions options, - Func action, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| options | Options for the Unit of Work | -| action | The action to execute | -| cancellationToken | Async task cancellation token | - - ---- - -#### ExecuteAsync<T> (1 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) returning the given typed result - -```csharp -public Task ExecuteAsync(Func> action, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The result type | -| action | The action to execute | -| cancellationToken | Async task cancellation token | - ---- - -#### ExecuteAsync<T> (2 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) returning the given typed result - -```csharp -public Task ExecuteAsync(bool autoComplete, - Func> action, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The result type | -| autoComplete | Boolean flag defining whether to auto complete the unit of work | -| action | The action to execute | -| cancellationToken | Async task cancellation token | - ---- - -#### ExecuteAsync<T> (3 of 3) - -Executes the given action within a [`IUnitOfWork`](iunitofwork.md) returning the given typed result - -```csharp -public Task ExecuteAsync(IUnitOfWorkOptions options, - Func> action, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The result type | -| options | Options for the Unit of Work | -| action | The action to execute | -| cancellationToken | Async task cancellation token | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/noretryunitofworkexecutionstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/noretryunitofworkexecutionstrategy.md deleted file mode 100644 index 685f1a1e5c2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/noretryunitofworkexecutionstrategy.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: NoRetryUnitOfWorkExecutionStrategy -description: API reference for NoRetryUnitOfWorkExecutionStrategy in Umbraco Commerce ---- -## NoRetryUnitOfWorkExecutionStrategy - -```csharp -public class NoRetryUnitOfWorkExecutionStrategy : NoRetryExecutionStrategy, - IUnitOfWorkExecutionStrategy -``` - -**Inheritance** - -* Class [NoRetryExecutionStrategy](../umbraco-commerce-common-resiliency/noretryexecutionstrategy.md) -* interface [IUnitOfWorkExecutionStrategy](iunitofworkexecutionstrategy.md) - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -### Constructors - -#### NoRetryUnitOfWorkExecutionStrategy - -The default constructor. - -```csharp -public NoRetryUnitOfWorkExecutionStrategy() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/unitofworktransactionbehavior.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/unitofworktransactionbehavior.md deleted file mode 100644 index fbfb5fbb1aa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-common/unitofworktransactionbehavior.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: UnitOfWorkTransactionBehavior -description: API reference for UnitOfWorkTransactionBehavior in Umbraco Commerce ---- -## UnitOfWorkTransactionBehavior - -```csharp -public enum UnitOfWorkTransactionBehavior -``` - -**Namespace** -* [Umbraco.Commerce.Common](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Auto | `0` | | -| Enabled | `1` | | -| Disabled | `2` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/README.md deleted file mode 100644 index 8317d3df009..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [AssertionExtensions](assertionextensions.md) | Extension methods for performing assertions | -| static class [DecimalExtensions](decimalextensions.md) | | -| static class [DictionaryExtensions](dictionaryextensions.md) | Dictionary extension methods | -| static class [EnumerableExtensions](enumerableextensions.md) | Extensions for enumerable sources | -| static class [EnumExtensions](enumextensions.md) | | -| static class [ObjectExtensions](objectextensions.md) | Object extension methods | -| static class [SpecificationExtensions](specificationextensions.md) | | -| static class [StringExtensions](stringextensions.md) | String extension methods | -| static class [TypeExtensions](typeextensions.md) | Type extension methods | -| static class [UnitOfWorkExtensions](unitofworkextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/assertionextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/assertionextensions.md deleted file mode 100644 index 95b0c87134c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/assertionextensions.md +++ /dev/null @@ -1,142 +0,0 @@ ---- -title: AssertionExtensions -description: API reference for AssertionExtensions in Umbraco Commerce ---- -## AssertionExtensions - -Extension methods for performing assertions - -```csharp -public static class AssertionExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### MustContainKey - -Asserts that a key must be present in a dictionary, and that it's value must not be null or empty - -```csharp -public static void MustContainKey(this IDictionary dictionary, string key, - string paramName) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| dictionary | The dictionary to check | -| key | The key to look for | -| paramName | A friendly parameter name to display in the assertion exception if the assertion fails | - -**Exceptions** - -| Exception | Condition | -| --- | --- | -| ArgumentException | Thrown if the given key is not present in the dictionary, or if it's value is null or empty | - - ---- - -#### MustEqual<T> - -Asserts that a parameter is equal to another value - -```csharp -public static void MustEqual(this T param, T compareTo, string paramName) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The Type of the parameter | -| param | The parameter to check | -| compareTo | The parameter to compare to | -| paramName | A friendly parameter name to display in the assertion exception if the assertion fails | - -**Exceptions** - -| Exception | Condition | -| --- | --- | -| ArgumentNullException | Thrown if the given parameter is null | - - ---- - -#### MustNotBeNull<T> - -Asserts that a parameter must not be null - -```csharp -public static void MustNotBeNull(this T param, string paramName) - where T : class -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The Type of the parameter | -| param | The parameter to check | -| paramName | A friendly parameter name to display in the assertion exception if the assertion fails | - -**Exceptions** - -| Exception | Condition | -| --- | --- | -| ArgumentNullException | Thrown if the given parameter is null | - - ---- - -#### MustNotBeNullOrEmpty - -Asserts that a parameter must not be null or empty - -```csharp -public static void MustNotBeNullOrEmpty(this string param, string paramName) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| param | The parameter to check | -| paramName | A friendly parameter name to display in the assertion exception if the assertion fails | - -**Exceptions** - -| Exception | Condition | -| --- | --- | -| ArgumentException | Thrown if the given parameter is null or empty | - - ---- - -#### MustNotBeNullOrWhiteSpace - -Asserts that a parameter must not be null or white space - -```csharp -public static void MustNotBeNullOrWhiteSpace(this string param, string paramName) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| param | The parameter to check | -| paramName | A friendly parameter name to display in the assertion exception if the assertion fails | - -**Exceptions** - -| Exception | Condition | -| --- | --- | -| ArgumentException | Thrown if the given parameter is null or white space | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/decimalextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/decimalextensions.md deleted file mode 100644 index aa6eeda3e26..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/decimalextensions.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: DecimalExtensions -description: API reference for DecimalExtensions in Umbraco Commerce ---- -## DecimalExtensions - -```csharp -public static class DecimalExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### ToMajorUnits (1 of 2) - -```csharp -public static decimal ToMajorUnits(this int minorUnits, int minorUnitsPerMajorUnit = 100) -``` - ---- - -#### ToMajorUnits (2 of 2) - -```csharp -public static decimal ToMajorUnits(this long minorUnits, int minorUnitsPerMajorUnit = 100) -``` - - ---- - -#### ToMinorUnits - -```csharp -public static long ToMinorUnits(this decimal amount, int minorUnitsPerMajorUnit = 100) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/dictionaryextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/dictionaryextensions.md deleted file mode 100644 index 62d0500f948..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/dictionaryextensions.md +++ /dev/null @@ -1,184 +0,0 @@ ---- -title: DictionaryExtensions -description: API reference for DictionaryExtensions in Umbraco Commerce ---- -## DictionaryExtensions - -Dictionary extension methods - -```csharp -public static class DictionaryExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### GetTypedValueAs<T> - -Get the value of dictionary cast to a given Type - -```csharp -public static T GetTypedValueAs(this IDictionary dict, string key) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The Type to cast the Value to | -| dict | The dictionary to retrieve the Value from | -| key | The Key of the Value to retrieve | - -**Returns** - -The cast dictionary Value, or default(T) if the Value is not present or cannot be cast to the given type - - ---- - -#### ToKeyedCollection<TSource,TValue> - -```csharp -public static KeyedCollection ToKeyedCollection( - this IEnumerable source, Func keySelector, - Func elementSelector) - where TValue : class -``` - - ---- - -#### ToNullSafeDictionary<TKey,TValue> (1 of 2) - -Converts a dictionary into a null safe dictionary that won't error if attempting to access a key that isn't present - -```csharp -public static NullSafeDictionary ToNullSafeDictionary( - this IDictionary source) - where TValue : class -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TKey | The Type of the dictionary key | -| TValue | The Type of the dictionary value | -| source | The source dictionary to convert | - -**Returns** - -A null safe version of the input dictionary - ---- - -#### ToNullSafeDictionary<TKey,TValue> (2 of 2) - -Converts a dictionary into a null safe dictionary that won't error if attempting to access a key that isn't present - -```csharp -public static NullSafeDictionary ToNullSafeDictionary( - this IDictionary source, IEqualityComparer keyComparer) - where TValue : class -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TKey | The Type of the dictionary key | -| TValue | The Type of the dictionary value | -| source | The source dictionary to convert | -| keyComparer | The IEqualityComparer implementation to use when comparing keys | - -**Returns** - -A null safe version of the input dictionary - - ---- - -#### ToNullSafeDictionary<TSource,TKey,TValue> (1 of 2) - -Converts a list of items into a null safe dictionary that won't error if attempting to access a key that isn't present - -```csharp -public static NullSafeDictionary ToNullSafeDictionary( - this IEnumerable source, Func keySelector, - Func elementSelector) - where TValue : class -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TSource | The Type of the source element | -| TKey | The Type of the dictionary key | -| TValue | The Type of the dictionary value | -| source | The source list of elements to convert | -| keySelector | A delegate function to access the Key from the source element | -| elementSelector | A delegate function to access the Value from the source element | - -**Returns** - -A null safe version of the input dictionary - ---- - -#### ToNullSafeDictionary<TSource,TKey,TValue> (2 of 2) - -Converts a list of items into a null safe dictionary that won't error if attempting to access a key that isn't present - -```csharp -public static NullSafeDictionary ToNullSafeDictionary( - this IEnumerable source, Func keySelector, - Func elementSelector, IEqualityComparer keyComparer) - where TValue : class -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TSource | The Type of the source element | -| TKey | The Type of the dictionary key | -| TValue | The Type of the dictionary value | -| source | The source list of elements to convert | -| keySelector | A delegate function to access the Key from the source element | -| elementSelector | A delegate function to access the Value from the source element | -| keyComparer | The IEqualityComparer implementation to use when comparing keys | - -**Returns** - -A null safe version of the input dictionary - - ---- - -#### TryGetTypedValue<T> - -Try to get the value of dictionary cast to a given Type - -```csharp -public static bool TryGetTypedValue(this IDictionary dict, string key, - out T result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The Type to cast the Value to | -| dict | The dictionary to retrieve the Value from | -| key | The Key of the Value to retrieve | -| result | The cast dictionary Value, or default(T) if the Value is not present or cannot be cast to the given type | - -**Returns** - -Boolean indicating whether the operation was successful or not - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/enumerableextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/enumerableextensions.md deleted file mode 100644 index bbcd1f695a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/enumerableextensions.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: EnumerableExtensions -description: API reference for EnumerableExtensions in Umbraco Commerce ---- -## EnumerableExtensions - -Extensions for enumerable sources - -```csharp -public static class EnumerableExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Diff<T> (1 of 2) - -```csharp -public static EnumerableDiff Diff(this IEnumerable current, IEnumerable previous) -``` - ---- - -#### Diff<T> (2 of 2) - -```csharp -public static EnumerableDiff Diff(this IEnumerable current, IEnumerable previous, - Func idAccessor, bool deep = false) -``` - - ---- - -#### Diff<TKey,TValue> - -```csharp -public static DictionaryDiff Diff( - this IDictionary current, IDictionary previous, bool deep = false) -``` - - ---- - -#### Extract<T> - -```csharp -public static T Extract(this List list, Predicate match) -``` - - ---- - -#### TakeOr<T> - -```csharp -public static IEnumerable TakeOr(this IEnumerable items, int maxItems, - Func orPredicate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/enumextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/enumextensions.md deleted file mode 100644 index 6081b97b521..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/enumextensions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: EnumExtensions -description: API reference for EnumExtensions in Umbraco Commerce ---- -## EnumExtensions - -```csharp -public static class EnumExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### GetDescription - -```csharp -public static string GetDescription(this Enum inputEnum) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/objectextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/objectextensions.md deleted file mode 100644 index 3812a65867b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/objectextensions.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: ObjectExtensions -description: API reference for ObjectExtensions in Umbraco Commerce ---- -## ObjectExtensions - -Object extension methods - -```csharp -public static class ObjectExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### ComparesTo<T> - -Compares a source object against a given value using the supplied comparison operator - -```csharp -public static bool ComparesTo(this T source, T value, ComparisonOperator comparisonOperator) - where T : IComparable -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The Type of the source / value objects | -| source | The Source object to compare | -| value | The Value to compare against | -| comparisonOperator | The comparison operator to use for the comparison | - -**Returns** - -Boolean indicating whether the comparison was successful or not - - ---- - -#### IsObsolete - -Determines if the given object is decorated as being obsolete - -```csharp -public static bool IsObsolete(this object obj) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| obj | The object to check | - -**Returns** - -True if the type is obsolete, otherwise False - - ---- - -#### ToDictionary - -Converts a generic object into a dictionary, converting the object properties into key value pairs - -```csharp -public static IDictionary ToDictionary(this object data, - bool honorSerializationAttributes = false) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| data | The object to convert | -| honorSerializationAttributes | True to honor DataMember/JsonProperty attributes for property names | - -**Returns** - -The converted dictionary - - ---- - -#### ToDictionary<TVal> - -Turns object into dictionary - -```csharp -public static IDictionary ToDictionary(this object o, - params string[] ignoreProperties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| o | | -| ignoreProperties | Properties to ignore | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/specificationextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/specificationextensions.md deleted file mode 100644 index a889f99395b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/specificationextensions.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: SpecificationExtensions -description: API reference for SpecificationExtensions in Umbraco Commerce ---- -## SpecificationExtensions - -```csharp -public static class SpecificationExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### And<T> - -```csharp -public static IQuerySpecification And(this IQuerySpecification left, - IQuerySpecification right) -``` - - ---- - -#### AndNot<T> - -```csharp -public static IQuerySpecification AndNot(this IQuerySpecification left, - IQuerySpecification right) -``` - - ---- - -#### Not<T> - -```csharp -public static NotSpecification Not(this IQuerySpecification specification) -``` - - ---- - -#### Or<T> - -```csharp -public static OrSpecification Or(this IQuerySpecification left, - IQuerySpecification right) -``` - - ---- - -#### OrNot<T> - -```csharp -public static OrSpecification OrNot(this IQuerySpecification left, - IQuerySpecification right) -``` - - ---- - -#### Then<T> - -```csharp -public static ThenSpecification Then(this ISortSpecification left, - ISortSpecification right) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/stringextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/stringextensions.md deleted file mode 100644 index 099e9335f8e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/stringextensions.md +++ /dev/null @@ -1,323 +0,0 @@ ---- -title: StringExtensions -description: API reference for StringExtensions in Umbraco Commerce ---- -## StringExtensions - -String extension methods - -```csharp -public static class StringExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Base64Decode - -```csharp -public static string Base64Decode(this string base64EncodedData) -``` - - ---- - -#### Base64Encode - -```csharp -public static string Base64Encode(this string plainText) -``` - - ---- - -#### EnumParse<T> - -Parse string to Enum - -```csharp -public static T EnumParse(this string strType, bool ignoreCase) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The enum type | -| strType | The string to parse | -| ignoreCase | The ignore case | - -**Returns** - -The parsed enum - - ---- - -#### EnumTryParse<T> - -enum try parse. - -```csharp -public static bool EnumTryParse(this string strType, bool ignoreCase, out T result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The type | -| strType | The str type. | -| ignoreCase | The ignore case. | -| result | The result. | - -**Returns** - -The enum try parse. - - ---- - -#### HMACSHA1Hash - -```csharp -public static string HMACSHA1Hash(this string input, string key) -``` - - ---- - -#### HMACSHA256Hash - -```csharp -public static string HMACSHA256Hash(this string input, string key) -``` - - ---- - -#### InvariantContains (1 of 2) - -```csharp -public static bool InvariantContains(this string compare, string compareTo) -``` - ---- - -#### InvariantContains (2 of 2) - -```csharp -public static bool InvariantContains(this IEnumerable compare, string compareTo) -``` - - ---- - -#### InvariantEndsWith - -```csharp -public static bool InvariantEndsWith(this string compare, string compareTo) -``` - - ---- - -#### InvariantStartsWith - -```csharp -public static bool InvariantStartsWith(this string compare, string compareTo) -``` - - ---- - -#### IsComplexJson - -Tries to figure out if the input string is a serialized JSON object/array - -```csharp -public static bool IsComplexJson(this string input) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The input string | - -**Returns** - -A true if string is serialized JSON, otherwise false - - ---- - -#### IsJson - -Tries to figure out if the input string is a serialized JSON value - -```csharp -public static bool IsJson(this string input) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The input string | - -**Returns** - -A true if string is serialized JSON, otherwise false - - ---- - -#### MD5Hash - -```csharp -public static string MD5Hash(this string input) -``` - - ---- - -#### ParseDecimal - -Parse a string input into a decimal number - -```csharp -public static decimal? ParseDecimal(this string input) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The input string | - -**Returns** - -The decimal value - - ---- - -#### ReplaceEnd - -Replaces an original string from the end of an input string with the given replacement - -```csharp -public static string ReplaceEnd(this string input, string original, string replacement) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| input | The input string | -| original | The original string to look for | -| replacement | The string to replace the original string with | - -**Returns** - -The updated string - - ---- - -#### SHA1Hash - -```csharp -public static string SHA1Hash(this string input) -``` - - ---- - -#### SHA256Hash - -```csharp -public static string SHA256Hash(this string input) -``` - - ---- - -#### SHA384Hash - -```csharp -public static string SHA384Hash(this string input) -``` - - ---- - -#### SHA512Hash - -```csharp -public static string SHA512Hash(this string input) -``` - - ---- - -#### ToInvariantString (1 of 2) - -```csharp -public static string ToInvariantString(this int str) -``` - ---- - -#### ToInvariantString (2 of 2) - -```csharp -public static string ToInvariantString(this long str) -``` - - ---- - -#### TryParse<T> - -Tries to parse a string into a strongly typed value - -```csharp -public static T? TryParse(this string input) - where T : struct -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The output type | -| input | The input string | - -**Returns** - -A nullable output type - - ---- - -#### UrlSafeBase64Decode - -```csharp -public static string UrlSafeBase64Decode(this string base64EncodedData) -``` - - ---- - -#### UrlSafeBase64Encode - -```csharp -public static string UrlSafeBase64Encode(this string plainText) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/typeextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/typeextensions.md deleted file mode 100644 index 887d1616c3e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/typeextensions.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: TypeExtensions -description: API reference for TypeExtensions in Umbraco Commerce ---- -## TypeExtensions - -Type extension methods - -```csharp -public static class TypeExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### IsObsolete - -Determines if the given type is decorated as being obsolete - -```csharp -public static bool IsObsolete(this Type type) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| type | The Type to check | - -**Returns** - -True if the type is obsolete, otherwise False - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/unitofworkextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/unitofworkextensions.md deleted file mode 100644 index ade4b443044..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-common/umbraco-commerce-extensions/unitofworkextensions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: UnitOfWorkExtensions -description: API reference for UnitOfWorkExtensions in Umbraco Commerce ---- -## UnitOfWorkExtensions - -```csharp -public static class UnitOfWorkExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Complete<T> - -```csharp -public static T Complete(this IUnitOfWork uow, T result) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/README.md deleted file mode 100644 index e32a749d515..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/README.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: Umbraco.Commerce.Core -description: API reference for Umbraco.Commerce.Core in Umbraco Commerce ---- -## Umbraco.Commerce.Core assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Core](umbraco-commerce-core/README.md) | -| [Umbraco.Commerce.Core.Adapters](umbraco-commerce-core-adapters/README.md) | -| [Umbraco.Commerce.Core.Adjusters](umbraco-commerce-core-adjusters/README.md) | -| [Umbraco.Commerce.Core.Api](umbraco-commerce-core-api/README.md) | -| [Umbraco.Commerce.Core.Attributes](umbraco-commerce-core-attributes/README.md) | -| [Umbraco.Commerce.Core.Cache](umbraco-commerce-core-cache/README.md) | -| [Umbraco.Commerce.Core.Calculators](umbraco-commerce-core-calculators/README.md) | -| [Umbraco.Commerce.Core.Composing](umbraco-commerce-core-composing/README.md) | -| [Umbraco.Commerce.Core.Configuration](umbraco-commerce-core-configuration/README.md) | -| [Umbraco.Commerce.Core.Configuration.Models](umbraco-commerce-core-configuration-models/README.md) | -| [Umbraco.Commerce.Core.Data](umbraco-commerce-core-data/README.md) | -| [Umbraco.Commerce.Core.Discounts](umbraco-commerce-core-discounts/README.md) | -| [Umbraco.Commerce.Core.Discounts.Rewards](umbraco-commerce-core-discounts-rewards/README.md) | -| [Umbraco.Commerce.Core.Discounts.Rules](umbraco-commerce-core-discounts-rules/README.md) | -| [Umbraco.Commerce.Core.Events](umbraco-commerce-core-events/README.md) | -| [Umbraco.Commerce.Core.Events.Notification](umbraco-commerce-core-events-notification/README.md) | -| [Umbraco.Commerce.Core.Events.Notification.Handlers.Order](umbraco-commerce-core-events-notification-handlers-order/README.md) | -| [Umbraco.Commerce.Core.Events.Validation](umbraco-commerce-core-events-validation/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](umbraco-commerce-core-events-validation-handlers-country/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](umbraco-commerce-core-events-validation-handlers-currency/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.Discount](umbraco-commerce-core-events-validation-handlers-discount/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.EmailTemplate](umbraco-commerce-core-events-validation-handlers-emailtemplate/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.ExportTemplate](umbraco-commerce-core-events-validation-handlers-exporttemplate/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.GiftCard](umbraco-commerce-core-events-validation-handlers-giftcard/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](umbraco-commerce-core-events-validation-handlers-order/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.OrderStatus](umbraco-commerce-core-events-validation-handlers-orderstatus/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod](umbraco-commerce-core-events-validation-handlers-paymentmethod/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.PrintTemplate](umbraco-commerce-core-events-validation-handlers-printtemplate/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.ProductAttribute](umbraco-commerce-core-events-validation-handlers-productattribute/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.Region](umbraco-commerce-core-events-validation-handlers-region/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod](umbraco-commerce-core-events-validation-handlers-shippingmethod/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.Store](umbraco-commerce-core-events-validation-handlers-store/README.md) | -| [Umbraco.Commerce.Core.Events.Validation.Handlers.TaxClass](umbraco-commerce-core-events-validation-handlers-taxclass/README.md) | -| [Umbraco.Commerce.Core.Finders](umbraco-commerce-core-finders/README.md) | -| [Umbraco.Commerce.Core.Generators](umbraco-commerce-core-generators/README.md) | -| [Umbraco.Commerce.Core.Json](umbraco-commerce-core-json/README.md) | -| [Umbraco.Commerce.Core.Mail](umbraco-commerce-core-mail/README.md) | -| [Umbraco.Commerce.Core.Models](umbraco-commerce-core-models/README.md) | -| [Umbraco.Commerce.Core.Models.Reporting](umbraco-commerce-core-models-reporting/README.md) | -| [Umbraco.Commerce.Core.PaymentProviders](umbraco-commerce-core-paymentproviders/README.md) | -| [Umbraco.Commerce.Core.Pipelines.Email](umbraco-commerce-core-pipelines-email/README.md) | -| [Umbraco.Commerce.Core.Pipelines.Email.Tasks](umbraco-commerce-core-pipelines-email-tasks/README.md) | -| [Umbraco.Commerce.Core.Pipelines.Order](umbraco-commerce-core-pipelines-order/README.md) | -| [Umbraco.Commerce.Core.Pipelines.Order.Tasks](umbraco-commerce-core-pipelines-order-tasks/README.md) | -| [Umbraco.Commerce.Core.Pipelines.OrderLine](umbraco-commerce-core-pipelines-orderline/README.md) | -| [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](umbraco-commerce-core-pipelines-orderline-tasks/README.md) | -| [Umbraco.Commerce.Core.Pipelines.Store](umbraco-commerce-core-pipelines-store/README.md) | -| [Umbraco.Commerce.Core.Pipelines.Store.Tasks](umbraco-commerce-core-pipelines-store-tasks/README.md) | -| [Umbraco.Commerce.Core.Providers](umbraco-commerce-core-providers/README.md) | -| [Umbraco.Commerce.Core.Security](umbraco-commerce-core-security/README.md) | -| [Umbraco.Commerce.Core.Services](umbraco-commerce-core-services/README.md) | -| [Umbraco.Commerce.Core.Session](umbraco-commerce-core-session/README.md) | -| [Umbraco.Commerce.Core.Specifications.GiftCard](umbraco-commerce-core-specifications-giftcard/README.md) | -| [Umbraco.Commerce.Core.Specifications.Order](umbraco-commerce-core-specifications-order/README.md) | -| [Umbraco.Commerce.Core.Tax](umbraco-commerce-core-tax/README.md) | -| [Umbraco.Commerce.Core.Templating](umbraco-commerce-core-templating/README.md) | -| [Umbraco.Commerce.Core.ViewEngines](umbraco-commerce-core-viewengines/README.md) | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/README.md deleted file mode 100644 index 8cf66c9707a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Adapters -description: API reference for Umbraco.Commerce.Core.Adapters in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Adapters namespace - -| Public Type | Description | -| --- | --- | -| interface [IProductAdapter](iproductadapter.md) | | -| abstract class [ProductAdapterBase](productadapterbase.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/iproductadapter.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/iproductadapter.md deleted file mode 100644 index a10b6e47635..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/iproductadapter.md +++ /dev/null @@ -1,151 +0,0 @@ ---- -title: IProductAdapter -description: API reference for IProductAdapter in Umbraco Commerce ---- -## IProductAdapter - -```csharp -public interface IProductAdapter -``` - -**Namespace** -* [Umbraco.Commerce.Core.Adapters](README.md) - -### Methods - -#### GetProductSnapshot (1 of 2) - -Get a product snapshot for the supplied product reference in the given culture. - -```csharp -public IProductSnapshot GetProductSnapshot(Guid storeId, string productReference, - string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store this product belongs to | -| productReference | The product reference of the product | -| languageIsoCode | The language ISO code of the culture | - ---- - -#### GetProductSnapshot (2 of 2) - -Get a product snapshot for the supplied product reference in the given culture. - -```csharp -public IProductSnapshot GetProductSnapshot(Guid storeId, string productReference, - string productVariantReference, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store this product belongs to | -| productReference | The product reference of the product | -| productVariantReference | The product variant reference of the product | -| languageIsoCode | The language ISO code of the culture | - - ---- - -#### GetProductVariantAttributes - -Gets a list of attributes in use by the product variants of the given primary product. - -```csharp -public IEnumerable GetProductVariantAttributes(Guid storeId, string productReference, - string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store this product belongs to | -| productReference | The product reference of the product | -| languageIsoCode | The language ISO code of the culture | - - ---- - -#### SearchProductSummaries - -Searches for product summaries matching the given search term. - -```csharp -public PagedResult SearchProductSummaries(Guid storeId, string languageIsoCode, - string searchTerm, long currentPage = 1, long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The id of the store to search in | -| languageIsoCode | The language ISO code of the culture | -| searchTerm | The term to search for | -| currentPage | The current page of items to return | -| itemsPerPage | The number of items per page to return | - -**Returns** - -A paged collection of product summaries - - ---- - -#### SearchProductVariantSummaries - -Searches for the product variant summaries of a primary product matching the given search term / attributes. - -```csharp -public PagedResult SearchProductVariantSummaries(Guid storeId, - string productReference, string languageIsoCode, string searchTerm, - IDictionary> attributes, long currentPage = 1, - long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store this product belongs to | -| productReference | The product reference of the product | -| languageIsoCode | The language ISO code of the culture | -| searchTerm | The term to search for | -| attributes | The attributes of the product variant | -| currentPage | The current page of items to return | -| itemsPerPage | The number of items per page to return | - - ---- - -#### TryGetProductReference - -Try and get the product reference for the given SKU in the given store. - -```csharp -public bool TryGetProductReference(Guid storeId, string sku, out string productReference, - out string productVariantReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The id of the store to search in | -| sku | The SKU of the product to search for | -| productReference | The product reference of the found product, or null | -| productVariantReference | The product variant reference of the found product, or null | - -**Returns** - -Boolean indicating whether a product reference was found for the given SKU - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/productadapterbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/productadapterbase.md deleted file mode 100644 index bde2e722f06..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adapters/productadapterbase.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: ProductAdapterBase -description: API reference for ProductAdapterBase in Umbraco Commerce ---- -## ProductAdapterBase - -```csharp -public abstract class ProductAdapterBase : IProductAdapter -``` - -**Inheritance** - -* interface [IProductAdapter](iproductadapter.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adapters](README.md) - -### Methods - -#### GetProductSnapshot - -```csharp -public virtual IProductSnapshot GetProductSnapshot(Guid storeId, string productReference, - string languageIsoCode) -``` - - ---- - -#### GetProductSnapshot - -```csharp -public abstract IProductSnapshot GetProductSnapshot(Guid storeId, string productReference, - string productVariantReference, string languageIsoCode) -``` - - ---- - -#### GetProductVariantAttributes - -```csharp -public virtual IEnumerable GetProductVariantAttributes(Guid storeId, - string productReference, string languageIsoCode) -``` - - ---- - -#### SearchProductSummaries - -```csharp -public virtual PagedResult SearchProductSummaries(Guid storeId, - string languageIsoCode, string searchTerm, long currentPage = 1, long itemsPerPage = 50) -``` - - ---- - -#### SearchProductVariantSummaries - -```csharp -public virtual PagedResult SearchProductVariantSummaries(Guid storeId, - string productReference, string languageIsoCode, string searchTerm, - IDictionary> attributes, long currentPage = 1, - long itemsPerPage = 50) -``` - - ---- - -#### TryGetProductReference - -```csharp -public abstract bool TryGetProductReference(Guid storeId, string sku, out string productReference, - out string productVariantReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/README.md deleted file mode 100644 index c81e083c54d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/README.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Adjusters -description: API reference for Umbraco.Commerce.Core.Adjusters in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Adjusters namespace - -| Public Type | Description | -| --- | --- | -| abstract class [AdjusterArgsBase](adjusterargsbase.md) | | -| class [AmountAdjusterArgs](amountadjusterargs.md) | | -| abstract class [AmountAdjusterBase](amountadjusterbase.md) | | -| class [AmountAdjusterCollection](amountadjustercollection.md) | | -| class [DiscountsPriceAdjuster](discountspriceadjuster.md) | | -| class [GiftCardsAmountAdjuster](giftcardsamountadjuster.md) | | -| interface [IAmountAdjuster](iamountadjuster.md) | | -| interface [IPriceAdjuster](ipriceadjuster.md) | | -| class [OrderLinePriceAdjustments](orderlinepriceadjustments.md) | | -| class [PriceAdjusterArgs](priceadjusterargs.md) | | -| abstract class [PriceAdjusterBase](priceadjusterbase.md) | | -| class [PriceAdjusterCollection](priceadjustercollection.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/adjusterargsbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/adjusterargsbase.md deleted file mode 100644 index 60d72de19d2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/adjusterargsbase.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: AdjusterArgsBase -description: API reference for AdjusterArgsBase in Umbraco Commerce ---- -## AdjusterArgsBase - -```csharp -public abstract class AdjusterArgsBase -``` - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Properties - -#### Calculation - -```csharp -public virtual OrderCalculation Calculation { get; } -``` - - ---- - -#### Order - -```csharp -public virtual OrderReadOnly Order { get; } -``` - - ---- - -#### RecalculateAdjustedPrices - -```csharp -public virtual Action RecalculateAdjustedPrices { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjusterargs.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjusterargs.md deleted file mode 100644 index df2f94fab06..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjusterargs.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: AmountAdjusterArgs -description: API reference for AmountAdjusterArgs in Umbraco Commerce ---- -## AmountAdjusterArgs - -```csharp -public class AmountAdjusterArgs : AdjusterArgsBase -``` - -**Inheritance** - -* Class [AdjusterArgsBase](adjusterargsbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Properties - -#### TransactionAmountAdjustments - -```csharp -public List TransactionAmountAdjustments { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjusterbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjusterbase.md deleted file mode 100644 index a84582d016b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjusterbase.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: AmountAdjusterBase -description: API reference for AmountAdjusterBase in Umbraco Commerce ---- -## AmountAdjusterBase - -```csharp -public abstract class AmountAdjusterBase : IAmountAdjuster -``` - -**Inheritance** - -* interface [IAmountAdjuster](iamountadjuster.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Methods - -#### ApplyAmountAdjustments - -```csharp -public abstract void ApplyAmountAdjustments(AmountAdjusterArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjustercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjustercollection.md deleted file mode 100644 index 8ad0842a1ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/amountadjustercollection.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: AmountAdjusterCollection -description: API reference for AmountAdjusterCollection in Umbraco Commerce ---- -## AmountAdjusterCollection - -```csharp -public class AmountAdjusterCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Constructors - -#### AmountAdjusterCollection - -```csharp -public AmountAdjusterCollection(Func> itemsFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/discountspriceadjuster.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/discountspriceadjuster.md deleted file mode 100644 index 95b093a2588..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/discountspriceadjuster.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DiscountsPriceAdjuster -description: API reference for DiscountsPriceAdjuster in Umbraco Commerce ---- -## DiscountsPriceAdjuster - -```csharp -public class DiscountsPriceAdjuster : PriceAdjusterBase -``` - -**Inheritance** - -* Class [PriceAdjusterBase](priceadjusterbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Constructors - -#### DiscountsPriceAdjuster - -```csharp -public DiscountsPriceAdjuster(UmbracoCommerceServiceContext services, - DiscountRuleProviderFactory ruleProviderFactory, - DiscountRewardProviderFactory rewardProviderFactory) -``` - - -### Methods - -#### ApplyPriceAdjustments - -```csharp -public override void ApplyPriceAdjustments(PriceAdjusterArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/giftcardsamountadjuster.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/giftcardsamountadjuster.md deleted file mode 100644 index 6bf2c71ad13..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/giftcardsamountadjuster.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: GiftCardsAmountAdjuster -description: API reference for GiftCardsAmountAdjuster in Umbraco Commerce ---- -## GiftCardsAmountAdjuster - -```csharp -public class GiftCardsAmountAdjuster : AmountAdjusterBase -``` - -**Inheritance** - -* Class [AmountAdjusterBase](amountadjusterbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Constructors - -#### GiftCardsAmountAdjuster - -```csharp -public GiftCardsAmountAdjuster(IGiftCardService giftCardService, - ILogger logger) -``` - - -### Methods - -#### ApplyAmountAdjustments - -```csharp -public override void ApplyAmountAdjustments(AmountAdjusterArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/iamountadjuster.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/iamountadjuster.md deleted file mode 100644 index ee1d6218d45..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/iamountadjuster.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IAmountAdjuster -description: API reference for IAmountAdjuster in Umbraco Commerce ---- -## IAmountAdjuster - -```csharp -public interface IAmountAdjuster -``` - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Methods - -#### ApplyAmountAdjustments - -```csharp -public void ApplyAmountAdjustments(AmountAdjusterArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/ipriceadjuster.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/ipriceadjuster.md deleted file mode 100644 index fd3c705cbe9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/ipriceadjuster.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IPriceAdjuster -description: API reference for IPriceAdjuster in Umbraco Commerce ---- -## IPriceAdjuster - -```csharp -public interface IPriceAdjuster -``` - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Methods - -#### ApplyPriceAdjustments - -```csharp -public void ApplyPriceAdjustments(PriceAdjusterArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/orderlinepriceadjustments.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/orderlinepriceadjustments.md deleted file mode 100644 index 146950b3224..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/orderlinepriceadjustments.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: OrderLinePriceAdjustments -description: API reference for OrderLinePriceAdjustments in Umbraco Commerce ---- -## OrderLinePriceAdjustments - -```csharp -public class OrderLinePriceAdjustments -``` - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Constructors - -#### OrderLinePriceAdjustments - -```csharp -public OrderLinePriceAdjustments(OrderLineCalculation orderLineCalculation, Guid currencyId) -``` - - -### Properties - -#### BasePriceAdjustments - -```csharp -public List BasePriceAdjustments { get; } -``` - - ---- - -#### OrderLines - -```csharp -public DictionaryAccessor OrderLines { get; } -``` - - ---- - -#### TotalPriceAdjustments - -```csharp -public List TotalPriceAdjustments { get; } -``` - - ---- - -#### UnitPriceAdjustments - -```csharp -public List UnitPriceAdjustments { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjusterargs.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjusterargs.md deleted file mode 100644 index 6b77b2be147..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjusterargs.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: PriceAdjusterArgs -description: API reference for PriceAdjusterArgs in Umbraco Commerce ---- -## PriceAdjusterArgs - -```csharp -public class PriceAdjusterArgs : AdjusterArgsBase -``` - -**Inheritance** - -* Class [AdjusterArgsBase](adjusterargsbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Properties - -#### OrderLines - -```csharp -public DictionaryAccessor OrderLines { get; } -``` - - ---- - -#### PaymentTotalPriceAdjustments - -```csharp -public List PaymentTotalPriceAdjustments { get; } -``` - - ---- - -#### ShippingTotalPriceAdjustments - -```csharp -public List ShippingTotalPriceAdjustments { get; } -``` - - ---- - -#### SubtotalPriceAdjustments - -```csharp -public List SubtotalPriceAdjustments { get; } -``` - - ---- - -#### TotalPriceAdjustments - -```csharp -public List TotalPriceAdjustments { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjusterbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjusterbase.md deleted file mode 100644 index 9f1d9cebbb6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjusterbase.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PriceAdjusterBase -description: API reference for PriceAdjusterBase in Umbraco Commerce ---- -## PriceAdjusterBase - -```csharp -public abstract class PriceAdjusterBase : IPriceAdjuster -``` - -**Inheritance** - -* interface [IPriceAdjuster](ipriceadjuster.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Methods - -#### ApplyPriceAdjustments - -```csharp -public abstract void ApplyPriceAdjustments(PriceAdjusterArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjustercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjustercollection.md deleted file mode 100644 index b612c317761..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-adjusters/priceadjustercollection.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PriceAdjusterCollection -description: API reference for PriceAdjusterCollection in Umbraco Commerce ---- -## PriceAdjusterCollection - -```csharp -public class PriceAdjusterCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Adjusters](README.md) - -### Constructors - -#### PriceAdjusterCollection - -```csharp -public PriceAdjusterCollection(Func> itemsFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/README.md deleted file mode 100644 index fe8cbb60008..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Api -description: API reference for Umbraco.Commerce.Core.Api in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Api namespace - -| Public Type | Description | -| --- | --- | -| static class [CommerceApi](commerceapi.md) | Convenient singleton access to the Umbraco Commerce API | -| interface [ICommerceApi](icommerceapi.md) | | -| interface [IUmbracoCommerceApi](iumbracocommerceapi.md) | | -| static class [UmbracoCommerceApi](umbracocommerceapi.md) | Convenient singleton access to the Umbraco Commerce API | -| class [UmbracoCommerceContext](umbracocommercecontext.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/commerceapi.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/commerceapi.md deleted file mode 100644 index 0dcbd791a15..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/commerceapi.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: CommerceApi -description: API reference for CommerceApi in Umbraco Commerce ---- -## CommerceApi - -Convenient singleton access to the Umbraco Commerce API - -```csharp -public static class CommerceApi -``` - -**Namespace** -* [Umbraco.Commerce.Core.Api](README.md) - -### Properties - -#### Instance - -Get the [`ICommerceApi`](icommerceapi.md) entry point - -```csharp -public static ICommerceApi Instance { get; } -``` - - -**Remarks** - -This helper is providing singleton access to the Umbraco Commerce API which generally isn't considered "best practice". You should instead look to resolve the [`ICommerceApi`](icommerceapi.md) via dependency injection where possible, and only resort to this singleton where you have no other option. - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/icommerceapi.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/icommerceapi.md deleted file mode 100644 index 7747a150c88..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/icommerceapi.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ICommerceApi -description: API reference for ICommerceApi in Umbraco Commerce ---- -## ICommerceApi - -```csharp -public interface ICommerceApi : ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, - ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, IUmbracoCommerceApi -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](../umbraco-commerce-core-services/icachedentityservice-1.md) -* interface [IUmbracoCommerceApi](iumbracocommerceapi.md) - -**Namespace** -* [Umbraco.Commerce.Core.Api](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/iumbracocommerceapi.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/iumbracocommerceapi.md deleted file mode 100644 index 04d94944180..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/iumbracocommerceapi.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: IUmbracoCommerceApi -description: API reference for IUmbracoCommerceApi in Umbraco Commerce ---- -## IUmbracoCommerceApi - -```csharp -public interface IUmbracoCommerceApi : ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, - ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICachedEntityService, - ICachedEntityService, ICountryService, ICurrencyService, IDiscountService, - IEmailTemplateService, IExportTemplateService, IGiftCardService, IOrderService, - IOrderStatusService, IPaymentMethodService, IPaymentProviderService, IPaymentService, - IPrintTemplateService, IProductAttributeService, IProductService, ISessionManager, - IShippingMethodService, IStoreService, ITagService, ITaxService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](../umbraco-commerce-core-services/icachedentityservice-1.md) -* interface [ICountryService](../umbraco-commerce-core-services/icountryservice.md) -* interface [ICurrencyService](../umbraco-commerce-core-services/icurrencyservice.md) -* interface [IDiscountService](../umbraco-commerce-core-services/idiscountservice.md) -* interface [IEmailTemplateService](../umbraco-commerce-core-services/iemailtemplateservice.md) -* interface [IExportTemplateService](../umbraco-commerce-core-services/iexporttemplateservice.md) -* interface [IGiftCardService](../umbraco-commerce-core-services/igiftcardservice.md) -* interface [IOrderService](../umbraco-commerce-core-services/iorderservice.md) -* interface [IOrderStatusService](../umbraco-commerce-core-services/iorderstatusservice.md) -* interface [IPaymentMethodService](../umbraco-commerce-core-services/ipaymentmethodservice.md) -* interface [IPaymentProviderService](../umbraco-commerce-core-services/ipaymentproviderservice.md) -* interface [IPaymentService](../umbraco-commerce-core-services/ipaymentservice.md) -* interface [IPrintTemplateService](../umbraco-commerce-core-services/iprinttemplateservice.md) -* interface [IProductAttributeService](../umbraco-commerce-core-services/iproductattributeservice.md) -* interface [IProductService](../umbraco-commerce-core-services/iproductservice.md) -* interface [ISessionManager](../umbraco-commerce-core-session/isessionmanager.md) -* interface [IShippingMethodService](../umbraco-commerce-core-services/ishippingmethodservice.md) -* interface [IStoreService](../umbraco-commerce-core-services/istoreservice.md) -* interface [ITagService](../umbraco-commerce-core-services/itagservice.md) -* interface [ITaxService](../umbraco-commerce-core-services/itaxservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Api](README.md) - -### Properties - -#### Uow - -```csharp -public IUnitOfWorkProvider Uow { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/umbracocommerceapi.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/umbracocommerceapi.md deleted file mode 100644 index 6751b320d5f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/umbracocommerceapi.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: UmbracoCommerceApi -description: API reference for UmbracoCommerceApi in Umbraco Commerce ---- -## UmbracoCommerceApi - -Convenient singleton access to the Umbraco Commerce API - -```csharp -public static class UmbracoCommerceApi -``` - -**Namespace** -* [Umbraco.Commerce.Core.Api](README.md) - -### Properties - -#### Instance - -Get the [`IUmbracoCommerceApi`](iumbracocommerceapi.md) entry point - -```csharp -public static IUmbracoCommerceApi Instance { get; } -``` - - -**Remarks** - -This helper is providing singleton access to the Umbraco Commerce API which generally isn't considered "best practice". You should instead look to resolve the [`IUmbracoCommerceApi`](iumbracocommerceapi.md) via dependency injection where possible, and only resort to this singleton where you have no other option. - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/umbracocommercecontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/umbracocommercecontext.md deleted file mode 100644 index 5af4e000c52..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-api/umbracocommercecontext.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: UmbracoCommerceContext -description: API reference for UmbracoCommerceContext in Umbraco Commerce ---- -## UmbracoCommerceContext - -```csharp -public class UmbracoCommerceContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Api](README.md) - -### Constructors - -#### UmbracoCommerceContext - -```csharp -public UmbracoCommerceContext(Lazy services, - Lazy security, Lazy session, - Lazy uowProvider, Lazy ioHelper) -``` - - -### Properties - -#### IO - -Gets the IIOHelper - -```csharp -public IIOHelper IO { get; } -``` - - ---- - -#### Security - -Gets the [`UmbracoCommerceSecurityContext`](../umbraco-commerce-core-security/umbracocommercesecuritycontext.md) - -```csharp -public UmbracoCommerceSecurityContext Security { get; } -``` - - ---- - -#### Services - -Gets the [`UmbracoCommerceServiceContext`](../umbraco-commerce-core-services/umbracocommerceservicecontext.md) - -```csharp -public UmbracoCommerceServiceContext Services { get; } -``` - - ---- - -#### Session - -Gets the [`ISessionManager`](../umbraco-commerce-core-session/isessionmanager.md) - -```csharp -public ISessionManager Session { get; } -``` - - ---- - -#### Uow - -Gets the IUnitOfWorkProvider - -```csharp -public IUnitOfWorkProvider Uow { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-attributes/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-attributes/README.md deleted file mode 100644 index 817b32b59d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-attributes/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Attributes -description: API reference for Umbraco.Commerce.Core.Attributes in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Attributes namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceSettingAttribute](umbracocommercesettingattribute.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-attributes/umbracocommercesettingattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-attributes/umbracocommercesettingattribute.md deleted file mode 100644 index 927601a4334..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-attributes/umbracocommercesettingattribute.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: UmbracoCommerceSettingAttribute -description: API reference for UmbracoCommerceSettingAttribute in Umbraco Commerce ---- -## UmbracoCommerceSettingAttribute - -```csharp -[AttributeUsage(AttributeTargets.Property)] -public class UmbracoCommerceSettingAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Core.Attributes](README.md) - -### Constructors - -#### UmbracoCommerceSettingAttribute - -The default constructor. - -```csharp -public UmbracoCommerceSettingAttribute() -``` - - -### Properties - -#### Config - -```csharp -public string Config { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Key - -```csharp -public string Key { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### View - -```csharp -public string View { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/README.md deleted file mode 100644 index 1d5ab7fd787..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/README.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Cache -description: API reference for Umbraco.Commerce.Core.Cache in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Cache namespace - -| Public Type | Description | -| --- | --- | -| class [EntityCaches](entitycaches.md) | | -| interface [ICache](icache.md) | | -| interface [ICacheAccessor](icacheaccessor.md) | | -| interface [IEntityCache](ientitycache.md) | | -| interface [IEntityStatePolicyCache<TState,TId>](ientitystatepolicycache-2.md) | | -| interface [IPolicyCache](ipolicycache.md) | | -| class [UmbracoCommerceCacheAccessor](umbracocommercecacheaccessor.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/entitycaches.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/entitycaches.md deleted file mode 100644 index 2f39141ca35..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/entitycaches.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: EntityCaches -description: API reference for EntityCaches in Umbraco Commerce ---- -## EntityCaches - -```csharp -public class EntityCaches -``` - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Constructors - -#### EntityCaches - -Initializes a new instance of the [`EntityCaches`](entitycaches.md) class. - -```csharp -public EntityCaches(Func cacheFactory) -``` - - -### Methods - -#### GetOrCreate<T> - -Gets a cache. - -```csharp -public virtual IEntityCache GetOrCreate() - where T : class -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/icache.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/icache.md deleted file mode 100644 index bd0a060364f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/icache.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: ICache -description: API reference for ICache in Umbraco Commerce ---- -## ICache - -```csharp -public interface ICache -``` - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Methods - -#### Clear - -```csharp -public void Clear(string cacheKey) -``` - - ---- - -#### ClearAll - -```csharp -public void ClearAll() -``` - - ---- - -#### ClearByKey - -```csharp -public void ClearByKey(string cacheKeyStartsWith) -``` - - ---- - -#### FindByKey - -```csharp -public IEnumerable FindByKey(string cacheKeyStartsWith) -``` - - ---- - -#### FindByKeyTyped<T> - -```csharp -public IEnumerable FindByKeyTyped(string cacheKeyStartsWith) -``` - - ---- - -#### Get (1 of 2) - -```csharp -public object Get(string cacheKey) -``` - ---- - -#### Get (2 of 2) - -```csharp -public object Get(string cacheKey, Func factory) -``` - - ---- - -#### GetTyped<T> (1 of 2) - -```csharp -public T GetTyped(string cacheKey) -``` - ---- - -#### GetTyped<T> (2 of 2) - -```csharp -public T GetTyped(string cacheKey, Func factory) -``` - - ---- - -#### Set (1 of 2) - -```csharp -public void Set(string cacheKey, object cacheValue) -``` - ---- - -#### Set (2 of 2) - -```csharp -public void Set(string cacheKey, object cacheValue, TimeSpan cacheDuration) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/icacheaccessor.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/icacheaccessor.md deleted file mode 100644 index 9c74ada1d57..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/icacheaccessor.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: ICacheAccessor -description: API reference for ICacheAccessor in Umbraco Commerce ---- -## ICacheAccessor - -```csharp -public interface ICacheAccessor -``` - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Properties - -#### EntityCaches - -```csharp -public EntityCaches EntityCaches { get; } -``` - - ---- - -#### RequestCache - -```csharp -public ICache RequestCache { get; } -``` - - ---- - -#### RuntimeCache - -```csharp -public IPolicyCache RuntimeCache { get; } -``` - - ---- - -#### ScopedEntityCaches - -```csharp -public EntityCaches ScopedEntityCaches { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ientitycache.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ientitycache.md deleted file mode 100644 index 75f3a631295..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ientitycache.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: IEntityCache -description: API reference for IEntityCache in Umbraco Commerce ---- -## IEntityCache - -```csharp -public interface IEntityCache : IDisposable -``` - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Properties - -#### Keys - -```csharp -public IEnumerable Keys { get; } -``` - - -### Methods - -#### Clear - -```csharp -public void Clear() -``` - - ---- - -#### Get - -```csharp -public object Get(string key) -``` - - ---- - -#### GetAll - -```csharp -public IEnumerable GetAll() -``` - - ---- - -#### Remove - -```csharp -public void Remove(string key) -``` - - ---- - -#### Set - -```csharp -public void Set(string key, Func factory, TimeSpan? timeout = default(TimeSpan?), - bool isSliding = false) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ientitystatepolicycache-2.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ientitystatepolicycache-2.md deleted file mode 100644 index 28df2814eae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ientitystatepolicycache-2.md +++ /dev/null @@ -1,100 +0,0 @@ ---- -title: IEntityStatePolicyCache -description: API reference for IEntityStatePolicyCache in Umbraco Commerce ---- -## IEntityStatePolicyCache<TState,TId> - -```csharp -public interface IEntityStatePolicyCache - where TState : class -``` - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Methods - -#### CheckEntityCacheIntegrity - -```csharp -public EntityCacheIntegrityCheckResult CheckEntityCacheIntegrity( - EntityCacheIntegrityCheckOptions options, Func performCountAll, - Func> performGetAll) -``` - - ---- - -#### ClearAll - -```csharp -public void ClearAll() -``` - - ---- - -#### Exists - -```csharp -public bool Exists(TId id, Func performExists, - Func> performGetAll) -``` - - ---- - -#### Get - -```csharp -public TState Get(TId id, Func performGet, - Func> performGetAll) -``` - - ---- - -#### GetAll - -```csharp -public TState[] GetAll(TId[] ids, Func> performGetAll) -``` - - ---- - -#### GetAllCached - -```csharp -public TState[] GetAllCached(TId[] ids) -``` - - ---- - -#### GetCached - -```csharp -public TState GetCached(TId id) -``` - - ---- - -#### Remove - -```csharp -public void Remove(TState state) -``` - - ---- - -#### Set - -```csharp -public void Set(TState state, Func> performGetAll) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ipolicycache.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ipolicycache.md deleted file mode 100644 index fede735323e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/ipolicycache.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: IPolicyCache -description: API reference for IPolicyCache in Umbraco Commerce ---- -## IPolicyCache - -```csharp -public interface IPolicyCache : ICache -``` - -**Inheritance** - -* interface [ICache](icache.md) - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Methods - -#### Get - -```csharp -public object Get(string cacheKey, Func factory, TimeSpan? timeout, bool isSliding = false) -``` - - ---- - -#### Set - -```csharp -public void Set(string cacheKey, Func factory, TimeSpan? timeout = default(TimeSpan?), - bool isSliding = false) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/umbracocommercecacheaccessor.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/umbracocommercecacheaccessor.md deleted file mode 100644 index e1bdee0ae19..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-cache/umbracocommercecacheaccessor.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: UmbracoCommerceCacheAccessor -description: API reference for UmbracoCommerceCacheAccessor in Umbraco Commerce ---- -## UmbracoCommerceCacheAccessor - -```csharp -public class UmbracoCommerceCacheAccessor : ICacheAccessor -``` - -**Inheritance** - -* interface [ICacheAccessor](icacheaccessor.md) - -**Namespace** -* [Umbraco.Commerce.Core.Cache](README.md) - -### Constructors - -#### UmbracoCommerceCacheAccessor - -```csharp -public UmbracoCommerceCacheAccessor(IPolicyCache runtimeCache, ICache requestCache, - EntityCaches entityCaches, Lazy uowAccessor) -``` - - -### Properties - -#### EntityCaches - -```csharp -public EntityCaches EntityCaches { get; } -``` - - ---- - -#### RequestCache - -```csharp -public ICache RequestCache { get; } -``` - - ---- - -#### RuntimeCache - -```csharp -public IPolicyCache RuntimeCache { get; } -``` - - ---- - -#### ScopedEntityCaches - -```csharp -public EntityCaches ScopedEntityCaches { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/README.md deleted file mode 100644 index d91c7d03ecb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/README.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Calculators -description: API reference for Umbraco.Commerce.Core.Calculators in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Calculators namespace - -| Public Type | Description | -| --- | --- | -| interface [IOrderCalculator](iordercalculator.md) | | -| interface [IOrderLineCalculator](iorderlinecalculator.md) | | -| interface [IPaymentCalculator](ipaymentcalculator.md) | | -| interface [IProductCalculator](iproductcalculator.md) | | -| interface [IShippingCalculator](ishippingcalculator.md) | | -| class [OrderCalculator](ordercalculator.md) | | -| class [OrderLineCalculator](orderlinecalculator.md) | | -| abstract class [OrderLineCalculatorBase](orderlinecalculatorbase.md) | | -| class [PaymentCalculator](paymentcalculator.md) | | -| abstract class [PaymentCalculatorBase](paymentcalculatorbase.md) | | -| class [PaymentCalculatorContext](paymentcalculatorcontext.md) | | -| class [ProductCalculator](productcalculator.md) | | -| abstract class [ProductCalculatorBase](productcalculatorbase.md) | | -| class [ProductCalculatorContext](productcalculatorcontext.md) | | -| class [ShippingCalculator](shippingcalculator.md) | | -| abstract class [ShippingCalculatorBase](shippingcalculatorbase.md) | | -| class [ShippingCalculatorContext](shippingcalculatorcontext.md) | | -| class [UmbracoCommerceCalculatorContext](umbracocommercecalculatorcontext.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iordercalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iordercalculator.md deleted file mode 100644 index fc40e4c9d55..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iordercalculator.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IOrderCalculator -description: API reference for IOrderCalculator in Umbraco Commerce ---- -## IOrderCalculator - -```csharp -public interface IOrderCalculator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateOrder - -```csharp -public OrderCalculation CalculateOrder(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iorderlinecalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iorderlinecalculator.md deleted file mode 100644 index 269b7490840..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iorderlinecalculator.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: IOrderLineCalculator -description: API reference for IOrderLineCalculator in Umbraco Commerce ---- -## IOrderLineCalculator - -```csharp -public interface IOrderLineCalculator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateOrderLineTaxRate - -```csharp -public TaxRate CalculateOrderLineTaxRate(OrderReadOnly order, OrderLineReadOnly orderLine, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - ---- - -#### CalculateOrderLineUnitPrice - -```csharp -public Price CalculateOrderLineUnitPrice(OrderReadOnly order, OrderLineReadOnly orderLine, - Guid currencyId, TaxRate taxRate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ipaymentcalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ipaymentcalculator.md deleted file mode 100644 index 20cc21a3cf5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ipaymentcalculator.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: IPaymentCalculator -description: API reference for IPaymentCalculator in Umbraco Commerce ---- -## IPaymentCalculator - -```csharp -public interface IPaymentCalculator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculatePaymentMethodPrice (1 of 2) - -```csharp -public Price CalculatePaymentMethodPrice(PaymentMethodReadOnly paymentMethod, Guid currencyId, - Guid? countryId, Guid? regionId, TaxRate taxRate) -``` - ---- - -#### CalculatePaymentMethodPrice (2 of 2) - -```csharp -public Price CalculatePaymentMethodPrice(PaymentMethodReadOnly paymentMethod, Guid currencyId, - Guid? countryId, Guid? regionId, TaxRate taxRate, PaymentCalculatorContext context) -``` - - ---- - -#### CalculatePaymentMethodTaxRate (1 of 2) - -```csharp -public TaxRate CalculatePaymentMethodTaxRate(PaymentMethodReadOnly paymentMethod, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - ---- - -#### CalculatePaymentMethodTaxRate (2 of 2) - -```csharp -public TaxRate CalculatePaymentMethodTaxRate(PaymentMethodReadOnly paymentMethod, - TaxSource taxSource, TaxRate fallbackTaxRate, PaymentCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iproductcalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iproductcalculator.md deleted file mode 100644 index b59415d1b21..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/iproductcalculator.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: IProductCalculator -description: API reference for IProductCalculator in Umbraco Commerce ---- -## IProductCalculator - -```csharp -public interface IProductCalculator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateProductPrice (1 of 2) - -```csharp -public Price CalculateProductPrice(IProductSnapshot productSnapshot, Guid currencyId, - TaxRate taxRate) -``` - ---- - -#### CalculateProductPrice (2 of 2) - -```csharp -public Price CalculateProductPrice(IProductSnapshot productSnapshot, Guid currencyId, - TaxRate taxRate, ProductCalculatorContext context) -``` - - ---- - -#### CalculateProductTaxRate (1 of 2) - -```csharp -public TaxRate CalculateProductTaxRate(IProductSnapshot productSnapshot, TaxSource taxSource, - TaxRate fallbackTaxRate) -``` - ---- - -#### CalculateProductTaxRate (2 of 2) - -```csharp -public TaxRate CalculateProductTaxRate(IProductSnapshot productSnapshot, TaxSource taxSource, - TaxRate fallbackTaxRate, ProductCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ishippingcalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ishippingcalculator.md deleted file mode 100644 index 17ce0601fd3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ishippingcalculator.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: IShippingCalculator -description: API reference for IShippingCalculator in Umbraco Commerce ---- -## IShippingCalculator - -```csharp -public interface IShippingCalculator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateShippingMethodPrice (1 of 2) - -```csharp -public Price CalculateShippingMethodPrice(ShippingMethodReadOnly shippingMethod, Guid currencyId, - Guid? countryId, Guid? regionId, TaxRate taxRate) -``` - ---- - -#### CalculateShippingMethodPrice (2 of 2) - -```csharp -public Price CalculateShippingMethodPrice(ShippingMethodReadOnly shippingMethod, Guid currencyId, - Guid? countryId, Guid? regionId, TaxRate taxRate, ShippingCalculatorContext context) -``` - - ---- - -#### CalculateShippingMethodTaxRate (1 of 2) - -```csharp -public TaxRate CalculateShippingMethodTaxRate(ShippingMethodReadOnly shippingMethod, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - ---- - -#### CalculateShippingMethodTaxRate (2 of 2) - -```csharp -public TaxRate CalculateShippingMethodTaxRate(ShippingMethodReadOnly shippingMethod, - TaxSource taxSource, TaxRate fallbackTaxRate, ShippingCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ordercalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ordercalculator.md deleted file mode 100644 index b188a11202d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/ordercalculator.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: OrderCalculator -description: API reference for OrderCalculator in Umbraco Commerce ---- -## OrderCalculator - -```csharp -public class OrderCalculator : IOrderCalculator -``` - -**Inheritance** - -* interface [IOrderCalculator](iordercalculator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### OrderCalculator - -```csharp -public OrderCalculator(ILogger logger) -``` - - -### Methods - -#### CalculateOrder - -```csharp -public OrderCalculation CalculateOrder(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/orderlinecalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/orderlinecalculator.md deleted file mode 100644 index 31e99b8fadd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/orderlinecalculator.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderLineCalculator -description: API reference for OrderLineCalculator in Umbraco Commerce ---- -## OrderLineCalculator - -```csharp -public class OrderLineCalculator : OrderLineCalculatorBase -``` - -**Inheritance** - -* Class [OrderLineCalculatorBase](orderlinecalculatorbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### OrderLineCalculator - -```csharp -public OrderLineCalculator(ITaxService taxService, IStoreService storeService, - IProductPriceFreezerService productPriceFreezerService) -``` - - -### Methods - -#### CalculateOrderLineTaxRate - -```csharp -public override TaxRate CalculateOrderLineTaxRate(OrderReadOnly order, OrderLineReadOnly orderLine, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - ---- - -#### CalculateOrderLineUnitPrice - -```csharp -public override Price CalculateOrderLineUnitPrice(OrderReadOnly order, OrderLineReadOnly orderLine, - Guid currencyId, TaxRate taxRate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/orderlinecalculatorbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/orderlinecalculatorbase.md deleted file mode 100644 index abc2055d37c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/orderlinecalculatorbase.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderLineCalculatorBase -description: API reference for OrderLineCalculatorBase in Umbraco Commerce ---- -## OrderLineCalculatorBase - -```csharp -public abstract class OrderLineCalculatorBase : IOrderLineCalculator -``` - -**Inheritance** - -* interface [IOrderLineCalculator](iorderlinecalculator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateOrderLineTaxRate - -```csharp -public abstract TaxRate CalculateOrderLineTaxRate(OrderReadOnly order, OrderLineReadOnly orderLine, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - ---- - -#### CalculateOrderLineUnitPrice - -```csharp -public abstract Price CalculateOrderLineUnitPrice(OrderReadOnly order, OrderLineReadOnly orderLine, - Guid currencyId, TaxRate taxRate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculator.md deleted file mode 100644 index 1efe8fe517c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculator.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: PaymentCalculator -description: API reference for PaymentCalculator in Umbraco Commerce ---- -## PaymentCalculator - -```csharp -public class PaymentCalculator : PaymentCalculatorBase -``` - -**Inheritance** - -* Class [PaymentCalculatorBase](paymentcalculatorbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### PaymentCalculator - -```csharp -public PaymentCalculator(ITaxService taxService, IStoreService storeService) -``` - - -### Methods - -#### CalculatePaymentMethodPrice - -```csharp -public override Price CalculatePaymentMethodPrice(PaymentMethodReadOnly paymentMethod, - Guid currencyId, Guid? countryId, Guid? regionId, TaxRate taxRate, - PaymentCalculatorContext context) -``` - - ---- - -#### CalculatePaymentMethodTaxRate - -```csharp -public override TaxRate CalculatePaymentMethodTaxRate(PaymentMethodReadOnly paymentMethod, - TaxSource taxSource, TaxRate fallbackTaxRate, PaymentCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculatorbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculatorbase.md deleted file mode 100644 index 12c38a1bc97..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculatorbase.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: PaymentCalculatorBase -description: API reference for PaymentCalculatorBase in Umbraco Commerce ---- -## PaymentCalculatorBase - -```csharp -public abstract class PaymentCalculatorBase : IPaymentCalculator -``` - -**Inheritance** - -* interface [IPaymentCalculator](ipaymentcalculator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculatePaymentMethodPrice - -```csharp -public Price CalculatePaymentMethodPrice(PaymentMethodReadOnly paymentMethod, Guid currencyId, - Guid? countryId, Guid? regionId, TaxRate taxRate) -``` - - ---- - -#### CalculatePaymentMethodPrice - -```csharp -public abstract Price CalculatePaymentMethodPrice(PaymentMethodReadOnly paymentMethod, - Guid currencyId, Guid? countryId, Guid? regionId, TaxRate taxRate, - PaymentCalculatorContext context) -``` - - ---- - -#### CalculatePaymentMethodTaxRate - -```csharp -public TaxRate CalculatePaymentMethodTaxRate(PaymentMethodReadOnly paymentMethod, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - ---- - -#### CalculatePaymentMethodTaxRate - -```csharp -public abstract TaxRate CalculatePaymentMethodTaxRate(PaymentMethodReadOnly paymentMethod, - TaxSource taxSource, TaxRate fallbackTaxRate, PaymentCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculatorcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculatorcontext.md deleted file mode 100644 index 0fd0dd4bdd1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/paymentcalculatorcontext.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: PaymentCalculatorContext -description: API reference for PaymentCalculatorContext in Umbraco Commerce ---- -## PaymentCalculatorContext - -```csharp -public class PaymentCalculatorContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### PaymentCalculatorContext - -The default constructor. - -```csharp -public PaymentCalculatorContext() -``` - - ---- - -#### PaymentCalculatorContext (1 of 2) - -```csharp -public PaymentCalculatorContext(OrderReadOnly order) -``` - ---- - -#### PaymentCalculatorContext (2 of 2) - -```csharp -public PaymentCalculatorContext(OrderReadOnly order, OrderCalculation orderCalculation) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderCalculation - -```csharp -public OrderCalculation OrderCalculation { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculator.md deleted file mode 100644 index 939a60e73cf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculator.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: ProductCalculator -description: API reference for ProductCalculator in Umbraco Commerce ---- -## ProductCalculator - -```csharp -public class ProductCalculator : ProductCalculatorBase -``` - -**Inheritance** - -* Class [ProductCalculatorBase](productcalculatorbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### ProductCalculator - -```csharp -public ProductCalculator(ITaxService taxService, IStoreService storeService) -``` - - -### Methods - -#### CalculateProductPrice - -```csharp -public override Price CalculateProductPrice(IProductSnapshot productSnapshot, Guid currencyId, - TaxRate taxRate, ProductCalculatorContext context) -``` - - ---- - -#### CalculateProductTaxRate - -```csharp -public override TaxRate CalculateProductTaxRate(IProductSnapshot productSnapshot, - TaxSource taxSource, TaxRate fallbackTaxRate, ProductCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculatorbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculatorbase.md deleted file mode 100644 index 2a4e9658641..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculatorbase.md +++ /dev/null @@ -1,58 +0,0 @@ ---- -title: ProductCalculatorBase -description: API reference for ProductCalculatorBase in Umbraco Commerce ---- -## ProductCalculatorBase - -```csharp -public abstract class ProductCalculatorBase : IProductCalculator -``` - -**Inheritance** - -* interface [IProductCalculator](iproductcalculator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateProductPrice - -```csharp -public virtual Price CalculateProductPrice(IProductSnapshot productSnapshot, Guid currencyId, - TaxRate taxRate) -``` - - ---- - -#### CalculateProductPrice - -```csharp -public abstract Price CalculateProductPrice(IProductSnapshot productSnapshot, Guid currencyId, - TaxRate taxRate, ProductCalculatorContext context) -``` - - ---- - -#### CalculateProductTaxRate - -```csharp -public virtual TaxRate CalculateProductTaxRate(IProductSnapshot productSnapshot, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - ---- - -#### CalculateProductTaxRate - -```csharp -public abstract TaxRate CalculateProductTaxRate(IProductSnapshot productSnapshot, - TaxSource taxSource, TaxRate fallbackTaxRate, ProductCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculatorcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculatorcontext.md deleted file mode 100644 index 436b26084fb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/productcalculatorcontext.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: ProductCalculatorContext -description: API reference for ProductCalculatorContext in Umbraco Commerce ---- -## ProductCalculatorContext - -```csharp -public class ProductCalculatorContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### ProductCalculatorContext - -The default constructor. - -```csharp -public ProductCalculatorContext() -``` - - ---- - -#### ProductCalculatorContext - -```csharp -public ProductCalculatorContext(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculator.md deleted file mode 100644 index f2bac14d674..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculator.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: ShippingCalculator -description: API reference for ShippingCalculator in Umbraco Commerce ---- -## ShippingCalculator - -```csharp -public class ShippingCalculator : ShippingCalculatorBase -``` - -**Inheritance** - -* Class [ShippingCalculatorBase](shippingcalculatorbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### ShippingCalculator - -```csharp -public ShippingCalculator(ITaxService taxService, IStoreService storeService) -``` - - -### Methods - -#### CalculateShippingMethodPrice - -```csharp -public override Price CalculateShippingMethodPrice(ShippingMethodReadOnly shippingMethod, - Guid currencyId, Guid? countryId, Guid? regionId, TaxRate taxRate, - ShippingCalculatorContext context) -``` - - ---- - -#### CalculateShippingMethodTaxRate - -```csharp -public override TaxRate CalculateShippingMethodTaxRate(ShippingMethodReadOnly shippingMethod, - TaxSource taxSource, TaxRate fallbackTaxRate, ShippingCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculatorbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculatorbase.md deleted file mode 100644 index 98cd41af176..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculatorbase.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: ShippingCalculatorBase -description: API reference for ShippingCalculatorBase in Umbraco Commerce ---- -## ShippingCalculatorBase - -```csharp -public abstract class ShippingCalculatorBase : IShippingCalculator -``` - -**Inheritance** - -* interface [IShippingCalculator](ishippingcalculator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Methods - -#### CalculateShippingMethodPrice - -```csharp -public Price CalculateShippingMethodPrice(ShippingMethodReadOnly shippingMethod, Guid currencyId, - Guid? countryId, Guid? regionId, TaxRate taxRate) -``` - - ---- - -#### CalculateShippingMethodPrice - -```csharp -public abstract Price CalculateShippingMethodPrice(ShippingMethodReadOnly shippingMethod, - Guid currencyId, Guid? countryId, Guid? regionId, TaxRate taxRate, - ShippingCalculatorContext context) -``` - - ---- - -#### CalculateShippingMethodTaxRate - -```csharp -public TaxRate CalculateShippingMethodTaxRate(ShippingMethodReadOnly shippingMethod, - TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - ---- - -#### CalculateShippingMethodTaxRate - -```csharp -public abstract TaxRate CalculateShippingMethodTaxRate(ShippingMethodReadOnly shippingMethod, - TaxSource taxSource, TaxRate fallbackTaxRate, ShippingCalculatorContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculatorcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculatorcontext.md deleted file mode 100644 index 4e79dc94798..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/shippingcalculatorcontext.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: ShippingCalculatorContext -description: API reference for ShippingCalculatorContext in Umbraco Commerce ---- -## ShippingCalculatorContext - -```csharp -public class ShippingCalculatorContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### ShippingCalculatorContext - -The default constructor. - -```csharp -public ShippingCalculatorContext() -``` - - ---- - -#### ShippingCalculatorContext (1 of 2) - -```csharp -public ShippingCalculatorContext(OrderReadOnly order) -``` - ---- - -#### ShippingCalculatorContext (2 of 2) - -```csharp -public ShippingCalculatorContext(OrderReadOnly order, OrderCalculation orderCalculation) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderCalculation - -```csharp -public OrderCalculation OrderCalculation { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/umbracocommercecalculatorcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/umbracocommercecalculatorcontext.md deleted file mode 100644 index d0e7d34e71d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-calculators/umbracocommercecalculatorcontext.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: UmbracoCommerceCalculatorContext -description: API reference for UmbracoCommerceCalculatorContext in Umbraco Commerce ---- -## UmbracoCommerceCalculatorContext - -```csharp -public class UmbracoCommerceCalculatorContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Calculators](README.md) - -### Constructors - -#### UmbracoCommerceCalculatorContext - -```csharp -public UmbracoCommerceCalculatorContext(Lazy orderCalculator, - Lazy orderLineCalculator, Lazy paymentCalculator, - Lazy shippingCalculator, Lazy productCalculator) -``` - - -### Properties - -#### OrderCalculator - -Gets the [`IOrderCalculator`](iordercalculator.md) - -```csharp -public IOrderCalculator OrderCalculator { get; } -``` - - ---- - -#### OrderLineCalculator - -Gets the [`IOrderLineCalculator`](iorderlinecalculator.md) - -```csharp -public IOrderLineCalculator OrderLineCalculator { get; } -``` - - ---- - -#### PaymentCalculator - -Gets the [`IPaymentCalculator`](ipaymentcalculator.md) - -```csharp -public IPaymentCalculator PaymentCalculator { get; } -``` - - ---- - -#### ProductCalculator - -Gets the [`IProductCalculator`](iproductcalculator.md) - -```csharp -public IProductCalculator ProductCalculator { get; } -``` - - ---- - -#### ShippingCalculator - -Gets the [`IShippingCalculator`](ishippingcalculator.md) - -```csharp -public IShippingCalculator ShippingCalculator { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/README.md deleted file mode 100644 index aeec2fedf30..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/README.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Composing -description: API reference for Umbraco.Commerce.Core.Composing in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Composing namespace - -| Public Type | Description | -| --- | --- | -| class [AmountAdjusterCollectionBuilder](amountadjustercollectionbuilder.md) | | -| class [DiscountRewardProviderCollectionBuilder](discountrewardprovidercollectionbuilder.md) | | -| class [DiscountRuleProviderCollectionBuilder](discountruleprovidercollectionbuilder.md) | | -| class [EventHandlerCollectionBuilder<TEvent>](eventhandlercollectionbuilder-1.md) | | -| class [OrderFinderCollectionBuilder](orderfindercollectionbuilder.md) | | -| class [PaymentProviderCollectionBuilder](paymentprovidercollectionbuilder.md) | | -| class [PipelineTaskCollectionBuilder<TCollection,TItem>](pipelinetaskcollectionbuilder-2.md) | | -| class [PipelineTaskCollectionBuilder<TCollection,TItem,TResult>](pipelinetaskcollectionbuilder-3.md) | | -| class [PriceAdjusterCollectionBuilder](priceadjustercollectionbuilder.md) | | -| class [RegisteredCustomerInfoProviderCollectionBuilder](registeredcustomerinfoprovidercollectionbuilder.md) | | -| class [UmbracoCommerceEventHandlerComposer<TEvent,TInterface>](umbracocommerceeventhandlercomposer-2.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/amountadjustercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/amountadjustercollectionbuilder.md deleted file mode 100644 index d6f93b46329..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/amountadjustercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: AmountAdjusterCollectionBuilder -description: API reference for AmountAdjusterCollectionBuilder in Umbraco Commerce ---- -## AmountAdjusterCollectionBuilder - -```csharp -public class AmountAdjusterCollectionBuilder : - OrderedComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### AmountAdjusterCollectionBuilder - -The default constructor. - -```csharp -public AmountAdjusterCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/discountrewardprovidercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/discountrewardprovidercollectionbuilder.md deleted file mode 100644 index 9cf81adad52..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/discountrewardprovidercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: DiscountRewardProviderCollectionBuilder -description: API reference for DiscountRewardProviderCollectionBuilder in Umbraco Commerce ---- -## DiscountRewardProviderCollectionBuilder - -```csharp -public class DiscountRewardProviderCollectionBuilder : - ComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [ComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### DiscountRewardProviderCollectionBuilder - -The default constructor. - -```csharp -public DiscountRewardProviderCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/discountruleprovidercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/discountruleprovidercollectionbuilder.md deleted file mode 100644 index d7b1e99acec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/discountruleprovidercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: DiscountRuleProviderCollectionBuilder -description: API reference for DiscountRuleProviderCollectionBuilder in Umbraco Commerce ---- -## DiscountRuleProviderCollectionBuilder - -```csharp -public class DiscountRuleProviderCollectionBuilder : - ComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [ComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### DiscountRuleProviderCollectionBuilder - -The default constructor. - -```csharp -public DiscountRuleProviderCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/eventhandlercollectionbuilder-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/eventhandlercollectionbuilder-1.md deleted file mode 100644 index 9a4ea5e1688..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/eventhandlercollectionbuilder-1.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: EventHandlerCollectionBuilder -description: API reference for EventHandlerCollectionBuilder in Umbraco Commerce ---- -## EventHandlerCollectionBuilder<TEvent> - -```csharp -public class EventHandlerCollectionBuilder : - OrderedComposedCollectionBuilderBase, EventHandlerCollection, IEventHandlerFor> - where TEvent : IEvent -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### EventHandlerCollectionBuilder<TEvent> - -The default constructor. - -```csharp -public EventHandlerCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/orderfindercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/orderfindercollectionbuilder.md deleted file mode 100644 index f2d34154af2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/orderfindercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: OrderFinderCollectionBuilder -description: API reference for OrderFinderCollectionBuilder in Umbraco Commerce ---- -## OrderFinderCollectionBuilder - -```csharp -public class OrderFinderCollectionBuilder : - OrderedComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### OrderFinderCollectionBuilder - -The default constructor. - -```csharp -public OrderFinderCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/paymentprovidercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/paymentprovidercollectionbuilder.md deleted file mode 100644 index cc66ff64cd7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/paymentprovidercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: PaymentProviderCollectionBuilder -description: API reference for PaymentProviderCollectionBuilder in Umbraco Commerce ---- -## PaymentProviderCollectionBuilder - -```csharp -public class PaymentProviderCollectionBuilder : - ComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [ComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### PaymentProviderCollectionBuilder - -The default constructor. - -```csharp -public PaymentProviderCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/pipelinetaskcollectionbuilder-2.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/pipelinetaskcollectionbuilder-2.md deleted file mode 100644 index 770983a0bb5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/pipelinetaskcollectionbuilder-2.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: PipelineTaskCollectionBuilder -description: API reference for PipelineTaskCollectionBuilder in Umbraco Commerce ---- -## PipelineTaskCollectionBuilder<TCollection,TItem> - -```csharp -public class PipelineTaskCollectionBuilder : - OrderedComposedCollectionBuilderBase, TCollection, IPipelineTask> - where TCollection : class, IPipelineTaskCollection -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### PipelineTaskCollectionBuilder<TCollection,TItem> - -The default constructor. - -```csharp -public PipelineTaskCollectionBuilder() -``` - - -### Methods - -#### CreateCollection - -```csharp -public override TCollection CreateCollection(IServiceProvider factory) -``` - - ---- - -#### OnFail<T> - -```csharp -public PipelineTaskCollectionBuilder OnFail() - where T : IPipelineAction -``` - - ---- - -#### RegisterWith - -```csharp -public override void RegisterWith(IServiceCollection services) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/pipelinetaskcollectionbuilder-3.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/pipelinetaskcollectionbuilder-3.md deleted file mode 100644 index c4f70af3971..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/pipelinetaskcollectionbuilder-3.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: PipelineTaskCollectionBuilder -description: API reference for PipelineTaskCollectionBuilder in Umbraco Commerce ---- -## PipelineTaskCollectionBuilder<TCollection,TItem,TResult> - -```csharp -public class PipelineTaskCollectionBuilder : - OrderedComposedCollectionBuilderBase, TCollection, IPipelineTask> - where TCollection : class, IPipelineTaskCollection -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### PipelineTaskCollectionBuilder<TCollection,TItem,TResult> - -The default constructor. - -```csharp -public PipelineTaskCollectionBuilder() -``` - - -### Methods - -#### CreateCollection - -```csharp -public override TCollection CreateCollection(IServiceProvider factory) -``` - - ---- - -#### OnFail<T> - -```csharp -public PipelineTaskCollectionBuilder OnFail() - where T : IPipelineAction -``` - - ---- - -#### RegisterWith - -```csharp -public override void RegisterWith(IServiceCollection services) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/priceadjustercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/priceadjustercollectionbuilder.md deleted file mode 100644 index ea4b5fb4999..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/priceadjustercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: PriceAdjusterCollectionBuilder -description: API reference for PriceAdjusterCollectionBuilder in Umbraco Commerce ---- -## PriceAdjusterCollectionBuilder - -```csharp -public class PriceAdjusterCollectionBuilder : - OrderedComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [OrderedComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/orderedcomposedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### PriceAdjusterCollectionBuilder - -The default constructor. - -```csharp -public PriceAdjusterCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/registeredcustomerinfoprovidercollectionbuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/registeredcustomerinfoprovidercollectionbuilder.md deleted file mode 100644 index 2253f1ad3c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/registeredcustomerinfoprovidercollectionbuilder.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: RegisteredCustomerInfoProviderCollectionBuilder -description: API reference for RegisteredCustomerInfoProviderCollectionBuilder in Umbraco Commerce ---- -## RegisteredCustomerInfoProviderCollectionBuilder - -```csharp -public class RegisteredCustomerInfoProviderCollectionBuilder : - ComposedCollectionBuilderBase -``` - -**Inheritance** - -* Class [ComposedCollectionBuilderBase<!0,!1,!2>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollectionbuilderbase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Constructors - -#### RegisteredCustomerInfoProviderCollectionBuilder - -The default constructor. - -```csharp -public RegisteredCustomerInfoProviderCollectionBuilder() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/umbracocommerceeventhandlercomposer-2.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/umbracocommerceeventhandlercomposer-2.md deleted file mode 100644 index 0ba4d8d32ec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-composing/umbracocommerceeventhandlercomposer-2.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: UmbracoCommerceEventHandlerComposer -description: API reference for UmbracoCommerceEventHandlerComposer in Umbraco Commerce ---- -## UmbracoCommerceEventHandlerComposer<TEvent,TInterface> - -```csharp -public class UmbracoCommerceEventHandlerComposer - where TEvent : TInterface - where TInterface : IEvent -``` - -**Namespace** -* [Umbraco.Commerce.Core.Composing](README.md) - -### Methods - -#### RegisterHandler<THandler> - -```csharp -public UmbracoCommerceEventHandlerComposer RegisterHandler() - where THandler : IEventHandlerFor -``` - - ---- - -#### RegisterHandlerAfter<TAfterHandler,THandler> - -```csharp -public UmbracoCommerceEventHandlerComposer - RegisterHandlerAfter() - where TAfterHandler : IEventHandlerFor - where THandler : IEventHandlerFor -``` - - ---- - -#### RegisterHandlerBefore<TBeforeHandler,THandler> - -```csharp -public UmbracoCommerceEventHandlerComposer - RegisterHandlerBefore() - where TBeforeHandler : IEventHandlerFor - where THandler : IEventHandlerFor -``` - - ---- - -#### RemoveHandler<THandler> - -```csharp -public UmbracoCommerceEventHandlerComposer RemoveHandler() - where THandler : IEventHandlerFor -``` - - ---- - -#### ReplaceHandler<TReplacedHandler,THandler> - -```csharp -public UmbracoCommerceEventHandlerComposer - ReplaceHandler() - where TReplacedHandler : IEventHandlerFor - where THandler : IEventHandlerFor -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/README.md deleted file mode 100644 index c62409cd7ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Configuration.Models -description: API reference for Umbraco.Commerce.Core.Configuration.Models in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Configuration.Models namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceCookieSettings](umbracocommercecookiesettings.md) | | -| class [UmbracoCommerceSettings](umbracocommercesettings.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/umbracocommercecookiesettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/umbracocommercecookiesettings.md deleted file mode 100644 index fed4f8c5e92..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/umbracocommercecookiesettings.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceCookieSettings -description: API reference for UmbracoCommerceCookieSettings in Umbraco Commerce ---- -## UmbracoCommerceCookieSettings - -```csharp -public class UmbracoCommerceCookieSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Configuration.Models](README.md) - -### Constructors - -#### UmbracoCommerceCookieSettings - -The default constructor. - -```csharp -public UmbracoCommerceCookieSettings() -``` - - -### Properties - -#### HttpOnly - -```csharp -public bool HttpOnly { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/umbracocommercesettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/umbracocommercesettings.md deleted file mode 100644 index ed3653fbfb9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration-models/umbracocommercesettings.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: UmbracoCommerceSettings -description: API reference for UmbracoCommerceSettings in Umbraco Commerce ---- -## UmbracoCommerceSettings - -```csharp -public class UmbracoCommerceSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Configuration.Models](README.md) - -### Constructors - -#### UmbracoCommerceSettings - -The default constructor. - -```csharp -public UmbracoCommerceSettings() -``` - - -### Properties - -#### Cookies - -```csharp -public UmbracoCommerceCookieSettings Cookies { get; set; } -``` - - ---- - -#### Telemetry - -```csharp -public UmbracoCommerceTelemetrySettings Telemetry { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration/README.md deleted file mode 100644 index e47d0972e6b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Configuration -description: API reference for Umbraco.Commerce.Core.Configuration in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Configuration namespace - -| Public Type | Description | -| --- | --- | -| interface [IUmbracoCommerceSettings](iumbracocommercesettings.md) | Contains global Umbraco Commerce settings | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration/iumbracocommercesettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration/iumbracocommercesettings.md deleted file mode 100644 index 50340502d24..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-configuration/iumbracocommercesettings.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: IUmbracoCommerceSettings -description: API reference for IUmbracoCommerceSettings in Umbraco Commerce ---- -## IUmbracoCommerceSettings - -Contains global Umbraco Commerce settings - -```csharp -public interface IUmbracoCommerceSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Configuration](README.md) - -### Properties - -#### BackOfficeMvcArea - -Gets the back office MVC area under which Umbraco Commerce is installed - -```csharp -public string BackOfficeMvcArea { get; } -``` - - ---- - -#### BackOfficePath - -Gets the back office path for this Umbraco Commerce install - -```csharp -public string BackOfficePath { get; } -``` - - ---- - -#### CookiesHttpOnly - -Gets a setting to define whether cookies should be http only, thus blocking javascript access - -```csharp -public bool CookiesHttpOnly { get; } -``` - - ---- - -#### TelemetryEnabled - -Gets a setting to define whether the telemetry service should be enabled or not - -```csharp -public bool TelemetryEnabled { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/README.md deleted file mode 100644 index f4187103c03..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Data -description: API reference for Umbraco.Commerce.Core.Data in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Data namespace - -| Public Type | Description | -| --- | --- | -| class [ConnectionStringConfig](connectionstringconfig.md) | | -| abstract class [ConnectionStringConfiguratorBase](connectionstringconfiguratorbase.md) | | -| class [UmbracoCommerceConnectionStringConfigurator](umbracocommerceconnectionstringconfigurator.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/connectionstringconfig.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/connectionstringconfig.md deleted file mode 100644 index c0820b7a296..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/connectionstringconfig.md +++ /dev/null @@ -1,94 +0,0 @@ ---- -title: ConnectionStringConfig -description: API reference for ConnectionStringConfig in Umbraco Commerce ---- -## ConnectionStringConfig - -```csharp -public class ConnectionStringConfig -``` - -**Namespace** -* [Umbraco.Commerce.Core.Data](README.md) - -### Constructors - -#### ConnectionStringConfig - -The default constructor. - -```csharp -public ConnectionStringConfig() -``` - - -### Fields - -#### DataDirectoryPlaceholder - -The DataDirectory placeholder. - -```csharp -public const string DataDirectoryPlaceholder; -``` - - ---- - -#### DefaultProviderName - -The default provider name when not present in configuration. - -```csharp -public const string DefaultProviderName; -``` - - ---- - -#### ProviderNamePostfix - -The postfix used to identify a connection strings provider setting. - -```csharp -public const string ProviderNamePostfix; -``` - - -### Properties - -#### ConnectionString - -```csharp -public string ConnectionString { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### ProviderName - -```csharp -public string ProviderName { get; set; } -``` - - -### Methods - -#### ToString - -```csharp -public override string ToString() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/connectionstringconfiguratorbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/connectionstringconfiguratorbase.md deleted file mode 100644 index 0b5162b9d79..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/connectionstringconfiguratorbase.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: ConnectionStringConfiguratorBase -description: API reference for ConnectionStringConfiguratorBase in Umbraco Commerce ---- -## ConnectionStringConfiguratorBase - -```csharp -public abstract class ConnectionStringConfiguratorBase : - IConfigureNamedOptions, IConfigureOptions -``` - -**Namespace** -* [Umbraco.Commerce.Core.Data](README.md) - -### Methods - -#### Configure - -```csharp -public virtual void Configure(ConnectionStringConfig options) -``` - - ---- - -#### Configure - -```csharp -public abstract void Configure(string name, ConnectionStringConfig options) -``` - - ---- - -#### DoConfigure - -```csharp -public virtual void DoConfigure(string name, ConnectionStringConfig options) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/umbracocommerceconnectionstringconfigurator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/umbracocommerceconnectionstringconfigurator.md deleted file mode 100644 index 8d49664a102..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-data/umbracocommerceconnectionstringconfigurator.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: UmbracoCommerceConnectionStringConfigurator -description: API reference for UmbracoCommerceConnectionStringConfigurator in Umbraco Commerce ---- -## UmbracoCommerceConnectionStringConfigurator - -```csharp -public class UmbracoCommerceConnectionStringConfigurator : ConnectionStringConfiguratorBase -``` - -**Inheritance** - -* Class [ConnectionStringConfiguratorBase](connectionstringconfiguratorbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Data](README.md) - -### Constructors - -#### UmbracoCommerceConnectionStringConfigurator - -```csharp -public UmbracoCommerceConnectionStringConfigurator(IConfiguration configuration) -``` - - -### Methods - -#### Configure - -```csharp -public override void Configure(string name, ConnectionStringConfig options) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/README.md deleted file mode 100644 index 22a2cecf724..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/README.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Discounts.Rewards -description: API reference for Umbraco.Commerce.Core.Discounts.Rewards in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Discounts.Rewards namespace - -| Public Type | Description | -| --- | --- | -| class [DiscountRewardCalculation](discountrewardcalculation.md) | | -| class [DiscountRewardContext](discountrewardcontext.md) | | -| class [DiscountRewardProviderAttribute](discountrewardproviderattribute.md) | | -| abstract class [DiscountRewardProviderBase<TSettingsType>](discountrewardproviderbase-1.md) | | -| abstract class [DiscountRewardProviderBase](discountrewardproviderbase.md) | | -| class [DiscountRewardProviderCollection](discountrewardprovidercollection.md) | | -| class [DiscountRewardProviderDefinition](discountrewardproviderdefinition.md) | | -| class [DiscountRewardProviderFactory](discountrewardproviderfactory.md) | | -| class [DiscountRewardProviderScaffold](discountrewardproviderscaffold.md) | | -| class [DiscountRewardProviderSettingAttribute](discountrewardprovidersettingattribute.md) | | -| class [DiscountRewardProviderSettingDefinition](discountrewardprovidersettingdefinition.md) | | -| interface [IDiscountRewardProvider<TSettingsType>](idiscountrewardprovider-1.md) | | -| interface [IDiscountRewardProvider](idiscountrewardprovider.md) | | -| class [OrderAmountDiscountRewardProvider](orderamountdiscountrewardprovider.md) | | -| class [OrderAmountDiscountRewardProviderSettings](orderamountdiscountrewardprovidersettings.md) | | -| class [OrderLineAmountDiscountRewardProvider](orderlineamountdiscountrewardprovider.md) | | -| abstract class [OrderLineAmountDiscountRewardProviderBase<TSettings>](orderlineamountdiscountrewardproviderbase-1.md) | | -| class [OrderLineAmountDiscountRewardProviderSettings](orderlineamountdiscountrewardprovidersettings.md) | | -| abstract class [OrderLineAmountDiscountRewardProviderSettingsBase](orderlineamountdiscountrewardprovidersettingsbase.md) | | -| class [OrderLineDiscountRewardCalculation](orderlinediscountrewardcalculation.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardcalculation.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardcalculation.md deleted file mode 100644 index 390af69c31c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardcalculation.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: DiscountRewardCalculation -description: API reference for DiscountRewardCalculation in Umbraco Commerce ---- -## DiscountRewardCalculation - -```csharp -public class DiscountRewardCalculation -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardCalculation - -The default constructor. - -```csharp -public DiscountRewardCalculation() -``` - - -### Properties - -#### OrderLineAdjustments - -```csharp -public Dictionary OrderLineAdjustments { get; } -``` - - ---- - -#### PaymentTotalPriceAdjustments - -```csharp -public List PaymentTotalPriceAdjustments { get; } -``` - - ---- - -#### ShippingTotalPriceAdjustments - -```csharp -public List ShippingTotalPriceAdjustments { get; } -``` - - ---- - -#### SubtotalPriceAdjustments - -```csharp -public List SubtotalPriceAdjustments { get; } -``` - - ---- - -#### TotalPriceAdjustments - -```csharp -public List TotalPriceAdjustments { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardcontext.md deleted file mode 100644 index 650562a4b08..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardcontext.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -title: DiscountRewardContext -description: API reference for DiscountRewardContext in Umbraco Commerce ---- -## DiscountRewardContext - -```csharp -public class DiscountRewardContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Properties - -#### Config - -```csharp -public DiscountRewardConfig Config { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - ---- - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderCalculation - -```csharp -public OrderCalculation OrderCalculation { get; set; } -``` - - ---- - -#### OrderLines - -```csharp -public IEnumerable OrderLines { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderattribute.md deleted file mode 100644 index aa03b97b4a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderattribute.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: DiscountRewardProviderAttribute -description: API reference for DiscountRewardProviderAttribute in Umbraco Commerce ---- -## DiscountRewardProviderAttribute - -```csharp -[AttributeUsage(AttributeTargets.Class)] -public class DiscountRewardProviderAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderAttribute - -```csharp -public DiscountRewardProviderAttribute(string alias, string name, string description = null, - string labelView = null, string icon = "icon-award") -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderbase-1.md deleted file mode 100644 index bafe413a142..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderbase-1.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: DiscountRewardProviderBase -description: API reference for DiscountRewardProviderBase in Umbraco Commerce ---- -## DiscountRewardProviderBase<TSettingsType> - -```csharp -public abstract class DiscountRewardProviderBase : DiscountRewardProviderBase, - IDiscountRewardProvider - where TSettingsType : new() -``` - -**Inheritance** - -* Class [DiscountRewardProviderBase](discountrewardproviderbase.md) -* interface [IDiscountRewardProvider<TSettingsType>](idiscountrewardprovider-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Properties - -#### SettingDefinitions - -```csharp -public override IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### CalculateReward - -```csharp -public override DiscountRewardCalculation CalculateReward(DiscountRewardContext context, - IReadOnlyDictionary settings) -``` - - ---- - -#### CalculateReward - -```csharp -public abstract DiscountRewardCalculation CalculateReward(DiscountRewardContext context, - TSettingsType settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderbase.md deleted file mode 100644 index 5cfc7bf4df5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderbase.md +++ /dev/null @@ -1,91 +0,0 @@ ---- -title: DiscountRewardProviderBase -description: API reference for DiscountRewardProviderBase in Umbraco Commerce ---- -## DiscountRewardProviderBase - -```csharp -public abstract class DiscountRewardProviderBase : IDiscountRewardProvider -``` - -**Inheritance** - -* interface [IDiscountRewardProvider](idiscountrewardprovider.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SettingDefinitions - -```csharp -public virtual IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### CalculateReward - -```csharp -public abstract DiscountRewardCalculation CalculateReward(DiscountRewardContext context, - IReadOnlyDictionary settings) -``` - - ---- - -#### GetDefaultSettings - -```csharp -public virtual IDictionary GetDefaultSettings() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidercollection.md deleted file mode 100644 index c224bf75080..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidercollection.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: DiscountRewardProviderCollection -description: API reference for DiscountRewardProviderCollection in Umbraco Commerce ---- -## DiscountRewardProviderCollection - -```csharp -public class DiscountRewardProviderCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderCollection - -```csharp -public DiscountRewardProviderCollection(Func> itemsFactory) -``` - - -### Indexers - -#### DiscountRewardProviderCollection - -```csharp -public IDiscountRewardProvider this[string alias] { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderdefinition.md deleted file mode 100644 index 1a52e048782..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderdefinition.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: DiscountRewardProviderDefinition -description: API reference for DiscountRewardProviderDefinition in Umbraco Commerce ---- -## DiscountRewardProviderDefinition - -```csharp -public class DiscountRewardProviderDefinition -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderDefinition - -The default constructor. - -```csharp -public DiscountRewardProviderDefinition() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderfactory.md deleted file mode 100644 index 8cc7519ebe9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderfactory.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: DiscountRewardProviderFactory -description: API reference for DiscountRewardProviderFactory in Umbraco Commerce ---- -## DiscountRewardProviderFactory - -```csharp -public class DiscountRewardProviderFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderFactory - -```csharp -public DiscountRewardProviderFactory(DiscountRewardProviderCollection discountRewardProviders) -``` - - -### Methods - -#### GetDiscountRewardProvider (1 of 2) - -```csharp -public IDiscountRewardProvider GetDiscountRewardProvider(string providerAlias) -``` - ---- - -#### GetDiscountRewardProvider (2 of 2) - -```csharp -public IDiscountRewardProvider GetDiscountRewardProvider(DiscountRewardConfig config) -``` - - ---- - -#### GetDiscountRewardProviders (1 of 2) - -```csharp -public IEnumerable GetDiscountRewardProviders( - IEnumerable providerAliases) -``` - ---- - -#### GetDiscountRewardProviders (2 of 2) - -```csharp -public IEnumerable GetDiscountRewardProviders( - IEnumerable configs) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderscaffold.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderscaffold.md deleted file mode 100644 index dd3ed938db7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardproviderscaffold.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DiscountRewardProviderScaffold -description: API reference for DiscountRewardProviderScaffold in Umbraco Commerce ---- -## DiscountRewardProviderScaffold - -```csharp -public class DiscountRewardProviderScaffold : DiscountRewardProviderDefinition -``` - -**Inheritance** - -* Class [DiscountRewardProviderDefinition](discountrewardproviderdefinition.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderScaffold - -The default constructor. - -```csharp -public DiscountRewardProviderScaffold() -``` - - -### Properties - -#### SettingDefinitions - -```csharp -public IEnumerable SettingDefinitions { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidersettingattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidersettingattribute.md deleted file mode 100644 index d2971ff2d02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidersettingattribute.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: DiscountRewardProviderSettingAttribute -description: API reference for DiscountRewardProviderSettingAttribute in Umbraco Commerce ---- -## DiscountRewardProviderSettingAttribute - -```csharp -[AttributeUsage(AttributeTargets.Property)] -public class DiscountRewardProviderSettingAttribute : UmbracoCommerceSettingAttribute -``` - -**Inheritance** - -* Class [UmbracoCommerceSettingAttribute](../umbraco-commerce-core-attributes/umbracocommercesettingattribute.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderSettingAttribute - -The default constructor. - -```csharp -public DiscountRewardProviderSettingAttribute() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidersettingdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidersettingdefinition.md deleted file mode 100644 index 1e01a9167d8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/discountrewardprovidersettingdefinition.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DiscountRewardProviderSettingDefinition -description: API reference for DiscountRewardProviderSettingDefinition in Umbraco Commerce ---- -## DiscountRewardProviderSettingDefinition - -```csharp -public class DiscountRewardProviderSettingDefinition : UmbracoCommerceSettingDefinition -``` - -**Inheritance** - -* Class [UmbracoCommerceSettingDefinition](../umbraco-commerce-core-models/umbracocommercesettingdefinition.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### DiscountRewardProviderSettingDefinition - -The default constructor. - -```csharp -public DiscountRewardProviderSettingDefinition() -``` - - ---- - -#### DiscountRewardProviderSettingDefinition - -```csharp -public DiscountRewardProviderSettingDefinition(string key, string name, string description = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/idiscountrewardprovider-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/idiscountrewardprovider-1.md deleted file mode 100644 index 316cada14ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/idiscountrewardprovider-1.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: IDiscountRewardProvider -description: API reference for IDiscountRewardProvider in Umbraco Commerce ---- -## IDiscountRewardProvider<TSettingsType> - -```csharp -public interface IDiscountRewardProvider : IDiscountRewardProvider - where TSettingsType : new() -``` - -**Inheritance** - -* interface [IDiscountRewardProvider](idiscountrewardprovider.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Methods - -#### CalculateReward - -```csharp -public DiscountRewardCalculation CalculateReward(DiscountRewardContext context, - TSettingsType settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/idiscountrewardprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/idiscountrewardprovider.md deleted file mode 100644 index bd22c3d8e32..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/idiscountrewardprovider.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: IDiscountRewardProvider -description: API reference for IDiscountRewardProvider in Umbraco Commerce ---- -## IDiscountRewardProvider - -```csharp -public interface IDiscountRewardProvider -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SettingDefinitions - -```csharp -public IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### CalculateReward - -```csharp -public DiscountRewardCalculation CalculateReward(DiscountRewardContext context, - IReadOnlyDictionary settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderamountdiscountrewardprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderamountdiscountrewardprovider.md deleted file mode 100644 index 7cf2eed00a5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderamountdiscountrewardprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: OrderAmountDiscountRewardProvider -description: API reference for OrderAmountDiscountRewardProvider in Umbraco Commerce ---- -## OrderAmountDiscountRewardProvider - -```csharp -public class OrderAmountDiscountRewardProvider : - DiscountRewardProviderBase -``` - -**Inheritance** - -* Class [DiscountRewardProviderBase<TSettingsType>](discountrewardproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderAmountDiscountRewardProvider - -The default constructor. - -```csharp -public OrderAmountDiscountRewardProvider() -``` - - -### Methods - -#### CalculateReward - -```csharp -public override DiscountRewardCalculation CalculateReward(DiscountRewardContext ctx, - OrderAmountDiscountRewardProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderamountdiscountrewardprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderamountdiscountrewardprovidersettings.md deleted file mode 100644 index 8de359c547a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderamountdiscountrewardprovidersettings.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: OrderAmountDiscountRewardProviderSettings -description: API reference for OrderAmountDiscountRewardProviderSettings in Umbraco Commerce ---- -## OrderAmountDiscountRewardProviderSettings - -```csharp -public class OrderAmountDiscountRewardProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderAmountDiscountRewardProviderSettings - -The default constructor. - -```csharp -public OrderAmountDiscountRewardProviderSettings() -``` - - -### Properties - -#### AdjustmentType - -```csharp -public AdjustmentType AdjustmentType { get; set; } -``` - - ---- - -#### Amounts - -```csharp -public IDictionary Amounts { get; set; } -``` - - ---- - -#### AmountsIncludeTax - -```csharp -public bool AmountsIncludeTax { get; set; } -``` - - ---- - -#### Percentage - -```csharp -public decimal? Percentage { get; set; } -``` - - ---- - -#### PriceType - -```csharp -public OrderPriceType PriceType { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovider.md deleted file mode 100644 index 2fdf8ca864a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: OrderLineAmountDiscountRewardProvider -description: API reference for OrderLineAmountDiscountRewardProvider in Umbraco Commerce ---- -## OrderLineAmountDiscountRewardProvider - -```csharp -public class OrderLineAmountDiscountRewardProvider : - OrderLineAmountDiscountRewardProviderBase -``` - -**Inheritance** - -* Class [OrderLineAmountDiscountRewardProviderBase<TSettings>](orderlineamountdiscountrewardproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderLineAmountDiscountRewardProvider - -The default constructor. - -```csharp -public OrderLineAmountDiscountRewardProvider() -``` - - -### Methods - -#### FilterOrderLines - -```csharp -public override IEnumerable FilterOrderLines(DiscountRewardContext ctx, - OrderLineAmountDiscountRewardProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardproviderbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardproviderbase-1.md deleted file mode 100644 index 603ee8f326f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardproviderbase-1.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: OrderLineAmountDiscountRewardProviderBase -description: API reference for OrderLineAmountDiscountRewardProviderBase in Umbraco Commerce ---- -## OrderLineAmountDiscountRewardProviderBase<TSettings> - -```csharp -public abstract class OrderLineAmountDiscountRewardProviderBase : - DiscountRewardProviderBase - where TSettings : OrderLineAmountDiscountRewardProviderSettingsBase, new() -``` - -**Inheritance** - -* Class [DiscountRewardProviderBase<TSettingsType>](discountrewardproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderLineAmountDiscountRewardProviderBase<TSettings> - -The default constructor. - -```csharp -public OrderLineAmountDiscountRewardProviderBase() -``` - - -### Methods - -#### CalculateReward - -```csharp -public override DiscountRewardCalculation CalculateReward(DiscountRewardContext ctx, - TSettings settings) -``` - - ---- - -#### FilterOrderLines - -```csharp -public abstract IEnumerable FilterOrderLines(DiscountRewardContext context, - TSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovidersettings.md deleted file mode 100644 index 00f0ef12705..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovidersettings.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: OrderLineAmountDiscountRewardProviderSettings -description: API reference for OrderLineAmountDiscountRewardProviderSettings in Umbraco Commerce ---- -## OrderLineAmountDiscountRewardProviderSettings - -```csharp -public class OrderLineAmountDiscountRewardProviderSettings : - OrderLineAmountDiscountRewardProviderSettingsBase -``` - -**Inheritance** - -* Class [OrderLineAmountDiscountRewardProviderSettingsBase](orderlineamountdiscountrewardprovidersettingsbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderLineAmountDiscountRewardProviderSettings - -The default constructor. - -```csharp -public OrderLineAmountDiscountRewardProviderSettings() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovidersettingsbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovidersettingsbase.md deleted file mode 100644 index 66d91cc38ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlineamountdiscountrewardprovidersettingsbase.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: OrderLineAmountDiscountRewardProviderSettingsBase -description: API reference for OrderLineAmountDiscountRewardProviderSettingsBase in Umbraco Commerce ---- -## OrderLineAmountDiscountRewardProviderSettingsBase - -```csharp -public abstract class OrderLineAmountDiscountRewardProviderSettingsBase -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderLineAmountDiscountRewardProviderSettingsBase - -The default constructor. - -```csharp -public OrderLineAmountDiscountRewardProviderSettingsBase() -``` - - -### Properties - -#### AdjustmentType - -```csharp -public AdjustmentType AdjustmentType { get; set; } -``` - - ---- - -#### Amounts - -```csharp -public IDictionary Amounts { get; set; } -``` - - ---- - -#### AmountsIncludeTax - -```csharp -public bool AmountsIncludeTax { get; set; } -``` - - ---- - -#### Percentage - -```csharp -public decimal? Percentage { get; set; } -``` - - ---- - -#### PriceType - -```csharp -public OrderLinePriceType PriceType { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlinediscountrewardcalculation.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlinediscountrewardcalculation.md deleted file mode 100644 index 1a03bd5ded2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rewards/orderlinediscountrewardcalculation.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: OrderLineDiscountRewardCalculation -description: API reference for OrderLineDiscountRewardCalculation in Umbraco Commerce ---- -## OrderLineDiscountRewardCalculation - -```csharp -public class OrderLineDiscountRewardCalculation -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rewards](README.md) - -### Constructors - -#### OrderLineDiscountRewardCalculation - -The default constructor. - -```csharp -public OrderLineDiscountRewardCalculation() -``` - - -### Properties - -#### BasePriceAdjustments - -```csharp -public List BasePriceAdjustments { get; } -``` - - ---- - -#### TotalPriceAdjustments - -```csharp -public List TotalPriceAdjustments { get; } -``` - - ---- - -#### UnitPriceAdjustments - -```csharp -public List UnitPriceAdjustments { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/README.md deleted file mode 100644 index 2b7b3c7af3d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/README.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Discounts.Rules -description: API reference for Umbraco.Commerce.Core.Discounts.Rules in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Discounts.Rules namespace - -| Public Type | Description | -| --- | --- | -| class [DiscountRuleContext](discountrulecontext.md) | | -| class [DiscountRuleProviderAttribute](discountruleproviderattribute.md) | | -| abstract class [DiscountRuleProviderBase<TSettingsType>](discountruleproviderbase-1.md) | | -| abstract class [DiscountRuleProviderBase](discountruleproviderbase.md) | | -| class [DiscountRuleProviderCollection](discountruleprovidercollection.md) | | -| class [DiscountRuleProviderDefinition](discountruleproviderdefinition.md) | | -| class [DiscountRuleProviderFactory](discountruleproviderfactory.md) | | -| class [DiscountRuleProviderScaffold](discountruleproviderscaffold.md) | | -| class [DiscountRuleProviderSettingAttribute](discountruleprovidersettingattribute.md) | | -| class [DiscountRuleProviderSettingDefinition](discountruleprovidersettingdefinition.md) | | -| class [DiscountRuleResult](discountruleresult.md) | | -| class [GroupDiscountRuleProvider](groupdiscountruleprovider.md) | | -| class [GroupDiscountRuleProviderSettings](groupdiscountruleprovidersettings.md) | | -| interface [IDiscountRuleProvider<TSettingsType>](idiscountruleprovider-1.md) | | -| interface [IDiscountRuleProvider](idiscountruleprovider.md) | | -| interface [IHasChildDiscountRules](ihaschilddiscountrules.md) | | -| class [OrderAmountDiscountRuleProvider](orderamountdiscountruleprovider.md) | | -| class [OrderAmountDiscountRuleProviderSettings](orderamountdiscountruleprovidersettings.md) | | -| abstract class [OrderDiscountRuleProviderBase<TSettings>](orderdiscountruleproviderbase-1.md) | | -| class [OrderLineAmountDiscountRuleProvider](orderlineamountdiscountruleprovider.md) | | -| class [OrderLineAmountDiscountRuleProviderSettings](orderlineamountdiscountruleprovidersettings.md) | | -| abstract class [OrderLineDiscountRuleProviderBase<TSettings>](orderlinediscountruleproviderbase-1.md) | | -| class [OrderLineQuantityDiscountRuleProvider](orderlinequantitydiscountruleprovider.md) | | -| class [OrderLineQuantityDiscountRuleProviderSettings](orderlinequantitydiscountruleprovidersettings.md) | | -| class [PaymentMethodDiscountRuleProvider](paymentmethoddiscountruleprovider.md) | | -| class [PaymentMethodDiscountRuleProviderSettings](paymentmethoddiscountruleprovidersettings.md) | | -| class [PropertyDiscountRuleProvider](propertydiscountruleprovider.md) | | -| class [PropertyDiscountRuleProviderSettings](propertydiscountruleprovidersettings.md) | | -| class [ShippingMethodDiscountRuleProvider](shippingmethoddiscountruleprovider.md) | | -| class [ShippingMethodDiscountRuleProviderSettings](shippingmethoddiscountruleprovidersettings.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountrulecontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountrulecontext.md deleted file mode 100644 index 0e9f339134f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountrulecontext.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: DiscountRuleContext -description: API reference for DiscountRuleContext in Umbraco Commerce ---- -## DiscountRuleContext - -```csharp -public class DiscountRuleContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Properties - -#### ApplicableOrderLines - -```csharp -public IEnumerable ApplicableOrderLines { get; } -``` - - ---- - -#### Config - -```csharp -public DiscountRuleConfig Config { get; } -``` - - ---- - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; set; } -``` - - ---- - -#### OrderCalculation - -```csharp -public OrderCalculation OrderCalculation { get; set; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderattribute.md deleted file mode 100644 index ac05c140f4c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderattribute.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: DiscountRuleProviderAttribute -description: API reference for DiscountRuleProviderAttribute in Umbraco Commerce ---- -## DiscountRuleProviderAttribute - -```csharp -[AttributeUsage(AttributeTargets.Class)] -public class DiscountRuleProviderAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderAttribute - -```csharp -public DiscountRuleProviderAttribute(string alias, string name, string description = null, - string labelView = null, string icon = "icon-settings-alt") -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderbase-1.md deleted file mode 100644 index 76c2c6ea7b0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderbase-1.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: DiscountRuleProviderBase -description: API reference for DiscountRuleProviderBase in Umbraco Commerce ---- -## DiscountRuleProviderBase<TSettingsType> - -```csharp -public abstract class DiscountRuleProviderBase : DiscountRuleProviderBase, - IDiscountRuleProvider - where TSettingsType : new() -``` - -**Inheritance** - -* Class [DiscountRuleProviderBase](discountruleproviderbase.md) -* interface [IDiscountRuleProvider<TSettingsType>](idiscountruleprovider-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Properties - -#### SettingDefinitions - -```csharp -public override IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext context, - IReadOnlyDictionary settings) -``` - - ---- - -#### ValidateRule - -```csharp -public abstract DiscountRuleResult ValidateRule(DiscountRuleContext context, TSettingsType settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderbase.md deleted file mode 100644 index 4b4351fe39c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderbase.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: DiscountRuleProviderBase -description: API reference for DiscountRuleProviderBase in Umbraco Commerce ---- -## DiscountRuleProviderBase - -```csharp -public abstract class DiscountRuleProviderBase : IDiscountRuleProvider -``` - -**Inheritance** - -* interface [IDiscountRuleProvider](idiscountruleprovider.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SettingDefinitions - -```csharp -public virtual IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### ValidateRule - -```csharp -public abstract DiscountRuleResult ValidateRule(DiscountRuleContext context, - IReadOnlyDictionary settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidercollection.md deleted file mode 100644 index e2cfe3a0643..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidercollection.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: DiscountRuleProviderCollection -description: API reference for DiscountRuleProviderCollection in Umbraco Commerce ---- -## DiscountRuleProviderCollection - -```csharp -public class DiscountRuleProviderCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderCollection - -```csharp -public DiscountRuleProviderCollection(Func> itemsFactory) -``` - - -### Indexers - -#### DiscountRuleProviderCollection - -```csharp -public IDiscountRuleProvider this[string alias] { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderdefinition.md deleted file mode 100644 index d6d42e7163a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderdefinition.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: DiscountRuleProviderDefinition -description: API reference for DiscountRuleProviderDefinition in Umbraco Commerce ---- -## DiscountRuleProviderDefinition - -```csharp -public class DiscountRuleProviderDefinition -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderDefinition - -The default constructor. - -```csharp -public DiscountRuleProviderDefinition() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderfactory.md deleted file mode 100644 index 4e7f2b8cd91..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderfactory.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: DiscountRuleProviderFactory -description: API reference for DiscountRuleProviderFactory in Umbraco Commerce ---- -## DiscountRuleProviderFactory - -```csharp -public class DiscountRuleProviderFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderFactory - -```csharp -public DiscountRuleProviderFactory(DiscountRuleProviderCollection discountRuleProviders) -``` - - -### Methods - -#### GetDiscountRuleProvider (1 of 2) - -```csharp -public IDiscountRuleProvider GetDiscountRuleProvider(string providerAlias) -``` - ---- - -#### GetDiscountRuleProvider (2 of 2) - -```csharp -public IDiscountRuleProvider GetDiscountRuleProvider(DiscountRuleConfig config) -``` - - ---- - -#### GetDiscountRuleProviders (1 of 2) - -```csharp -public IEnumerable GetDiscountRuleProviders( - IEnumerable providerAliases) -``` - ---- - -#### GetDiscountRuleProviders (2 of 2) - -```csharp -public IEnumerable GetDiscountRuleProviders( - IEnumerable configs) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderscaffold.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderscaffold.md deleted file mode 100644 index 383c1852d96..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleproviderscaffold.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DiscountRuleProviderScaffold -description: API reference for DiscountRuleProviderScaffold in Umbraco Commerce ---- -## DiscountRuleProviderScaffold - -```csharp -public class DiscountRuleProviderScaffold : DiscountRuleProviderDefinition -``` - -**Inheritance** - -* Class [DiscountRuleProviderDefinition](discountruleproviderdefinition.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderScaffold - -The default constructor. - -```csharp -public DiscountRuleProviderScaffold() -``` - - -### Properties - -#### SettingDefinitions - -```csharp -public IEnumerable SettingDefinitions { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidersettingattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidersettingattribute.md deleted file mode 100644 index cf52f94b656..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidersettingattribute.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: DiscountRuleProviderSettingAttribute -description: API reference for DiscountRuleProviderSettingAttribute in Umbraco Commerce ---- -## DiscountRuleProviderSettingAttribute - -```csharp -[AttributeUsage(AttributeTargets.Property)] -public class DiscountRuleProviderSettingAttribute : UmbracoCommerceSettingAttribute -``` - -**Inheritance** - -* Class [UmbracoCommerceSettingAttribute](../umbraco-commerce-core-attributes/umbracocommercesettingattribute.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderSettingAttribute - -The default constructor. - -```csharp -public DiscountRuleProviderSettingAttribute() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidersettingdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidersettingdefinition.md deleted file mode 100644 index 87e82e609b3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleprovidersettingdefinition.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: DiscountRuleProviderSettingDefinition -description: API reference for DiscountRuleProviderSettingDefinition in Umbraco Commerce ---- -## DiscountRuleProviderSettingDefinition - -```csharp -public class DiscountRuleProviderSettingDefinition : UmbracoCommerceSettingDefinition -``` - -**Inheritance** - -* Class [UmbracoCommerceSettingDefinition](../umbraco-commerce-core-models/umbracocommercesettingdefinition.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleProviderSettingDefinition - -The default constructor. - -```csharp -public DiscountRuleProviderSettingDefinition() -``` - - ---- - -#### DiscountRuleProviderSettingDefinition - -```csharp -public DiscountRuleProviderSettingDefinition(string key, string name, string description = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleresult.md deleted file mode 100644 index 90b01b65c9a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/discountruleresult.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: DiscountRuleResult -description: API reference for DiscountRuleResult in Umbraco Commerce ---- -## DiscountRuleResult - -```csharp -public class DiscountRuleResult -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### DiscountRuleResult (1 of 2) - -```csharp -public DiscountRuleResult(bool isFulfilled, bool isOrderLineRuleResult) -``` - ---- - -#### DiscountRuleResult (2 of 2) - -```csharp -public DiscountRuleResult(bool isFulfilled, bool isOrderLineRuleResult, - IEnumerable fulfilledOrderLines) -``` - - -### Properties - -#### FulfilledOrderLines - -```csharp -public IEnumerable FulfilledOrderLines { get; } -``` - - ---- - -#### IsFulfilled - -```csharp -public bool IsFulfilled { get; } -``` - - ---- - -#### IsOrderLineRuleResult - -```csharp -public bool IsOrderLineRuleResult { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/groupdiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/groupdiscountruleprovider.md deleted file mode 100644 index a1253c07987..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/groupdiscountruleprovider.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: GroupDiscountRuleProvider -description: API reference for GroupDiscountRuleProvider in Umbraco Commerce ---- -## GroupDiscountRuleProvider - -```csharp -public class GroupDiscountRuleProvider : DiscountRuleProviderBase -``` - -**Inheritance** - -* Class [DiscountRuleProviderBase<TSettingsType>](discountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### GroupDiscountRuleProvider - -```csharp -public GroupDiscountRuleProvider(Lazy discountRuleFactory) -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - GroupDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/groupdiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/groupdiscountruleprovidersettings.md deleted file mode 100644 index ee92ec84b3c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/groupdiscountruleprovidersettings.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: GroupDiscountRuleProviderSettings -description: API reference for GroupDiscountRuleProviderSettings in Umbraco Commerce ---- -## GroupDiscountRuleProviderSettings - -```csharp -public class GroupDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### GroupDiscountRuleProviderSettings - -The default constructor. - -```csharp -public GroupDiscountRuleProviderSettings() -``` - - -### Properties - -#### ChildSettings - -```csharp -public IList> ChildSettings { get; set; } -``` - - ---- - -#### MatchType - -```csharp -public MatchType MatchType { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/idiscountruleprovider-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/idiscountruleprovider-1.md deleted file mode 100644 index e8862fda65e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/idiscountruleprovider-1.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: IDiscountRuleProvider -description: API reference for IDiscountRuleProvider in Umbraco Commerce ---- -## IDiscountRuleProvider<TSettingsType> - -```csharp -public interface IDiscountRuleProvider : IDiscountRuleProvider - where TSettingsType : new() -``` - -**Inheritance** - -* interface [IDiscountRuleProvider](idiscountruleprovider.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Methods - -#### ValidateRule - -```csharp -public DiscountRuleResult ValidateRule(DiscountRuleContext context, TSettingsType settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/idiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/idiscountruleprovider.md deleted file mode 100644 index 791eaaa0d58..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/idiscountruleprovider.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: IDiscountRuleProvider -description: API reference for IDiscountRuleProvider in Umbraco Commerce ---- -## IDiscountRuleProvider - -```csharp -public interface IDiscountRuleProvider -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; } -``` - - ---- - -#### LabelView - -```csharp -public string LabelView { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SettingDefinitions - -```csharp -public IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### ValidateRule - -```csharp -public DiscountRuleResult ValidateRule(DiscountRuleContext context, - IReadOnlyDictionary settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/ihaschilddiscountrules.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/ihaschilddiscountrules.md deleted file mode 100644 index 89b42252ad4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/ihaschilddiscountrules.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasChildDiscountRules -description: API reference for IHasChildDiscountRules in Umbraco Commerce ---- -## IHasChildDiscountRules - -```csharp -public interface IHasChildDiscountRules -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Properties - -#### Rules - -```csharp -public IList Rules { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderamountdiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderamountdiscountruleprovider.md deleted file mode 100644 index 50e585abc3c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderamountdiscountruleprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: OrderAmountDiscountRuleProvider -description: API reference for OrderAmountDiscountRuleProvider in Umbraco Commerce ---- -## OrderAmountDiscountRuleProvider - -```csharp -public class OrderAmountDiscountRuleProvider : - OrderDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderDiscountRuleProviderBase<TSettings>](orderdiscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### OrderAmountDiscountRuleProvider - -The default constructor. - -```csharp -public OrderAmountDiscountRuleProvider() -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - OrderAmountDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderamountdiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderamountdiscountruleprovidersettings.md deleted file mode 100644 index 863a0fdc8a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderamountdiscountruleprovidersettings.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: OrderAmountDiscountRuleProviderSettings -description: API reference for OrderAmountDiscountRuleProviderSettings in Umbraco Commerce ---- -## OrderAmountDiscountRuleProviderSettings - -```csharp -public class OrderAmountDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### OrderAmountDiscountRuleProviderSettings - -The default constructor. - -```csharp -public OrderAmountDiscountRuleProviderSettings() -``` - - -### Properties - -#### Amounts - -```csharp -public IDictionary Amounts { get; set; } -``` - - ---- - -#### AmountsIncludeTax - -```csharp -public bool AmountsIncludeTax { get; set; } -``` - - ---- - -#### ComparisonOperator - -```csharp -public ComparisonOperator ComparisonOperator { get; set; } -``` - - ---- - -#### PriceType - -```csharp -public OrderPriceType PriceType { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderdiscountruleproviderbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderdiscountruleproviderbase-1.md deleted file mode 100644 index 4e68c6bede6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderdiscountruleproviderbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: OrderDiscountRuleProviderBase -description: API reference for OrderDiscountRuleProviderBase in Umbraco Commerce ---- -## OrderDiscountRuleProviderBase<TSettings> - -```csharp -public abstract class OrderDiscountRuleProviderBase : DiscountRuleProviderBase - where TSettings : new() -``` - -**Inheritance** - -* Class [DiscountRuleProviderBase<TSettingsType>](discountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Methods - -#### Fulfilled - -```csharp -public virtual DiscountRuleResult Fulfilled() -``` - - ---- - -#### Unfulfilled - -```csharp -public virtual DiscountRuleResult Unfulfilled() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlineamountdiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlineamountdiscountruleprovider.md deleted file mode 100644 index 519b4e8755d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlineamountdiscountruleprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: OrderLineAmountDiscountRuleProvider -description: API reference for OrderLineAmountDiscountRuleProvider in Umbraco Commerce ---- -## OrderLineAmountDiscountRuleProvider - -```csharp -public class OrderLineAmountDiscountRuleProvider : - OrderLineDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderLineDiscountRuleProviderBase<TSettings>](orderlinediscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### OrderLineAmountDiscountRuleProvider - -The default constructor. - -```csharp -public OrderLineAmountDiscountRuleProvider() -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - OrderLineAmountDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlineamountdiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlineamountdiscountruleprovidersettings.md deleted file mode 100644 index 5152c527234..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlineamountdiscountruleprovidersettings.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: OrderLineAmountDiscountRuleProviderSettings -description: API reference for OrderLineAmountDiscountRuleProviderSettings in Umbraco Commerce ---- -## OrderLineAmountDiscountRuleProviderSettings - -```csharp -public class OrderLineAmountDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### OrderLineAmountDiscountRuleProviderSettings - -The default constructor. - -```csharp -public OrderLineAmountDiscountRuleProviderSettings() -``` - - -### Properties - -#### Accumulate - -```csharp -public bool Accumulate { get; set; } -``` - - ---- - -#### Amounts - -```csharp -public IDictionary Amounts { get; set; } -``` - - ---- - -#### AmountsIncludeTax - -```csharp -public bool AmountsIncludeTax { get; set; } -``` - - ---- - -#### ComparisonOperator - -```csharp -public ComparisonOperator ComparisonOperator { get; set; } -``` - - ---- - -#### PriceType - -```csharp -public OrderLinePriceType PriceType { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinediscountruleproviderbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinediscountruleproviderbase-1.md deleted file mode 100644 index a01cd58cd4e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinediscountruleproviderbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderLineDiscountRuleProviderBase -description: API reference for OrderLineDiscountRuleProviderBase in Umbraco Commerce ---- -## OrderLineDiscountRuleProviderBase<TSettings> - -```csharp -public abstract class OrderLineDiscountRuleProviderBase : - DiscountRuleProviderBase - where TSettings : new() -``` - -**Inheritance** - -* Class [DiscountRuleProviderBase<TSettingsType>](discountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Methods - -#### Fulfilled - -```csharp -public virtual DiscountRuleResult Fulfilled(IEnumerable fullfilledOrderLines) -``` - - ---- - -#### Unfulfilled - -```csharp -public virtual DiscountRuleResult Unfulfilled() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinequantitydiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinequantitydiscountruleprovider.md deleted file mode 100644 index 2ab92c45f2f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinequantitydiscountruleprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: OrderLineQuantityDiscountRuleProvider -description: API reference for OrderLineQuantityDiscountRuleProvider in Umbraco Commerce ---- -## OrderLineQuantityDiscountRuleProvider - -```csharp -public class OrderLineQuantityDiscountRuleProvider : - OrderLineDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderLineDiscountRuleProviderBase<TSettings>](orderlinediscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### OrderLineQuantityDiscountRuleProvider - -The default constructor. - -```csharp -public OrderLineQuantityDiscountRuleProvider() -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - OrderLineQuantityDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinequantitydiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinequantitydiscountruleprovidersettings.md deleted file mode 100644 index dde8cabe4f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/orderlinequantitydiscountruleprovidersettings.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: OrderLineQuantityDiscountRuleProviderSettings -description: API reference for OrderLineQuantityDiscountRuleProviderSettings in Umbraco Commerce ---- -## OrderLineQuantityDiscountRuleProviderSettings - -```csharp -public class OrderLineQuantityDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### OrderLineQuantityDiscountRuleProviderSettings - -The default constructor. - -```csharp -public OrderLineQuantityDiscountRuleProviderSettings() -``` - - -### Properties - -#### Accumulate - -```csharp -public bool Accumulate { get; set; } -``` - - ---- - -#### ComparisonOperator - -```csharp -public ComparisonOperator ComparisonOperator { get; set; } -``` - - ---- - -#### Quantity - -```csharp -public decimal Quantity { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/paymentmethoddiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/paymentmethoddiscountruleprovider.md deleted file mode 100644 index ed8315c26ee..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/paymentmethoddiscountruleprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: PaymentMethodDiscountRuleProvider -description: API reference for PaymentMethodDiscountRuleProvider in Umbraco Commerce ---- -## PaymentMethodDiscountRuleProvider - -```csharp -public class PaymentMethodDiscountRuleProvider : - OrderDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderDiscountRuleProviderBase<TSettings>](orderdiscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### PaymentMethodDiscountRuleProvider - -The default constructor. - -```csharp -public PaymentMethodDiscountRuleProvider() -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - PaymentMethodDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/paymentmethoddiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/paymentmethoddiscountruleprovidersettings.md deleted file mode 100644 index 8c8408dc1a4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/paymentmethoddiscountruleprovidersettings.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: PaymentMethodDiscountRuleProviderSettings -description: API reference for PaymentMethodDiscountRuleProviderSettings in Umbraco Commerce ---- -## PaymentMethodDiscountRuleProviderSettings - -```csharp -public class PaymentMethodDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### PaymentMethodDiscountRuleProviderSettings - -The default constructor. - -```csharp -public PaymentMethodDiscountRuleProviderSettings() -``` - - -### Properties - -#### PaymentMethodId - -```csharp -public Guid? PaymentMethodId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/propertydiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/propertydiscountruleprovider.md deleted file mode 100644 index a4fc7f15d71..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/propertydiscountruleprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: PropertyDiscountRuleProvider -description: API reference for PropertyDiscountRuleProvider in Umbraco Commerce ---- -## PropertyDiscountRuleProvider - -```csharp -public class PropertyDiscountRuleProvider : - DiscountRuleProviderBase -``` - -**Inheritance** - -* Class [DiscountRuleProviderBase<TSettingsType>](discountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### PropertyDiscountRuleProvider - -The default constructor. - -```csharp -public PropertyDiscountRuleProvider() -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - PropertyDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/propertydiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/propertydiscountruleprovidersettings.md deleted file mode 100644 index 37e35813a3e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/propertydiscountruleprovidersettings.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: PropertyDiscountRuleProviderSettings -description: API reference for PropertyDiscountRuleProviderSettings in Umbraco Commerce ---- -## PropertyDiscountRuleProviderSettings - -```csharp -public class PropertyDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### PropertyDiscountRuleProviderSettings - -The default constructor. - -```csharp -public PropertyDiscountRuleProviderSettings() -``` - - -### Properties - -#### ComparisonOperator - -```csharp -public ComparisonOperator ComparisonOperator { get; set; } -``` - - ---- - -#### PropertyAlias - -```csharp -public string PropertyAlias { get; set; } -``` - - ---- - -#### PropertySource - -```csharp -public PropertySource PropertySource { get; set; } -``` - - ---- - -#### Value - -```csharp -public string Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/shippingmethoddiscountruleprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/shippingmethoddiscountruleprovider.md deleted file mode 100644 index efeb1a3b7af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/shippingmethoddiscountruleprovider.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: ShippingMethodDiscountRuleProvider -description: API reference for ShippingMethodDiscountRuleProvider in Umbraco Commerce ---- -## ShippingMethodDiscountRuleProvider - -```csharp -public class ShippingMethodDiscountRuleProvider : - OrderDiscountRuleProviderBase -``` - -**Inheritance** - -* Class [OrderDiscountRuleProviderBase<TSettings>](orderdiscountruleproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### ShippingMethodDiscountRuleProvider - -The default constructor. - -```csharp -public ShippingMethodDiscountRuleProvider() -``` - - -### Methods - -#### ValidateRule - -```csharp -public override DiscountRuleResult ValidateRule(DiscountRuleContext ctx, - ShippingMethodDiscountRuleProviderSettings settings) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/shippingmethoddiscountruleprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/shippingmethoddiscountruleprovidersettings.md deleted file mode 100644 index 12ba29d66d1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts-rules/shippingmethoddiscountruleprovidersettings.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ShippingMethodDiscountRuleProviderSettings -description: API reference for ShippingMethodDiscountRuleProviderSettings in Umbraco Commerce ---- -## ShippingMethodDiscountRuleProviderSettings - -```csharp -public class ShippingMethodDiscountRuleProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.Discounts.Rules](README.md) - -### Constructors - -#### ShippingMethodDiscountRuleProviderSettings - -The default constructor. - -```csharp -public ShippingMethodDiscountRuleProviderSettings() -``` - - -### Properties - -#### ShippingMethodId - -```csharp -public Guid? ShippingMethodId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts/README.md deleted file mode 100644 index cf768cc7b52..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Discounts -description: API reference for Umbraco.Commerce.Core.Discounts in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Discounts namespace - -| Public Type | Description | -| --- | --- | -| abstract class [DiscountProviderFactoryBase<TResult,TConfig>](discountproviderfactorybase-2.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts/discountproviderfactorybase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts/discountproviderfactorybase-2.md deleted file mode 100644 index 758dfc3343c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-discounts/discountproviderfactorybase-2.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: DiscountProviderFactoryBase -description: API reference for DiscountProviderFactoryBase in Umbraco Commerce ---- -## DiscountProviderFactoryBase<TResult,TConfig> - -```csharp -public abstract class DiscountProviderFactoryBase : DynamicFactoryBase -``` - -**Inheritance** - -* Class [DynamicFactoryBase](../../umbraco-commerce-common/umbraco-commerce-common/dynamicfactorybase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Discounts](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/README.md deleted file mode 100644 index fc70fe3bcf9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Notification.Handlers.Order -description: API reference for Umbraco.Commerce.Core.Events.Notification.Handlers.Order in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Notification.Handlers.Order namespace - -| Public Type | Description | -| --- | --- | -| class [SendFinalizedOrderEmail](sendfinalizedorderemail.md) | | -| class [SendGiftCardEmails](sendgiftcardemails.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/sendfinalizedorderemail.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/sendfinalizedorderemail.md deleted file mode 100644 index ece91ac3030..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/sendfinalizedorderemail.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: SendFinalizedOrderEmail -description: API reference for SendFinalizedOrderEmail in Umbraco Commerce ---- -## SendFinalizedOrderEmail - -```csharp -public class SendFinalizedOrderEmail : NotificationEventHandlerBase -``` - -**Inheritance** - -* Class [NotificationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification.Handlers.Order](README.md) - -### Constructors - -#### SendFinalizedOrderEmail - -```csharp -public SendFinalizedOrderEmail(IOrderService orderService, IStoreService storeService, - IEmailTemplateService emailTemplateService, ILogger logger) -``` - - -### Methods - -#### Handle - -```csharp -public override void Handle(OrderFinalizedNotification evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/sendgiftcardemails.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/sendgiftcardemails.md deleted file mode 100644 index e42d2c0c0f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification-handlers-order/sendgiftcardemails.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: SendGiftCardEmails -description: API reference for SendGiftCardEmails in Umbraco Commerce ---- -## SendGiftCardEmails - -```csharp -public class SendGiftCardEmails : NotificationEventHandlerBase -``` - -**Inheritance** - -* Class [NotificationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification.Handlers.Order](README.md) - -### Constructors - -#### SendGiftCardEmails - -```csharp -public SendGiftCardEmails(IStoreService storeService, IGiftCardService giftCardService, - IEmailTemplateService emailTemplateService, ILogger logger) -``` - - -### Methods - -#### Handle - -```csharp -public override void Handle(OrderFinalizedNotification evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/README.md deleted file mode 100644 index 1d37d67af16..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/README.md +++ /dev/null @@ -1,222 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Notification -description: API reference for Umbraco.Commerce.Core.Events.Notification in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Notification namespace - -| Public Type | Description | -| --- | --- | -| class [CountryCreatedNotification](countrycreatednotification.md) | | -| class [CountryCreatingNotification](countrycreatingnotification.md) | | -| class [CountryDeletedNotification](countrydeletednotification.md) | | -| class [CountryDeletingNotification](countrydeletingnotification.md) | | -| abstract class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) | | -| class [CountrySavedNotification](countrysavednotification.md) | | -| class [CountrySavingNotification](countrysavingnotification.md) | | -| class [CountryUpdatedNotification](countryupdatednotification.md) | | -| class [CountryUpdatingNotification](countryupdatingnotification.md) | | -| class [CurrencyCreatedNotification](currencycreatednotification.md) | | -| class [CurrencyCreatingNotification](currencycreatingnotification.md) | | -| class [CurrencyDeletedNotification](currencydeletednotification.md) | | -| class [CurrencyDeletingNotification](currencydeletingnotification.md) | | -| abstract class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) | | -| class [CurrencySavedNotification](currencysavednotification.md) | | -| class [CurrencySavingNotification](currencysavingnotification.md) | | -| class [CurrencyUpdatedNotification](currencyupdatednotification.md) | | -| class [CurrencyUpdatingNotification](currencyupdatingnotification.md) | | -| class [DiscountCreatedNotification](discountcreatednotification.md) | | -| class [DiscountCreatingNotification](discountcreatingnotification.md) | | -| class [DiscountDeletedNotification](discountdeletednotification.md) | | -| class [DiscountDeletingNotification](discountdeletingnotification.md) | | -| abstract class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) | | -| class [DiscountSavedNotification](discountsavednotification.md) | | -| class [DiscountSavingNotification](discountsavingnotification.md) | | -| class [DiscountUpdatedNotification](discountupdatednotification.md) | | -| class [DiscountUpdatingNotification](discountupdatingnotification.md) | | -| class [EmailFailedNotification](emailfailednotification.md) | | -| class [EmailSendingNotification](emailsendingnotification.md) | | -| class [EmailSentNotification](emailsentnotification.md) | | -| class [EmailTemplateCreatedNotification](emailtemplatecreatednotification.md) | | -| class [EmailTemplateCreatingNotification](emailtemplatecreatingnotification.md) | | -| class [EmailTemplateDeletedNotification](emailtemplatedeletednotification.md) | | -| class [EmailTemplateDeletingNotification](emailtemplatedeletingnotification.md) | | -| abstract class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) | | -| class [EmailTemplateSavedNotification](emailtemplatesavednotification.md) | | -| class [EmailTemplateSavingNotification](emailtemplatesavingnotification.md) | | -| class [EmailTemplateUpdatedNotification](emailtemplateupdatednotification.md) | | -| class [EmailTemplateUpdatingNotification](emailtemplateupdatingnotification.md) | | -| class [ExportTemplateCreatedNotification](exporttemplatecreatednotification.md) | | -| class [ExportTemplateCreatingNotification](exporttemplatecreatingnotification.md) | | -| class [ExportTemplateDeletedNotification](exporttemplatedeletednotification.md) | | -| class [ExportTemplateDeletingNotification](exporttemplatedeletingnotification.md) | | -| abstract class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) | | -| class [ExportTemplateSavedNotification](exporttemplatesavednotification.md) | | -| class [ExportTemplateSavingNotification](exporttemplatesavingnotification.md) | | -| class [ExportTemplateUpdatedNotification](exporttemplateupdatednotification.md) | | -| class [ExportTemplateUpdatingNotification](exporttemplateupdatingnotification.md) | | -| class [FrozenPricesThawedNotification](frozenpricesthawednotification.md) | | -| class [FrozenPricesThawingNotification](frozenpricesthawingnotification.md) | | -| class [GiftCardCreatedNotification](giftcardcreatednotification.md) | | -| class [GiftCardCreatingNotification](giftcardcreatingnotification.md) | | -| class [GiftCardDeletedNotification](giftcarddeletednotification.md) | | -| class [GiftCardDeletingNotification](giftcarddeletingnotification.md) | | -| abstract class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) | | -| class [GiftCardSavedNotification](giftcardsavednotification.md) | | -| class [GiftCardSavingNotification](giftcardsavingnotification.md) | | -| class [GiftCardUpdatedNotification](giftcardupdatednotification.md) | | -| class [GiftCardUpdatingNotification](giftcardupdatingnotification.md) | | -| class [OrderAssignedToCustomerNotification](orderassignedtocustomernotification.md) | | -| class [OrderAssigningToCustomerNotification](orderassigningtocustomernotification.md) | | -| abstract class [OrderAssignToCustomerNotificationBase<TEntity>](orderassigntocustomernotificationbase-1.md) | | -| abstract class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) | | -| class [OrderCreatedNotification](ordercreatednotification.md) | | -| class [OrderCreatingNotification](ordercreatingnotification.md) | | -| class [OrderCurrencyChangedNotification](ordercurrencychangednotification.md) | | -| abstract class [OrderCurrencyChangeNotificationBase<TEntity>](ordercurrencychangenotificationbase-1.md) | | -| class [OrderCurrencyChangingNotification](ordercurrencychangingnotification.md) | | -| class [OrderDeletedNotification](orderdeletednotification.md) | | -| class [OrderDeletingNotification](orderdeletingnotification.md) | | -| class [OrderDiscountCodeRedeemedNotification](orderdiscountcoderedeemednotification.md) | | -| class [OrderDiscountCodeRedeemingNotification](orderdiscountcoderedeemingnotification.md) | | -| class [OrderDiscountCodeUnredeemedNotification](orderdiscountcodeunredeemednotification.md) | | -| class [OrderDiscountCodeUnredeemingNotification](orderdiscountcodeunredeemingnotification.md) | | -| class [OrderFinalizedNotification](orderfinalizednotification.md) | | -| class [OrderFinalizingNotification](orderfinalizingnotification.md) | | -| class [OrderGiftCardRedeemedNotification](ordergiftcardredeemednotification.md) | | -| class [OrderGiftCardRedeemingNotification](ordergiftcardredeemingnotification.md) | | -| class [OrderGiftCardUnredeemedNotification](ordergiftcardunredeemednotification.md) | | -| class [OrderGiftCardUnredeemingNotification](ordergiftcardunredeemingnotification.md) | | -| class [OrderLanguageChangedNotification](orderlanguagechangednotification.md) | | -| abstract class [OrderLanguageChangeNotificationBase<TEntity>](orderlanguagechangenotificationbase-1.md) | | -| class [OrderLanguageChangingNotification](orderlanguagechangingnotification.md) | | -| class [OrderLineAddedNotification](orderlineaddednotification.md) | | -| class [OrderLineAddingNotification](orderlineaddingnotification.md) | | -| class [OrderLineAddNotification<TEntity>](orderlineaddnotification-1.md) | | -| class [OrderLineChangedNotification](orderlinechangednotification.md) | | -| class [OrderLineChangeNotification<TEntity>](orderlinechangenotification-1.md) | | -| class [OrderLineChangingNotification](orderlinechangingnotification.md) | | -| class [OrderLineRemovedNotification](orderlineremovednotification.md) | | -| class [OrderLineRemoveNotification<TEntity>](orderlineremovenotification-1.md) | | -| class [OrderLineRemovingNotification](orderlineremovingnotification.md) | | -| abstract class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) | | -| class [OrderPaymentCountryRegionChangedNotification](orderpaymentcountryregionchangednotification.md) | | -| abstract class [OrderPaymentCountryRegionChangeNotificationBase<TEntity>](orderpaymentcountryregionchangenotificationbase-1.md) | | -| class [OrderPaymentCountryRegionChangingNotification](orderpaymentcountryregionchangingnotification.md) | | -| class [OrderPaymentMethodChangedNotification](orderpaymentmethodchangednotification.md) | | -| abstract class [OrderPaymentMethodChangeNotificationBase<TEntity>](orderpaymentmethodchangenotificationbase-1.md) | | -| class [OrderPaymentMethodChangingNotification](orderpaymentmethodchangingnotification.md) | | -| class [OrderProductAddedNotification](orderproductaddednotification.md) | | -| class [OrderProductAddingNotification](orderproductaddingnotification.md) | | -| abstract class [OrderProductAddNotificationBase<TEntity>](orderproductaddnotificationbase-1.md) | | -| class [OrderPropertiesChangedNotification](orderpropertieschangednotification.md) | | -| abstract class [OrderPropertiesChangeNotificationBase<TEntity>](orderpropertieschangenotificationbase-1.md) | | -| class [OrderPropertiesChangingNotification](orderpropertieschangingnotification.md) | | -| class [OrderSavedNotification](ordersavednotification.md) | | -| class [OrderSavingNotification](ordersavingnotification.md) | | -| class [OrderShippingCountryRegionChangedNotification](ordershippingcountryregionchangednotification.md) | | -| abstract class [OrderShippingCountryRegionChangeNotificationBase<TEntity>](ordershippingcountryregionchangenotificationbase-1.md) | | -| class [OrderShippingCountryRegionChangingNotification](ordershippingcountryregionchangingnotification.md) | | -| class [OrderShippingMethodChangedNotification](ordershippingmethodchangednotification.md) | | -| abstract class [OrderShippingMethodChangeNotificationBase<TEntity>](ordershippingmethodchangenotificationbase-1.md) | | -| class [OrderShippingMethodChangingNotification](ordershippingmethodchangingnotification.md) | | -| class [OrderStatusChangedNotification](orderstatuschangednotification.md) | | -| abstract class [OrderStatusChangeNotificationBase<TEntity>](orderstatuschangenotificationbase-1.md) | | -| class [OrderStatusChangingNotification](orderstatuschangingnotification.md) | | -| class [OrderStatusCreatedNotification](orderstatuscreatednotification.md) | | -| class [OrderStatusCreatingNotification](orderstatuscreatingnotification.md) | | -| class [OrderStatusDeletedNotification](orderstatusdeletednotification.md) | | -| class [OrderStatusDeletingNotification](orderstatusdeletingnotification.md) | | -| abstract class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) | | -| class [OrderStatusSavedNotification](orderstatussavednotification.md) | | -| class [OrderStatusSavingNotification](orderstatussavingnotification.md) | | -| class [OrderStatusUpdatedNotification](orderstatusupdatednotification.md) | | -| class [OrderStatusUpdatingNotification](orderstatusupdatingnotification.md) | | -| class [OrderTagsChangedNotification](ordertagschangednotification.md) | | -| abstract class [OrderTagsChangeNotificationBase<TEntity>](ordertagschangenotificationbase-1.md) | | -| class [OrderTagsChangingNotification](ordertagschangingnotification.md) | | -| class [OrderTaxClassChangedNotification](ordertaxclasschangednotification.md) | | -| abstract class [OrderTaxClassChangeNotificationBase<TEntity>](ordertaxclasschangenotificationbase-1.md) | | -| class [OrderTaxClassChangingNotification](ordertaxclasschangingnotification.md) | | -| abstract class [OrderTransactionChangeNotificationBase<TEntity>](ordertransactionchangenotificationbase-1.md) | | -| class [OrderTransactionUpdatedNotification](ordertransactionupdatednotification.md) | | -| class [OrderTransactionUpdatingNotification](ordertransactionupdatingnotification.md) | | -| class [OrderUpdatedNotification](orderupdatednotification.md) | | -| class [OrderUpdatingNotification](orderupdatingnotification.md) | | -| class [PaymentFormGeneratingNotification](paymentformgeneratingnotification.md) | | -| class [PaymentMethodCreatedNotification](paymentmethodcreatednotification.md) | | -| class [PaymentMethodCreatingNotification](paymentmethodcreatingnotification.md) | | -| class [PaymentMethodDeletedNotification](paymentmethoddeletednotification.md) | | -| class [PaymentMethodDeletingNotification](paymentmethoddeletingnotification.md) | | -| abstract class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) | | -| class [PaymentMethodSavedNotification](paymentmethodsavednotification.md) | | -| class [PaymentMethodSavingNotification](paymentmethodsavingnotification.md) | | -| class [PaymentMethodUpdatedNotification](paymentmethodupdatednotification.md) | | -| class [PaymentMethodUpdatingNotification](paymentmethodupdatingnotification.md) | | -| class [PrintTemplateCreatedNotification](printtemplatecreatednotification.md) | | -| class [PrintTemplateCreatingNotification](printtemplatecreatingnotification.md) | | -| class [PrintTemplateDeletedNotification](printtemplatedeletednotification.md) | | -| class [PrintTemplateDeletingNotification](printtemplatedeletingnotification.md) | | -| abstract class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) | | -| class [PrintTemplateSavedNotification](printtemplatesavednotification.md) | | -| class [PrintTemplateSavingNotification](printtemplatesavingnotification.md) | | -| class [PrintTemplateUpdatedNotification](printtemplateupdatednotification.md) | | -| class [PrintTemplateUpdatingNotification](printtemplateupdatingnotification.md) | | -| class [ProductAttributeCreatedNotification](productattributecreatednotification.md) | | -| class [ProductAttributeCreatingNotification](productattributecreatingnotification.md) | | -| class [ProductAttributeDeletedNotification](productattributedeletednotification.md) | | -| class [ProductAttributeDeletingNotification](productattributedeletingnotification.md) | | -| abstract class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) | | -| class [ProductAttributePresetCreatedNotification](productattributepresetcreatednotification.md) | | -| class [ProductAttributePresetCreatingNotification](productattributepresetcreatingnotification.md) | | -| class [ProductAttributePresetDeletedNotification](productattributepresetdeletednotification.md) | | -| class [ProductAttributePresetDeletingNotification](productattributepresetdeletingnotification.md) | | -| abstract class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) | | -| class [ProductAttributePresetSavedNotification](productattributepresetsavednotification.md) | | -| class [ProductAttributePresetSavingNotification](productattributepresetsavingnotification.md) | | -| class [ProductAttributePresetUpdatedNotification](productattributepresetupdatednotification.md) | | -| class [ProductAttributePresetUpdatingNotification](productattributepresetupdatingnotification.md) | | -| class [ProductAttributeSavedNotification](productattributesavednotification.md) | | -| class [ProductAttributeSavingNotification](productattributesavingnotification.md) | | -| class [ProductAttributeUpdatedNotification](productattributeupdatednotification.md) | | -| class [ProductAttributeUpdatingNotification](productattributeupdatingnotification.md) | | -| class [RegionCreatedNotification](regioncreatednotification.md) | | -| class [RegionCreatingNotification](regioncreatingnotification.md) | | -| class [RegionDeletedNotification](regiondeletednotification.md) | | -| class [RegionDeletingNotification](regiondeletingnotification.md) | | -| abstract class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) | | -| class [RegionSavedNotification](regionsavednotification.md) | | -| class [RegionSavingNotification](regionsavingnotification.md) | | -| class [RegionUpdatedNotification](regionupdatednotification.md) | | -| class [RegionUpdatingNotification](regionupdatingnotification.md) | | -| class [ShippingMethodCreatedNotification](shippingmethodcreatednotification.md) | | -| class [ShippingMethodCreatingNotification](shippingmethodcreatingnotification.md) | | -| class [ShippingMethodDeletedNotification](shippingmethoddeletednotification.md) | | -| class [ShippingMethodDeletingNotification](shippingmethoddeletingnotification.md) | | -| abstract class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) | | -| class [ShippingMethodSavedNotification](shippingmethodsavednotification.md) | | -| class [ShippingMethodSavingNotification](shippingmethodsavingnotification.md) | | -| class [ShippingMethodUpdatedNotification](shippingmethodupdatednotification.md) | | -| class [ShippingMethodUpdatingNotification](shippingmethodupdatingnotification.md) | | -| class [StockChangedNotification](stockchangednotification.md) | | -| class [StockChangingNotification](stockchangingnotification.md) | | -| class [StoreCreatedNotification](storecreatednotification.md) | | -| class [StoreCreatingNotification](storecreatingnotification.md) | | -| class [StoreDeletedNotification](storedeletednotification.md) | | -| class [StoreDeletingNotification](storedeletingnotification.md) | | -| abstract class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) | | -| class [StoreSavedNotification](storesavednotification.md) | | -| class [StoreSavingNotification](storesavingnotification.md) | | -| class [StoreUpdatedNotification](storeupdatednotification.md) | | -| class [StoreUpdatingNotification](storeupdatingnotification.md) | | -| class [TaxClassCreatedNotification](taxclasscreatednotification.md) | | -| class [TaxClassCreatingNotification](taxclasscreatingnotification.md) | | -| class [TaxClassDeletedNotification](taxclassdeletednotification.md) | | -| class [TaxClassDeletingNotification](taxclassdeletingnotification.md) | | -| abstract class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) | | -| class [TaxClassSavedNotification](taxclasssavednotification.md) | | -| class [TaxClassSavingNotification](taxclasssavingnotification.md) | | -| class [TaxClassUpdatedNotification](taxclassupdatednotification.md) | | -| class [TaxClassUpdatingNotification](taxclassupdatingnotification.md) | | -| class [UnitOfWorkCreatedNotification](unitofworkcreatednotification.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrycreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrycreatednotification.md deleted file mode 100644 index 9525365ebde..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrycreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountryCreatedNotification -description: API reference for CountryCreatedNotification in Umbraco Commerce ---- -## CountryCreatedNotification - -```csharp -public class CountryCreatedNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryCreatedNotification - -```csharp -public CountryCreatedNotification(CountryReadOnly country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrycreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrycreatingnotification.md deleted file mode 100644 index ca4653a2e74..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrycreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountryCreatingNotification -description: API reference for CountryCreatingNotification in Umbraco Commerce ---- -## CountryCreatingNotification - -```csharp -public class CountryCreatingNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryCreatingNotification - -```csharp -public CountryCreatingNotification(Country country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrydeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrydeletednotification.md deleted file mode 100644 index a20d9095557..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrydeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountryDeletedNotification -description: API reference for CountryDeletedNotification in Umbraco Commerce ---- -## CountryDeletedNotification - -```csharp -public class CountryDeletedNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryDeletedNotification - -```csharp -public CountryDeletedNotification(CountryReadOnly country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrydeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrydeletingnotification.md deleted file mode 100644 index faaf0cf7635..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrydeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountryDeletingNotification -description: API reference for CountryDeletingNotification in Umbraco Commerce ---- -## CountryDeletingNotification - -```csharp -public class CountryDeletingNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryDeletingNotification - -```csharp -public CountryDeletingNotification(CountryReadOnly country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrynotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrynotificationeventbase-1.md deleted file mode 100644 index e414ccd0238..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrynotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CountryNotificationEventBase -description: API reference for CountryNotificationEventBase in Umbraco Commerce ---- -## CountryNotificationEventBase<TEntity> - -```csharp -public abstract class CountryNotificationEventBase : NotificationEventBase - where TEntity : CountryReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryNotificationEventBase<TEntity> - -```csharp -public CountryNotificationEventBase(TEntity country) -``` - - -### Properties - -#### Country - -```csharp -public TEntity Country { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrysavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrysavednotification.md deleted file mode 100644 index 7a7b790619d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrysavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountrySavedNotification -description: API reference for CountrySavedNotification in Umbraco Commerce ---- -## CountrySavedNotification - -```csharp -public class CountrySavedNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountrySavedNotification - -```csharp -public CountrySavedNotification(CountryReadOnly country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrysavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrysavingnotification.md deleted file mode 100644 index 8dc715dbcae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countrysavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountrySavingNotification -description: API reference for CountrySavingNotification in Umbraco Commerce ---- -## CountrySavingNotification - -```csharp -public class CountrySavingNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountrySavingNotification - -```csharp -public CountrySavingNotification(Country country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countryupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countryupdatednotification.md deleted file mode 100644 index 4d16f24175e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countryupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountryUpdatedNotification -description: API reference for CountryUpdatedNotification in Umbraco Commerce ---- -## CountryUpdatedNotification - -```csharp -public class CountryUpdatedNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryUpdatedNotification - -```csharp -public CountryUpdatedNotification(CountryReadOnly country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countryupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countryupdatingnotification.md deleted file mode 100644 index 81b2a2eb2c8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/countryupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CountryUpdatingNotification -description: API reference for CountryUpdatingNotification in Umbraco Commerce ---- -## CountryUpdatingNotification - -```csharp -public class CountryUpdatingNotification : CountryNotificationEventBase -``` - -**Inheritance** - -* Class [CountryNotificationEventBase<TEntity>](countrynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CountryUpdatingNotification - -```csharp -public CountryUpdatingNotification(Country country) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencycreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencycreatednotification.md deleted file mode 100644 index cdd0fba8bc3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencycreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencyCreatedNotification -description: API reference for CurrencyCreatedNotification in Umbraco Commerce ---- -## CurrencyCreatedNotification - -```csharp -public class CurrencyCreatedNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyCreatedNotification - -```csharp -public CurrencyCreatedNotification(CurrencyReadOnly currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencycreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencycreatingnotification.md deleted file mode 100644 index 274721e892b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencycreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencyCreatingNotification -description: API reference for CurrencyCreatingNotification in Umbraco Commerce ---- -## CurrencyCreatingNotification - -```csharp -public class CurrencyCreatingNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyCreatingNotification - -```csharp -public CurrencyCreatingNotification(Currency currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencydeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencydeletednotification.md deleted file mode 100644 index 653464ab44e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencydeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencyDeletedNotification -description: API reference for CurrencyDeletedNotification in Umbraco Commerce ---- -## CurrencyDeletedNotification - -```csharp -public class CurrencyDeletedNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyDeletedNotification - -```csharp -public CurrencyDeletedNotification(CurrencyReadOnly currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencydeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencydeletingnotification.md deleted file mode 100644 index f2cb7cd9f15..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencydeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencyDeletingNotification -description: API reference for CurrencyDeletingNotification in Umbraco Commerce ---- -## CurrencyDeletingNotification - -```csharp -public class CurrencyDeletingNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyDeletingNotification - -```csharp -public CurrencyDeletingNotification(CurrencyReadOnly currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencynotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencynotificationeventbase-1.md deleted file mode 100644 index 0eb971c5629..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencynotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CurrencyNotificationEventBase -description: API reference for CurrencyNotificationEventBase in Umbraco Commerce ---- -## CurrencyNotificationEventBase<TEntity> - -```csharp -public abstract class CurrencyNotificationEventBase : NotificationEventBase - where TEntity : CurrencyReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyNotificationEventBase<TEntity> - -```csharp -public CurrencyNotificationEventBase(TEntity currency) -``` - - -### Properties - -#### Currency - -```csharp -public TEntity Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencysavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencysavednotification.md deleted file mode 100644 index 9ffae8f63bb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencysavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencySavedNotification -description: API reference for CurrencySavedNotification in Umbraco Commerce ---- -## CurrencySavedNotification - -```csharp -public class CurrencySavedNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencySavedNotification - -```csharp -public CurrencySavedNotification(CurrencyReadOnly currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencysavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencysavingnotification.md deleted file mode 100644 index 35189490262..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencysavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencySavingNotification -description: API reference for CurrencySavingNotification in Umbraco Commerce ---- -## CurrencySavingNotification - -```csharp -public class CurrencySavingNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencySavingNotification - -```csharp -public CurrencySavingNotification(Currency currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencyupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencyupdatednotification.md deleted file mode 100644 index 9a7fd0fce53..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencyupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencyUpdatedNotification -description: API reference for CurrencyUpdatedNotification in Umbraco Commerce ---- -## CurrencyUpdatedNotification - -```csharp -public class CurrencyUpdatedNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyUpdatedNotification - -```csharp -public CurrencyUpdatedNotification(CurrencyReadOnly currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencyupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencyupdatingnotification.md deleted file mode 100644 index 65580f83eff..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/currencyupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CurrencyUpdatingNotification -description: API reference for CurrencyUpdatingNotification in Umbraco Commerce ---- -## CurrencyUpdatingNotification - -```csharp -public class CurrencyUpdatingNotification : CurrencyNotificationEventBase -``` - -**Inheritance** - -* Class [CurrencyNotificationEventBase<TEntity>](currencynotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### CurrencyUpdatingNotification - -```csharp -public CurrencyUpdatingNotification(Currency currency) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountcreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountcreatednotification.md deleted file mode 100644 index 1b8abfb7461..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountcreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountCreatedNotification -description: API reference for DiscountCreatedNotification in Umbraco Commerce ---- -## DiscountCreatedNotification - -```csharp -public class DiscountCreatedNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountCreatedNotification - -```csharp -public DiscountCreatedNotification(DiscountReadOnly discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountcreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountcreatingnotification.md deleted file mode 100644 index cab68ee6362..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountcreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountCreatingNotification -description: API reference for DiscountCreatingNotification in Umbraco Commerce ---- -## DiscountCreatingNotification - -```csharp -public class DiscountCreatingNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountCreatingNotification - -```csharp -public DiscountCreatingNotification(Discount discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountdeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountdeletednotification.md deleted file mode 100644 index 2c0d16c2cfb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountdeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountDeletedNotification -description: API reference for DiscountDeletedNotification in Umbraco Commerce ---- -## DiscountDeletedNotification - -```csharp -public class DiscountDeletedNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountDeletedNotification - -```csharp -public DiscountDeletedNotification(DiscountReadOnly discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountdeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountdeletingnotification.md deleted file mode 100644 index 8c71431ae75..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountdeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountDeletingNotification -description: API reference for DiscountDeletingNotification in Umbraco Commerce ---- -## DiscountDeletingNotification - -```csharp -public class DiscountDeletingNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountDeletingNotification - -```csharp -public DiscountDeletingNotification(DiscountReadOnly discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountnotificationeventbase-1.md deleted file mode 100644 index 85aec484874..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: DiscountNotificationEventBase -description: API reference for DiscountNotificationEventBase in Umbraco Commerce ---- -## DiscountNotificationEventBase<TEntity> - -```csharp -public abstract class DiscountNotificationEventBase : NotificationEventBase - where TEntity : DiscountReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountNotificationEventBase<TEntity> - -```csharp -public DiscountNotificationEventBase(TEntity discount) -``` - - -### Properties - -#### Discount - -```csharp -public TEntity Discount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountsavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountsavednotification.md deleted file mode 100644 index 98dcf0495c5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountsavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountSavedNotification -description: API reference for DiscountSavedNotification in Umbraco Commerce ---- -## DiscountSavedNotification - -```csharp -public class DiscountSavedNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountSavedNotification - -```csharp -public DiscountSavedNotification(DiscountReadOnly discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountsavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountsavingnotification.md deleted file mode 100644 index 41fca713369..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountsavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountSavingNotification -description: API reference for DiscountSavingNotification in Umbraco Commerce ---- -## DiscountSavingNotification - -```csharp -public class DiscountSavingNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountSavingNotification - -```csharp -public DiscountSavingNotification(Discount discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountupdatednotification.md deleted file mode 100644 index a03e95a884c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountUpdatedNotification -description: API reference for DiscountUpdatedNotification in Umbraco Commerce ---- -## DiscountUpdatedNotification - -```csharp -public class DiscountUpdatedNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountUpdatedNotification - -```csharp -public DiscountUpdatedNotification(DiscountReadOnly discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountupdatingnotification.md deleted file mode 100644 index 0587a634345..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/discountupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: DiscountUpdatingNotification -description: API reference for DiscountUpdatingNotification in Umbraco Commerce ---- -## DiscountUpdatingNotification - -```csharp -public class DiscountUpdatingNotification : DiscountNotificationEventBase -``` - -**Inheritance** - -* Class [DiscountNotificationEventBase<TEntity>](discountnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### DiscountUpdatingNotification - -```csharp -public DiscountUpdatingNotification(Discount discount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailfailednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailfailednotification.md deleted file mode 100644 index d3588af7ba2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailfailednotification.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EmailFailedNotification -description: API reference for EmailFailedNotification in Umbraco Commerce ---- -## EmailFailedNotification - -```csharp -public class EmailFailedNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailFailedNotification - -```csharp -public EmailFailedNotification(EmailContext emailContext) -``` - - -### Properties - -#### EmailContext - -```csharp -public EmailContext EmailContext { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailsendingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailsendingnotification.md deleted file mode 100644 index 0747f7bd499..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailsendingnotification.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EmailSendingNotification -description: API reference for EmailSendingNotification in Umbraco Commerce ---- -## EmailSendingNotification - -```csharp -public class EmailSendingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailSendingNotification - -```csharp -public EmailSendingNotification(EmailContext emailContext) -``` - - -### Properties - -#### EmailContext - -```csharp -public EmailContext EmailContext { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailsentnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailsentnotification.md deleted file mode 100644 index 88d394f6dd6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailsentnotification.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EmailSentNotification -description: API reference for EmailSentNotification in Umbraco Commerce ---- -## EmailSentNotification - -```csharp -public class EmailSentNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailSentNotification - -```csharp -public EmailSentNotification(EmailContext emailContext) -``` - - -### Properties - -#### EmailContext - -```csharp -public EmailContext EmailContext { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatecreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatecreatednotification.md deleted file mode 100644 index 842e3b22b98..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatecreatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: EmailTemplateCreatedNotification -description: API reference for EmailTemplateCreatedNotification in Umbraco Commerce ---- -## EmailTemplateCreatedNotification - -```csharp -public class EmailTemplateCreatedNotification : - EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateCreatedNotification - -```csharp -public EmailTemplateCreatedNotification(EmailTemplateReadOnly emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatecreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatecreatingnotification.md deleted file mode 100644 index df3df03bd66..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatecreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: EmailTemplateCreatingNotification -description: API reference for EmailTemplateCreatingNotification in Umbraco Commerce ---- -## EmailTemplateCreatingNotification - -```csharp -public class EmailTemplateCreatingNotification : EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateCreatingNotification - -```csharp -public EmailTemplateCreatingNotification(EmailTemplate emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatedeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatedeletednotification.md deleted file mode 100644 index 76938c91bc9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatedeletednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: EmailTemplateDeletedNotification -description: API reference for EmailTemplateDeletedNotification in Umbraco Commerce ---- -## EmailTemplateDeletedNotification - -```csharp -public class EmailTemplateDeletedNotification : - EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateDeletedNotification - -```csharp -public EmailTemplateDeletedNotification(EmailTemplateReadOnly emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatedeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatedeletingnotification.md deleted file mode 100644 index e97d7b010a8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatedeletingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: EmailTemplateDeletingNotification -description: API reference for EmailTemplateDeletingNotification in Umbraco Commerce ---- -## EmailTemplateDeletingNotification - -```csharp -public class EmailTemplateDeletingNotification : - EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateDeletingNotification - -```csharp -public EmailTemplateDeletingNotification(EmailTemplateReadOnly emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatenotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatenotificationeventbase-1.md deleted file mode 100644 index fd0df466f17..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatenotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: EmailTemplateNotificationEventBase -description: API reference for EmailTemplateNotificationEventBase in Umbraco Commerce ---- -## EmailTemplateNotificationEventBase<TEntity> - -```csharp -public abstract class EmailTemplateNotificationEventBase : NotificationEventBase - where TEntity : EmailTemplateReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateNotificationEventBase<TEntity> - -```csharp -public EmailTemplateNotificationEventBase(TEntity emailTemplate) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public TEntity EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatesavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatesavednotification.md deleted file mode 100644 index ce98554b50e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatesavednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: EmailTemplateSavedNotification -description: API reference for EmailTemplateSavedNotification in Umbraco Commerce ---- -## EmailTemplateSavedNotification - -```csharp -public class EmailTemplateSavedNotification : - EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateSavedNotification - -```csharp -public EmailTemplateSavedNotification(EmailTemplateReadOnly emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatesavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatesavingnotification.md deleted file mode 100644 index 89d80b57603..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplatesavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: EmailTemplateSavingNotification -description: API reference for EmailTemplateSavingNotification in Umbraco Commerce ---- -## EmailTemplateSavingNotification - -```csharp -public class EmailTemplateSavingNotification : EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateSavingNotification - -```csharp -public EmailTemplateSavingNotification(EmailTemplate emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplateupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplateupdatednotification.md deleted file mode 100644 index 579c11bc072..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplateupdatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: EmailTemplateUpdatedNotification -description: API reference for EmailTemplateUpdatedNotification in Umbraco Commerce ---- -## EmailTemplateUpdatedNotification - -```csharp -public class EmailTemplateUpdatedNotification : - EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateUpdatedNotification - -```csharp -public EmailTemplateUpdatedNotification(EmailTemplateReadOnly emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplateupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplateupdatingnotification.md deleted file mode 100644 index 8206f368e84..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/emailtemplateupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: EmailTemplateUpdatingNotification -description: API reference for EmailTemplateUpdatingNotification in Umbraco Commerce ---- -## EmailTemplateUpdatingNotification - -```csharp -public class EmailTemplateUpdatingNotification : EmailTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [EmailTemplateNotificationEventBase<TEntity>](emailtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### EmailTemplateUpdatingNotification - -```csharp -public EmailTemplateUpdatingNotification(EmailTemplate emailTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatecreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatecreatednotification.md deleted file mode 100644 index c9c5deab760..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatecreatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateCreatedNotification -description: API reference for ExportTemplateCreatedNotification in Umbraco Commerce ---- -## ExportTemplateCreatedNotification - -```csharp -public class ExportTemplateCreatedNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateCreatedNotification - -```csharp -public ExportTemplateCreatedNotification(ExportTemplateReadOnly exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatecreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatecreatingnotification.md deleted file mode 100644 index 169c263688f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatecreatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateCreatingNotification -description: API reference for ExportTemplateCreatingNotification in Umbraco Commerce ---- -## ExportTemplateCreatingNotification - -```csharp -public class ExportTemplateCreatingNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateCreatingNotification - -```csharp -public ExportTemplateCreatingNotification(ExportTemplate exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatedeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatedeletednotification.md deleted file mode 100644 index 2cf09db3fc0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatedeletednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateDeletedNotification -description: API reference for ExportTemplateDeletedNotification in Umbraco Commerce ---- -## ExportTemplateDeletedNotification - -```csharp -public class ExportTemplateDeletedNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateDeletedNotification - -```csharp -public ExportTemplateDeletedNotification(ExportTemplateReadOnly exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatedeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatedeletingnotification.md deleted file mode 100644 index 0981c0a57e9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatedeletingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateDeletingNotification -description: API reference for ExportTemplateDeletingNotification in Umbraco Commerce ---- -## ExportTemplateDeletingNotification - -```csharp -public class ExportTemplateDeletingNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateDeletingNotification - -```csharp -public ExportTemplateDeletingNotification(ExportTemplateReadOnly exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatenotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatenotificationeventbase-1.md deleted file mode 100644 index 9d1f35930b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatenotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ExportTemplateNotificationEventBase -description: API reference for ExportTemplateNotificationEventBase in Umbraco Commerce ---- -## ExportTemplateNotificationEventBase<TEntity> - -```csharp -public abstract class ExportTemplateNotificationEventBase : NotificationEventBase - where TEntity : ExportTemplateReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateNotificationEventBase<TEntity> - -```csharp -public ExportTemplateNotificationEventBase(TEntity exportTemplate) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public TEntity ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatesavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatesavednotification.md deleted file mode 100644 index 86b81de4151..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatesavednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateSavedNotification -description: API reference for ExportTemplateSavedNotification in Umbraco Commerce ---- -## ExportTemplateSavedNotification - -```csharp -public class ExportTemplateSavedNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateSavedNotification - -```csharp -public ExportTemplateSavedNotification(ExportTemplateReadOnly exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatesavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatesavingnotification.md deleted file mode 100644 index 27c178eeda6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplatesavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: ExportTemplateSavingNotification -description: API reference for ExportTemplateSavingNotification in Umbraco Commerce ---- -## ExportTemplateSavingNotification - -```csharp -public class ExportTemplateSavingNotification : ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateSavingNotification - -```csharp -public ExportTemplateSavingNotification(ExportTemplate exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplateupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplateupdatednotification.md deleted file mode 100644 index bdf0be2da82..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplateupdatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateUpdatedNotification -description: API reference for ExportTemplateUpdatedNotification in Umbraco Commerce ---- -## ExportTemplateUpdatedNotification - -```csharp -public class ExportTemplateUpdatedNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateUpdatedNotification - -```csharp -public ExportTemplateUpdatedNotification(ExportTemplateReadOnly exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplateupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplateupdatingnotification.md deleted file mode 100644 index c03515e888e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/exporttemplateupdatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ExportTemplateUpdatingNotification -description: API reference for ExportTemplateUpdatingNotification in Umbraco Commerce ---- -## ExportTemplateUpdatingNotification - -```csharp -public class ExportTemplateUpdatingNotification : - ExportTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [ExportTemplateNotificationEventBase<TEntity>](exporttemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ExportTemplateUpdatingNotification - -```csharp -public ExportTemplateUpdatingNotification(ExportTemplate exportTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/frozenpricesthawednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/frozenpricesthawednotification.md deleted file mode 100644 index 2130b3842a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/frozenpricesthawednotification.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: FrozenPricesThawedNotification -description: API reference for FrozenPricesThawedNotification in Umbraco Commerce ---- -## FrozenPricesThawedNotification - -```csharp -public class FrozenPricesThawedNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### FrozenPricesThawedNotification - -```csharp -public FrozenPricesThawedNotification(IReadOnlyCollection prices) -``` - - -### Properties - -#### Prices - -```csharp -public IReadOnlyCollection Prices { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/frozenpricesthawingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/frozenpricesthawingnotification.md deleted file mode 100644 index 5f9c5b41aab..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/frozenpricesthawingnotification.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: FrozenPricesThawingNotification -description: API reference for FrozenPricesThawingNotification in Umbraco Commerce ---- -## FrozenPricesThawingNotification - -```csharp -public class FrozenPricesThawingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### FrozenPricesThawingNotification - -```csharp -public FrozenPricesThawingNotification(IReadOnlyCollection prices) -``` - - -### Properties - -#### Prices - -```csharp -public IReadOnlyCollection Prices { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardcreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardcreatednotification.md deleted file mode 100644 index 7adf5954f61..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardcreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardCreatedNotification -description: API reference for GiftCardCreatedNotification in Umbraco Commerce ---- -## GiftCardCreatedNotification - -```csharp -public class GiftCardCreatedNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardCreatedNotification - -```csharp -public GiftCardCreatedNotification(GiftCardReadOnly giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardcreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardcreatingnotification.md deleted file mode 100644 index 7a6d03fb389..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardcreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardCreatingNotification -description: API reference for GiftCardCreatingNotification in Umbraco Commerce ---- -## GiftCardCreatingNotification - -```csharp -public class GiftCardCreatingNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardCreatingNotification - -```csharp -public GiftCardCreatingNotification(GiftCard giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcarddeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcarddeletednotification.md deleted file mode 100644 index 62a38a3748d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcarddeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardDeletedNotification -description: API reference for GiftCardDeletedNotification in Umbraco Commerce ---- -## GiftCardDeletedNotification - -```csharp -public class GiftCardDeletedNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardDeletedNotification - -```csharp -public GiftCardDeletedNotification(GiftCardReadOnly giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcarddeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcarddeletingnotification.md deleted file mode 100644 index 802f34956ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcarddeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardDeletingNotification -description: API reference for GiftCardDeletingNotification in Umbraco Commerce ---- -## GiftCardDeletingNotification - -```csharp -public class GiftCardDeletingNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardDeletingNotification - -```csharp -public GiftCardDeletingNotification(GiftCardReadOnly giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardnotificationeventbase-1.md deleted file mode 100644 index 213fee8142d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: GiftCardNotificationEventBase -description: API reference for GiftCardNotificationEventBase in Umbraco Commerce ---- -## GiftCardNotificationEventBase<TEntity> - -```csharp -public abstract class GiftCardNotificationEventBase : NotificationEventBase - where TEntity : GiftCardReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardNotificationEventBase<TEntity> - -```csharp -public GiftCardNotificationEventBase(TEntity giftCard) -``` - - -### Properties - -#### GiftCard - -```csharp -public TEntity GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardsavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardsavednotification.md deleted file mode 100644 index 12afc0f9266..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardsavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardSavedNotification -description: API reference for GiftCardSavedNotification in Umbraco Commerce ---- -## GiftCardSavedNotification - -```csharp -public class GiftCardSavedNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardSavedNotification - -```csharp -public GiftCardSavedNotification(GiftCardReadOnly giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardsavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardsavingnotification.md deleted file mode 100644 index b5c02e03799..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardsavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardSavingNotification -description: API reference for GiftCardSavingNotification in Umbraco Commerce ---- -## GiftCardSavingNotification - -```csharp -public class GiftCardSavingNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardSavingNotification - -```csharp -public GiftCardSavingNotification(GiftCard giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardupdatednotification.md deleted file mode 100644 index 33872361f5a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardUpdatedNotification -description: API reference for GiftCardUpdatedNotification in Umbraco Commerce ---- -## GiftCardUpdatedNotification - -```csharp -public class GiftCardUpdatedNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardUpdatedNotification - -```csharp -public GiftCardUpdatedNotification(GiftCardReadOnly giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardupdatingnotification.md deleted file mode 100644 index 6cbf9f8740c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/giftcardupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: GiftCardUpdatingNotification -description: API reference for GiftCardUpdatingNotification in Umbraco Commerce ---- -## GiftCardUpdatingNotification - -```csharp -public class GiftCardUpdatingNotification : GiftCardNotificationEventBase -``` - -**Inheritance** - -* Class [GiftCardNotificationEventBase<TEntity>](giftcardnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### GiftCardUpdatingNotification - -```csharp -public GiftCardUpdatingNotification(GiftCard giftCard) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassignedtocustomernotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassignedtocustomernotification.md deleted file mode 100644 index 0f744855f4f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassignedtocustomernotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderAssignedToCustomerNotification -description: API reference for OrderAssignedToCustomerNotification in Umbraco Commerce ---- -## OrderAssignedToCustomerNotification - -```csharp -public class OrderAssignedToCustomerNotification : - OrderAssignToCustomerNotificationBase -``` - -**Inheritance** - -* Class [OrderAssignToCustomerNotificationBase<TEntity>](orderassigntocustomernotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderAssignedToCustomerNotification - -```csharp -public OrderAssignedToCustomerNotification(OrderReadOnly order, - ChangingValue customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassigningtocustomernotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassigningtocustomernotification.md deleted file mode 100644 index 0e1a60d6d7b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassigningtocustomernotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderAssigningToCustomerNotification -description: API reference for OrderAssigningToCustomerNotification in Umbraco Commerce ---- -## OrderAssigningToCustomerNotification - -```csharp -public class OrderAssigningToCustomerNotification : OrderAssignToCustomerNotificationBase -``` - -**Inheritance** - -* Class [OrderAssignToCustomerNotificationBase<TEntity>](orderassigntocustomernotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderAssigningToCustomerNotification - -```csharp -public OrderAssigningToCustomerNotification(Order order, ChangingValue customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassigntocustomernotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassigntocustomernotificationbase-1.md deleted file mode 100644 index 5b53905a6c1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderassigntocustomernotificationbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderAssignToCustomerNotificationBase -description: API reference for OrderAssignToCustomerNotificationBase in Umbraco Commerce ---- -## OrderAssignToCustomerNotificationBase<TEntity> - -```csharp -public abstract class OrderAssignToCustomerNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderAssignToCustomerNotificationBase<TEntity> - -```csharp -public OrderAssignToCustomerNotificationBase(TEntity order, ChangingValue customerReference) -``` - - -### Properties - -#### CustomerReference - -```csharp -public ChangingValue CustomerReference { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercodenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercodenotificationbase-1.md deleted file mode 100644 index cfbf9c80d1f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercodenotificationbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: OrderCodeNotificationBase -description: API reference for OrderCodeNotificationBase in Umbraco Commerce ---- -## OrderCodeNotificationBase<TEntity> - -```csharp -public abstract class OrderCodeNotificationBase : OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderCodeNotificationBase<TEntity> - -```csharp -public OrderCodeNotificationBase(TEntity order, string code) -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercreatednotification.md deleted file mode 100644 index 157bd80681a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderCreatedNotification -description: API reference for OrderCreatedNotification in Umbraco Commerce ---- -## OrderCreatedNotification - -```csharp -public class OrderCreatedNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderCreatedNotification - -```csharp -public OrderCreatedNotification(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercreatingnotification.md deleted file mode 100644 index 1e89d441505..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderCreatingNotification -description: API reference for OrderCreatingNotification in Umbraco Commerce ---- -## OrderCreatingNotification - -```csharp -public class OrderCreatingNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderCreatingNotification - -```csharp -public OrderCreatingNotification(Order order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangednotification.md deleted file mode 100644 index bba6e46cca6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderCurrencyChangedNotification -description: API reference for OrderCurrencyChangedNotification in Umbraco Commerce ---- -## OrderCurrencyChangedNotification - -```csharp -public class OrderCurrencyChangedNotification : OrderCurrencyChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderCurrencyChangeNotificationBase<TEntity>](ordercurrencychangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderCurrencyChangedNotification - -```csharp -public OrderCurrencyChangedNotification(OrderReadOnly order, ChangingValue currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangenotificationbase-1.md deleted file mode 100644 index b8be34f6580..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangenotificationbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderCurrencyChangeNotificationBase -description: API reference for OrderCurrencyChangeNotificationBase in Umbraco Commerce ---- -## OrderCurrencyChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderCurrencyChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderCurrencyChangeNotificationBase<TEntity> - -```csharp -public OrderCurrencyChangeNotificationBase(TEntity order, ChangingValue currencyId) -``` - - -### Properties - -#### CurrencyId - -```csharp -public ChangingValue CurrencyId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangingnotification.md deleted file mode 100644 index 424d808af05..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordercurrencychangingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderCurrencyChangingNotification -description: API reference for OrderCurrencyChangingNotification in Umbraco Commerce ---- -## OrderCurrencyChangingNotification - -```csharp -public class OrderCurrencyChangingNotification : OrderCurrencyChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderCurrencyChangeNotificationBase<TEntity>](ordercurrencychangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderCurrencyChangingNotification - -```csharp -public OrderCurrencyChangingNotification(Order order, ChangingValue currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdeletednotification.md deleted file mode 100644 index 688d85d2adf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderDeletedNotification -description: API reference for OrderDeletedNotification in Umbraco Commerce ---- -## OrderDeletedNotification - -```csharp -public class OrderDeletedNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderDeletedNotification - -```csharp -public OrderDeletedNotification(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdeletingnotification.md deleted file mode 100644 index 8132a17d641..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderDeletingNotification -description: API reference for OrderDeletingNotification in Umbraco Commerce ---- -## OrderDeletingNotification - -```csharp -public class OrderDeletingNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderDeletingNotification - -```csharp -public OrderDeletingNotification(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcoderedeemednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcoderedeemednotification.md deleted file mode 100644 index b4350754f96..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcoderedeemednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderDiscountCodeRedeemedNotification -description: API reference for OrderDiscountCodeRedeemedNotification in Umbraco Commerce ---- -## OrderDiscountCodeRedeemedNotification - -```csharp -public class OrderDiscountCodeRedeemedNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderDiscountCodeRedeemedNotification - -```csharp -public OrderDiscountCodeRedeemedNotification(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcoderedeemingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcoderedeemingnotification.md deleted file mode 100644 index 9efcdfaeecf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcoderedeemingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderDiscountCodeRedeemingNotification -description: API reference for OrderDiscountCodeRedeemingNotification in Umbraco Commerce ---- -## OrderDiscountCodeRedeemingNotification - -```csharp -public class OrderDiscountCodeRedeemingNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderDiscountCodeRedeemingNotification - -```csharp -public OrderDiscountCodeRedeemingNotification(Order order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcodeunredeemednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcodeunredeemednotification.md deleted file mode 100644 index c5201f8e323..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcodeunredeemednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderDiscountCodeUnredeemedNotification -description: API reference for OrderDiscountCodeUnredeemedNotification in Umbraco Commerce ---- -## OrderDiscountCodeUnredeemedNotification - -```csharp -public class OrderDiscountCodeUnredeemedNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderDiscountCodeUnredeemedNotification - -```csharp -public OrderDiscountCodeUnredeemedNotification(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcodeunredeemingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcodeunredeemingnotification.md deleted file mode 100644 index 160a0926f0c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderdiscountcodeunredeemingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderDiscountCodeUnredeemingNotification -description: API reference for OrderDiscountCodeUnredeemingNotification in Umbraco Commerce ---- -## OrderDiscountCodeUnredeemingNotification - -```csharp -public class OrderDiscountCodeUnredeemingNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderDiscountCodeUnredeemingNotification - -```csharp -public OrderDiscountCodeUnredeemingNotification(Order order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderfinalizednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderfinalizednotification.md deleted file mode 100644 index 3913b211b3b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderfinalizednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderFinalizedNotification -description: API reference for OrderFinalizedNotification in Umbraco Commerce ---- -## OrderFinalizedNotification - -```csharp -public class OrderFinalizedNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderFinalizedNotification - -```csharp -public OrderFinalizedNotification(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderfinalizingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderfinalizingnotification.md deleted file mode 100644 index 70a9c8419a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderfinalizingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderFinalizingNotification -description: API reference for OrderFinalizingNotification in Umbraco Commerce ---- -## OrderFinalizingNotification - -```csharp -public class OrderFinalizingNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderFinalizingNotification - -```csharp -public OrderFinalizingNotification(Order order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardredeemednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardredeemednotification.md deleted file mode 100644 index fedefeff7bd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardredeemednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderGiftCardRedeemedNotification -description: API reference for OrderGiftCardRedeemedNotification in Umbraco Commerce ---- -## OrderGiftCardRedeemedNotification - -```csharp -public class OrderGiftCardRedeemedNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderGiftCardRedeemedNotification - -```csharp -public OrderGiftCardRedeemedNotification(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardredeemingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardredeemingnotification.md deleted file mode 100644 index bbda1dd17b0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardredeemingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderGiftCardRedeemingNotification -description: API reference for OrderGiftCardRedeemingNotification in Umbraco Commerce ---- -## OrderGiftCardRedeemingNotification - -```csharp -public class OrderGiftCardRedeemingNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderGiftCardRedeemingNotification - -```csharp -public OrderGiftCardRedeemingNotification(Order order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardunredeemednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardunredeemednotification.md deleted file mode 100644 index b2a851c2e45..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardunredeemednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderGiftCardUnredeemedNotification -description: API reference for OrderGiftCardUnredeemedNotification in Umbraco Commerce ---- -## OrderGiftCardUnredeemedNotification - -```csharp -public class OrderGiftCardUnredeemedNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderGiftCardUnredeemedNotification - -```csharp -public OrderGiftCardUnredeemedNotification(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardunredeemingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardunredeemingnotification.md deleted file mode 100644 index f1f8706b8cf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordergiftcardunredeemingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderGiftCardUnredeemingNotification -description: API reference for OrderGiftCardUnredeemingNotification in Umbraco Commerce ---- -## OrderGiftCardUnredeemingNotification - -```csharp -public class OrderGiftCardUnredeemingNotification : OrderCodeNotificationBase -``` - -**Inheritance** - -* Class [OrderCodeNotificationBase<TEntity>](ordercodenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderGiftCardUnredeemingNotification - -```csharp -public OrderGiftCardUnredeemingNotification(Order order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangednotification.md deleted file mode 100644 index 12a743195da..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderLanguageChangedNotification -description: API reference for OrderLanguageChangedNotification in Umbraco Commerce ---- -## OrderLanguageChangedNotification - -```csharp -public class OrderLanguageChangedNotification : OrderLanguageChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderLanguageChangeNotificationBase<TEntity>](orderlanguagechangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLanguageChangedNotification - -```csharp -public OrderLanguageChangedNotification(OrderReadOnly order, ChangingValue languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangenotificationbase-1.md deleted file mode 100644 index 81681579b62..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangenotificationbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderLanguageChangeNotificationBase -description: API reference for OrderLanguageChangeNotificationBase in Umbraco Commerce ---- -## OrderLanguageChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderLanguageChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLanguageChangeNotificationBase<TEntity> - -```csharp -public OrderLanguageChangeNotificationBase(TEntity order, ChangingValue languageIsoCode) -``` - - -### Properties - -#### LanguageIsoCode - -```csharp -public ChangingValue LanguageIsoCode { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangingnotification.md deleted file mode 100644 index e362b6e43b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlanguagechangingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderLanguageChangingNotification -description: API reference for OrderLanguageChangingNotification in Umbraco Commerce ---- -## OrderLanguageChangingNotification - -```csharp -public class OrderLanguageChangingNotification : OrderLanguageChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderLanguageChangeNotificationBase<TEntity>](orderlanguagechangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLanguageChangingNotification - -```csharp -public OrderLanguageChangingNotification(Order order, ChangingValue languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddednotification.md deleted file mode 100644 index 9e626b76ffb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderLineAddedNotification -description: API reference for OrderLineAddedNotification in Umbraco Commerce ---- -## OrderLineAddedNotification - -```csharp -public class OrderLineAddedNotification : OrderLineAddNotification -``` - -**Inheritance** - -* Class [OrderLineAddNotification<TEntity>](orderlineaddnotification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineAddedNotification - -```csharp -public OrderLineAddedNotification(OrderReadOnly order, OrderLineReadOnly orderLine) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddingnotification.md deleted file mode 100644 index 95402de3107..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderLineAddingNotification -description: API reference for OrderLineAddingNotification in Umbraco Commerce ---- -## OrderLineAddingNotification - -```csharp -public class OrderLineAddingNotification : OrderLineAddNotification -``` - -**Inheritance** - -* Class [OrderLineAddNotification<TEntity>](orderlineaddnotification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineAddingNotification - -```csharp -public OrderLineAddingNotification(Order order, OrderLineReadOnly orderLine) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddnotification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddnotification-1.md deleted file mode 100644 index b4fc8384c2a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineaddnotification-1.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: OrderLineAddNotification -description: API reference for OrderLineAddNotification in Umbraco Commerce ---- -## OrderLineAddNotification<TEntity> - -```csharp -public class OrderLineAddNotification : OrderNotificationEventBase, IHasEventKey - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) -* interface [IHasEventKey](../../umbraco-commerce-common/umbraco-commerce-common-events/ihaseventkey.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineAddNotification<TEntity> - -```csharp -public OrderLineAddNotification(TEntity order, OrderLineReadOnly orderLine) -``` - - -### Properties - -#### Key - -```csharp -public string Key { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangednotification.md deleted file mode 100644 index 96d054d8a93..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderLineChangedNotification -description: API reference for OrderLineChangedNotification in Umbraco Commerce ---- -## OrderLineChangedNotification - -```csharp -public class OrderLineChangedNotification : OrderLineChangeNotification -``` - -**Inheritance** - -* Class [OrderLineChangeNotification<TEntity>](orderlinechangenotification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineChangedNotification - -```csharp -public OrderLineChangedNotification(OrderReadOnly order, OrderLineReadOnly orderLine, - ChangingValue taxClassId, ChangingValue quantity, - DictionaryDiff properties) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangenotification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangenotification-1.md deleted file mode 100644 index 689ff9c8fcb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangenotification-1.md +++ /dev/null @@ -1,77 +0,0 @@ ---- -title: OrderLineChangeNotification -description: API reference for OrderLineChangeNotification in Umbraco Commerce ---- -## OrderLineChangeNotification<TEntity> - -```csharp -public class OrderLineChangeNotification : OrderNotificationEventBase, - IHasEventKey - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) -* interface [IHasEventKey](../../umbraco-commerce-common/umbraco-commerce-common-events/ihaseventkey.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineChangeNotification<TEntity> - -```csharp -public OrderLineChangeNotification(TEntity order, OrderLineReadOnly orderLine, - ChangingValue taxClassId, ChangingValue quantity, - DictionaryDiff properties) -``` - - -### Properties - -#### Key - -```csharp -public string Key { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - ---- - -#### Properties - -```csharp -public DictionaryDiff Properties { get; } -``` - - ---- - -#### Quantity - -```csharp -public ChangingValue Quantity { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangingnotification.md deleted file mode 100644 index 9d0c0595e5f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlinechangingnotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderLineChangingNotification -description: API reference for OrderLineChangingNotification in Umbraco Commerce ---- -## OrderLineChangingNotification - -```csharp -public class OrderLineChangingNotification : OrderLineChangeNotification -``` - -**Inheritance** - -* Class [OrderLineChangeNotification<TEntity>](orderlinechangenotification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineChangingNotification - -```csharp -public OrderLineChangingNotification(Order order, OrderLineReadOnly orderLine, - ChangingValue taxClassId, ChangingValue quantity, - DictionaryDiff properties) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovednotification.md deleted file mode 100644 index 82b11479120..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderLineRemovedNotification -description: API reference for OrderLineRemovedNotification in Umbraco Commerce ---- -## OrderLineRemovedNotification - -```csharp -public class OrderLineRemovedNotification : OrderLineRemoveNotification -``` - -**Inheritance** - -* Class [OrderLineRemoveNotification<TEntity>](orderlineremovenotification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineRemovedNotification - -```csharp -public OrderLineRemovedNotification(OrderReadOnly order, OrderLineReadOnly orderLine) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovenotification-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovenotification-1.md deleted file mode 100644 index 06419463376..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovenotification-1.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderLineRemoveNotification -description: API reference for OrderLineRemoveNotification in Umbraco Commerce ---- -## OrderLineRemoveNotification<TEntity> - -```csharp -public class OrderLineRemoveNotification : OrderNotificationEventBase, - IHasEventKey - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) -* interface [IHasEventKey](../../umbraco-commerce-common/umbraco-commerce-common-events/ihaseventkey.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineRemoveNotification<TEntity> - -```csharp -public OrderLineRemoveNotification(TEntity order, OrderLineReadOnly orderLine) -``` - - -### Properties - -#### Key - -```csharp -public string Key { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovingnotification.md deleted file mode 100644 index 089071ced29..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderlineremovingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderLineRemovingNotification -description: API reference for OrderLineRemovingNotification in Umbraco Commerce ---- -## OrderLineRemovingNotification - -```csharp -public class OrderLineRemovingNotification : OrderLineRemoveNotification -``` - -**Inheritance** - -* Class [OrderLineRemoveNotification<TEntity>](orderlineremovenotification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderLineRemovingNotification - -```csharp -public OrderLineRemovingNotification(Order order, OrderLineReadOnly orderLine) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordernotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordernotificationeventbase-1.md deleted file mode 100644 index 498ae534c32..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordernotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: OrderNotificationEventBase -description: API reference for OrderNotificationEventBase in Umbraco Commerce ---- -## OrderNotificationEventBase<TOrder> - -```csharp -public abstract class OrderNotificationEventBase : NotificationEventBase - where TOrder : OrderReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderNotificationEventBase<TOrder> - -```csharp -public OrderNotificationEventBase(TOrder order) -``` - - -### Properties - -#### Order - -```csharp -public TOrder Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangednotification.md deleted file mode 100644 index 9090480157f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderPaymentCountryRegionChangedNotification -description: API reference for OrderPaymentCountryRegionChangedNotification in Umbraco Commerce ---- -## OrderPaymentCountryRegionChangedNotification - -```csharp -public class OrderPaymentCountryRegionChangedNotification : - OrderPaymentCountryRegionChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderPaymentCountryRegionChangeNotificationBase<TEntity>](orderpaymentcountryregionchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPaymentCountryRegionChangedNotification - -```csharp -public OrderPaymentCountryRegionChangedNotification(OrderReadOnly order, - ChangingValue countryId, ChangingValue regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangenotificationbase-1.md deleted file mode 100644 index 929c5f3dd00..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangenotificationbase-1.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderPaymentCountryRegionChangeNotificationBase -description: API reference for OrderPaymentCountryRegionChangeNotificationBase in Umbraco Commerce ---- -## OrderPaymentCountryRegionChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderPaymentCountryRegionChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPaymentCountryRegionChangeNotificationBase<TEntity> - -```csharp -public OrderPaymentCountryRegionChangeNotificationBase(TEntity order, - ChangingValue countryId, ChangingValue regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public ChangingValue CountryId { get; } -``` - - ---- - -#### RegionId - -```csharp -public ChangingValue RegionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangingnotification.md deleted file mode 100644 index e103367d693..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentcountryregionchangingnotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderPaymentCountryRegionChangingNotification -description: API reference for OrderPaymentCountryRegionChangingNotification in Umbraco Commerce ---- -## OrderPaymentCountryRegionChangingNotification - -```csharp -public class OrderPaymentCountryRegionChangingNotification : - OrderPaymentCountryRegionChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderPaymentCountryRegionChangeNotificationBase<TEntity>](orderpaymentcountryregionchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPaymentCountryRegionChangingNotification - -```csharp -public OrderPaymentCountryRegionChangingNotification(Order order, ChangingValue countryId, - ChangingValue regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangednotification.md deleted file mode 100644 index a4c2a297bae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderPaymentMethodChangedNotification -description: API reference for OrderPaymentMethodChangedNotification in Umbraco Commerce ---- -## OrderPaymentMethodChangedNotification - -```csharp -public class OrderPaymentMethodChangedNotification : - OrderPaymentMethodChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderPaymentMethodChangeNotificationBase<TEntity>](orderpaymentmethodchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPaymentMethodChangedNotification - -```csharp -public OrderPaymentMethodChangedNotification(OrderReadOnly order, - ChangingValue paymentMethodId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangenotificationbase-1.md deleted file mode 100644 index ad6bb519143..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangenotificationbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderPaymentMethodChangeNotificationBase -description: API reference for OrderPaymentMethodChangeNotificationBase in Umbraco Commerce ---- -## OrderPaymentMethodChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderPaymentMethodChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPaymentMethodChangeNotificationBase<TEntity> - -```csharp -public OrderPaymentMethodChangeNotificationBase(TEntity order, ChangingValue paymentMethodId) -``` - - -### Properties - -#### PaymentMethodId - -```csharp -public ChangingValue PaymentMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangingnotification.md deleted file mode 100644 index 74842a87e62..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpaymentmethodchangingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: OrderPaymentMethodChangingNotification -description: API reference for OrderPaymentMethodChangingNotification in Umbraco Commerce ---- -## OrderPaymentMethodChangingNotification - -```csharp -public class OrderPaymentMethodChangingNotification : - OrderPaymentMethodChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderPaymentMethodChangeNotificationBase<TEntity>](orderpaymentmethodchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPaymentMethodChangingNotification - -```csharp -public OrderPaymentMethodChangingNotification(Order order, ChangingValue paymentMethodId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddednotification.md deleted file mode 100644 index cfb502bf2b8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddednotification.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderProductAddedNotification -description: API reference for OrderProductAddedNotification in Umbraco Commerce ---- -## OrderProductAddedNotification - -```csharp -public class OrderProductAddedNotification : OrderProductAddNotificationBase -``` - -**Inheritance** - -* Class [OrderProductAddNotificationBase<TEntity>](orderproductaddnotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderProductAddedNotification (1 of 2) - -```csharp -public OrderProductAddedNotification(OrderReadOnly order, string productReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId) -``` - ---- - -#### OrderProductAddedNotification (2 of 2) - -```csharp -public OrderProductAddedNotification(OrderReadOnly order, string productReference, - string productVariantReference, decimal qty, IDictionary properties, - string bundleId, string parentBundleId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddingnotification.md deleted file mode 100644 index f953e47a565..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddingnotification.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderProductAddingNotification -description: API reference for OrderProductAddingNotification in Umbraco Commerce ---- -## OrderProductAddingNotification - -```csharp -public class OrderProductAddingNotification : OrderProductAddNotificationBase -``` - -**Inheritance** - -* Class [OrderProductAddNotificationBase<TEntity>](orderproductaddnotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderProductAddingNotification (1 of 2) - -```csharp -public OrderProductAddingNotification(Order order, string productReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId) -``` - ---- - -#### OrderProductAddingNotification (2 of 2) - -```csharp -public OrderProductAddingNotification(Order order, string productReference, - string productVariantReference, decimal qty, IDictionary properties, - string bundleId, string parentBundleId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddnotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddnotificationbase-1.md deleted file mode 100644 index 23c1906fd46..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderproductaddnotificationbase-1.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -title: OrderProductAddNotificationBase -description: API reference for OrderProductAddNotificationBase in Umbraco Commerce ---- -## OrderProductAddNotificationBase<TEntity> - -```csharp -public abstract class OrderProductAddNotificationBase : OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderProductAddNotificationBase<TEntity> (1 of 2) - -```csharp -public OrderProductAddNotificationBase(TEntity order, string productReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId) -``` - ---- - -#### OrderProductAddNotificationBase<TEntity> (2 of 2) - -```csharp -public OrderProductAddNotificationBase(TEntity order, string productReference, - string productVariantReference, decimal qty, IDictionary properties, - string bundleId, string parentBundleId) -``` - - -### Properties - -#### BundleId - -```csharp -public string BundleId { get; } -``` - - ---- - -#### ParentBundleId - -```csharp -public string ParentBundleId { get; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### Properties - -```csharp -public IDictionary Properties { get; } -``` - - ---- - -#### Quantity - -```csharp -public decimal Quantity { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangednotification.md deleted file mode 100644 index 3dd0475670a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderPropertiesChangedNotification -description: API reference for OrderPropertiesChangedNotification in Umbraco Commerce ---- -## OrderPropertiesChangedNotification - -```csharp -public class OrderPropertiesChangedNotification : - OrderPropertiesChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderPropertiesChangeNotificationBase<TEntity>](orderpropertieschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPropertiesChangedNotification - -```csharp -public OrderPropertiesChangedNotification(OrderReadOnly order, - DictionaryDiff properties) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangenotificationbase-1.md deleted file mode 100644 index 97444d2897a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangenotificationbase-1.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: OrderPropertiesChangeNotificationBase -description: API reference for OrderPropertiesChangeNotificationBase in Umbraco Commerce ---- -## OrderPropertiesChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderPropertiesChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPropertiesChangeNotificationBase<TEntity> - -```csharp -public OrderPropertiesChangeNotificationBase(TEntity order, - DictionaryDiff properties) -``` - - -### Properties - -#### Properties - -```csharp -public DictionaryDiff Properties { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangingnotification.md deleted file mode 100644 index d4eae90ae63..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderpropertieschangingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: OrderPropertiesChangingNotification -description: API reference for OrderPropertiesChangingNotification in Umbraco Commerce ---- -## OrderPropertiesChangingNotification - -```csharp -public class OrderPropertiesChangingNotification : OrderPropertiesChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderPropertiesChangeNotificationBase<TEntity>](orderpropertieschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderPropertiesChangingNotification - -```csharp -public OrderPropertiesChangingNotification(Order order, - DictionaryDiff properties) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordersavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordersavednotification.md deleted file mode 100644 index 0b24df321b1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordersavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderSavedNotification -description: API reference for OrderSavedNotification in Umbraco Commerce ---- -## OrderSavedNotification - -```csharp -public class OrderSavedNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderSavedNotification - -```csharp -public OrderSavedNotification(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordersavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordersavingnotification.md deleted file mode 100644 index 5e47fc5cb32..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordersavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderSavingNotification -description: API reference for OrderSavingNotification in Umbraco Commerce ---- -## OrderSavingNotification - -```csharp -public class OrderSavingNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderSavingNotification - -```csharp -public OrderSavingNotification(Order order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangednotification.md deleted file mode 100644 index d161192e31c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderShippingCountryRegionChangedNotification -description: API reference for OrderShippingCountryRegionChangedNotification in Umbraco Commerce ---- -## OrderShippingCountryRegionChangedNotification - -```csharp -public class OrderShippingCountryRegionChangedNotification : - OrderShippingCountryRegionChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderShippingCountryRegionChangeNotificationBase<TEntity>](ordershippingcountryregionchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderShippingCountryRegionChangedNotification - -```csharp -public OrderShippingCountryRegionChangedNotification(OrderReadOnly order, - ChangingValue countryId, ChangingValue regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangenotificationbase-1.md deleted file mode 100644 index 5326b3bdd8e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangenotificationbase-1.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderShippingCountryRegionChangeNotificationBase -description: API reference for OrderShippingCountryRegionChangeNotificationBase in Umbraco Commerce ---- -## OrderShippingCountryRegionChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderShippingCountryRegionChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderShippingCountryRegionChangeNotificationBase<TEntity> - -```csharp -public OrderShippingCountryRegionChangeNotificationBase(TEntity order, - ChangingValue countryId, ChangingValue regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public ChangingValue CountryId { get; } -``` - - ---- - -#### RegionId - -```csharp -public ChangingValue RegionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangingnotification.md deleted file mode 100644 index 37befa2a7b5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingcountryregionchangingnotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderShippingCountryRegionChangingNotification -description: API reference for OrderShippingCountryRegionChangingNotification in Umbraco Commerce ---- -## OrderShippingCountryRegionChangingNotification - -```csharp -public class OrderShippingCountryRegionChangingNotification : - OrderShippingCountryRegionChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderShippingCountryRegionChangeNotificationBase<TEntity>](ordershippingcountryregionchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderShippingCountryRegionChangingNotification - -```csharp -public OrderShippingCountryRegionChangingNotification(Order order, ChangingValue countryId, - ChangingValue regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangednotification.md deleted file mode 100644 index f4450b1f5ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderShippingMethodChangedNotification -description: API reference for OrderShippingMethodChangedNotification in Umbraco Commerce ---- -## OrderShippingMethodChangedNotification - -```csharp -public class OrderShippingMethodChangedNotification : - OrderShippingMethodChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderShippingMethodChangeNotificationBase<TEntity>](ordershippingmethodchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderShippingMethodChangedNotification - -```csharp -public OrderShippingMethodChangedNotification(OrderReadOnly order, - ChangingValue shippingMethodId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangenotificationbase-1.md deleted file mode 100644 index b3709091442..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangenotificationbase-1.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: OrderShippingMethodChangeNotificationBase -description: API reference for OrderShippingMethodChangeNotificationBase in Umbraco Commerce ---- -## OrderShippingMethodChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderShippingMethodChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderShippingMethodChangeNotificationBase<TEntity> - -```csharp -public OrderShippingMethodChangeNotificationBase(TEntity order, - ChangingValue shippingMethodId) -``` - - -### Properties - -#### ShippingMethodId - -```csharp -public ChangingValue ShippingMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangingnotification.md deleted file mode 100644 index 0df8726d76c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordershippingmethodchangingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: OrderShippingMethodChangingNotification -description: API reference for OrderShippingMethodChangingNotification in Umbraco Commerce ---- -## OrderShippingMethodChangingNotification - -```csharp -public class OrderShippingMethodChangingNotification : - OrderShippingMethodChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderShippingMethodChangeNotificationBase<TEntity>](ordershippingmethodchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderShippingMethodChangingNotification - -```csharp -public OrderShippingMethodChangingNotification(Order order, ChangingValue shippingMethodId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangednotification.md deleted file mode 100644 index 84ea109f998..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: OrderStatusChangedNotification -description: API reference for OrderStatusChangedNotification in Umbraco Commerce ---- -## OrderStatusChangedNotification - -```csharp -public class OrderStatusChangedNotification : OrderStatusChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderStatusChangeNotificationBase<TEntity>](orderstatuschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusChangedNotification - -```csharp -public OrderStatusChangedNotification(OrderReadOnly order, ChangingValue orderStatusId, - ChangingValue orderStatusCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangenotificationbase-1.md deleted file mode 100644 index 27f4d1a218e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangenotificationbase-1.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -title: OrderStatusChangeNotificationBase -description: API reference for OrderStatusChangeNotificationBase in Umbraco Commerce ---- -## OrderStatusChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderStatusChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusChangeNotificationBase<TEntity> - -```csharp -public OrderStatusChangeNotificationBase(TEntity order, ChangingValue orderStatusId, - ChangingValue orderStatusCode) -``` - - -### Properties - -#### OrderStatusCode - -```csharp -public ChangingValue OrderStatusCode { get; } -``` - - ---- - -#### OrderStatusId - -```csharp -public ChangingValue OrderStatusId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangingnotification.md deleted file mode 100644 index 43cec88f30b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuschangingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: OrderStatusChangingNotification -description: API reference for OrderStatusChangingNotification in Umbraco Commerce ---- -## OrderStatusChangingNotification - -```csharp -public class OrderStatusChangingNotification : OrderStatusChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderStatusChangeNotificationBase<TEntity>](orderstatuschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusChangingNotification - -```csharp -public OrderStatusChangingNotification(Order order, ChangingValue orderStatusId, - ChangingValue orderStatusCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuscreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuscreatednotification.md deleted file mode 100644 index 47d8d774885..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuscreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusCreatedNotification -description: API reference for OrderStatusCreatedNotification in Umbraco Commerce ---- -## OrderStatusCreatedNotification - -```csharp -public class OrderStatusCreatedNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusCreatedNotification - -```csharp -public OrderStatusCreatedNotification(OrderStatusReadOnly orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuscreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuscreatingnotification.md deleted file mode 100644 index a28b3ad3a1b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatuscreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusCreatingNotification -description: API reference for OrderStatusCreatingNotification in Umbraco Commerce ---- -## OrderStatusCreatingNotification - -```csharp -public class OrderStatusCreatingNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusCreatingNotification - -```csharp -public OrderStatusCreatingNotification(OrderStatus orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusdeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusdeletednotification.md deleted file mode 100644 index 4b1dc338379..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusdeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusDeletedNotification -description: API reference for OrderStatusDeletedNotification in Umbraco Commerce ---- -## OrderStatusDeletedNotification - -```csharp -public class OrderStatusDeletedNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusDeletedNotification - -```csharp -public OrderStatusDeletedNotification(OrderStatusReadOnly orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusdeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusdeletingnotification.md deleted file mode 100644 index 4cecc258d82..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusdeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusDeletingNotification -description: API reference for OrderStatusDeletingNotification in Umbraco Commerce ---- -## OrderStatusDeletingNotification - -```csharp -public class OrderStatusDeletingNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusDeletingNotification - -```csharp -public OrderStatusDeletingNotification(OrderStatusReadOnly orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusnotificationeventbase-1.md deleted file mode 100644 index 25dd12fd288..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: OrderStatusNotificationEventBase -description: API reference for OrderStatusNotificationEventBase in Umbraco Commerce ---- -## OrderStatusNotificationEventBase<TEntity> - -```csharp -public abstract class OrderStatusNotificationEventBase : NotificationEventBase - where TEntity : OrderStatusReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusNotificationEventBase<TEntity> - -```csharp -public OrderStatusNotificationEventBase(TEntity orderStatus) -``` - - -### Properties - -#### OrderStatus - -```csharp -public TEntity OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatussavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatussavednotification.md deleted file mode 100644 index 690ee05fbea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatussavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusSavedNotification -description: API reference for OrderStatusSavedNotification in Umbraco Commerce ---- -## OrderStatusSavedNotification - -```csharp -public class OrderStatusSavedNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusSavedNotification - -```csharp -public OrderStatusSavedNotification(OrderStatusReadOnly orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatussavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatussavingnotification.md deleted file mode 100644 index bfe1d70a7ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatussavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusSavingNotification -description: API reference for OrderStatusSavingNotification in Umbraco Commerce ---- -## OrderStatusSavingNotification - -```csharp -public class OrderStatusSavingNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusSavingNotification - -```csharp -public OrderStatusSavingNotification(OrderStatus orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusupdatednotification.md deleted file mode 100644 index b0eb1d1b1a5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusUpdatedNotification -description: API reference for OrderStatusUpdatedNotification in Umbraco Commerce ---- -## OrderStatusUpdatedNotification - -```csharp -public class OrderStatusUpdatedNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusUpdatedNotification - -```csharp -public OrderStatusUpdatedNotification(OrderStatusReadOnly orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusupdatingnotification.md deleted file mode 100644 index 432fa1bab22..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderstatusupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderStatusUpdatingNotification -description: API reference for OrderStatusUpdatingNotification in Umbraco Commerce ---- -## OrderStatusUpdatingNotification - -```csharp -public class OrderStatusUpdatingNotification : OrderStatusNotificationEventBase -``` - -**Inheritance** - -* Class [OrderStatusNotificationEventBase<TEntity>](orderstatusnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderStatusUpdatingNotification - -```csharp -public OrderStatusUpdatingNotification(OrderStatus orderStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangednotification.md deleted file mode 100644 index 6fa17d72701..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderTagsChangedNotification -description: API reference for OrderTagsChangedNotification in Umbraco Commerce ---- -## OrderTagsChangedNotification - -```csharp -public class OrderTagsChangedNotification : OrderTagsChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderTagsChangeNotificationBase<TEntity>](ordertagschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTagsChangedNotification - -```csharp -public OrderTagsChangedNotification(OrderReadOnly order, EnumerableDiff tags) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangenotificationbase-1.md deleted file mode 100644 index bd1520a74b3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangenotificationbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: OrderTagsChangeNotificationBase -description: API reference for OrderTagsChangeNotificationBase in Umbraco Commerce ---- -## OrderTagsChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderTagsChangeNotificationBase : OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTagsChangeNotificationBase<TEntity> - -```csharp -public OrderTagsChangeNotificationBase(TEntity order, EnumerableDiff tags) -``` - - -### Properties - -#### Tags - -```csharp -public EnumerableDiff Tags { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangingnotification.md deleted file mode 100644 index c7a2719c293..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertagschangingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderTagsChangingNotification -description: API reference for OrderTagsChangingNotification in Umbraco Commerce ---- -## OrderTagsChangingNotification - -```csharp -public class OrderTagsChangingNotification : OrderTagsChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderTagsChangeNotificationBase<TEntity>](ordertagschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTagsChangingNotification - -```csharp -public OrderTagsChangingNotification(Order order, EnumerableDiff tags) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangednotification.md deleted file mode 100644 index 962e495804a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderTaxClassChangedNotification -description: API reference for OrderTaxClassChangedNotification in Umbraco Commerce ---- -## OrderTaxClassChangedNotification - -```csharp -public class OrderTaxClassChangedNotification : OrderTaxClassChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderTaxClassChangeNotificationBase<TEntity>](ordertaxclasschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTaxClassChangedNotification - -```csharp -public OrderTaxClassChangedNotification(OrderReadOnly order, ChangingValue taxClassId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangenotificationbase-1.md deleted file mode 100644 index 0cd519b2046..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangenotificationbase-1.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: OrderTaxClassChangeNotificationBase -description: API reference for OrderTaxClassChangeNotificationBase in Umbraco Commerce ---- -## OrderTaxClassChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderTaxClassChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTaxClassChangeNotificationBase<TEntity> - -```csharp -public OrderTaxClassChangeNotificationBase(TEntity order, ChangingValue taxClassId) -``` - - -### Properties - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangingnotification.md deleted file mode 100644 index 1848f5538eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertaxclasschangingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderTaxClassChangingNotification -description: API reference for OrderTaxClassChangingNotification in Umbraco Commerce ---- -## OrderTaxClassChangingNotification - -```csharp -public class OrderTaxClassChangingNotification : OrderTaxClassChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderTaxClassChangeNotificationBase<TEntity>](ordertaxclasschangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTaxClassChangingNotification - -```csharp -public OrderTaxClassChangingNotification(Order order, ChangingValue taxClassId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionchangenotificationbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionchangenotificationbase-1.md deleted file mode 100644 index 0135e783b6b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionchangenotificationbase-1.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: OrderTransactionChangeNotificationBase -description: API reference for OrderTransactionChangeNotificationBase in Umbraco Commerce ---- -## OrderTransactionChangeNotificationBase<TEntity> - -```csharp -public abstract class OrderTransactionChangeNotificationBase : - OrderNotificationEventBase - where TEntity : OrderReadOnly -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTransactionChangeNotificationBase<TEntity> - -```csharp -public OrderTransactionChangeNotificationBase(TEntity order, - ChangingValue amountAuthorized, ChangingValue transactionFee, - ChangingValue transactionId, ChangingValue paymentStatus) -``` - - -### Properties - -#### AmountAuthorized - -```csharp -public ChangingValue AmountAuthorized { get; } -``` - - ---- - -#### PaymentStatus - -```csharp -public ChangingValue PaymentStatus { get; } -``` - - ---- - -#### TransactionFee - -```csharp -public ChangingValue TransactionFee { get; } -``` - - ---- - -#### TransactionId - -```csharp -public ChangingValue TransactionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionupdatednotification.md deleted file mode 100644 index 02909a7fcd4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionupdatednotification.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: OrderTransactionUpdatedNotification -description: API reference for OrderTransactionUpdatedNotification in Umbraco Commerce ---- -## OrderTransactionUpdatedNotification - -```csharp -public class OrderTransactionUpdatedNotification : - OrderTransactionChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderTransactionChangeNotificationBase<TEntity>](ordertransactionchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTransactionUpdatedNotification - -```csharp -public OrderTransactionUpdatedNotification(OrderReadOnly order, - ChangingValue amountAuthorized, ChangingValue transactionFee, - ChangingValue transactionId, ChangingValue paymentStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionupdatingnotification.md deleted file mode 100644 index 5f14918027c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/ordertransactionupdatingnotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: OrderTransactionUpdatingNotification -description: API reference for OrderTransactionUpdatingNotification in Umbraco Commerce ---- -## OrderTransactionUpdatingNotification - -```csharp -public class OrderTransactionUpdatingNotification : OrderTransactionChangeNotificationBase -``` - -**Inheritance** - -* Class [OrderTransactionChangeNotificationBase<TEntity>](ordertransactionchangenotificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderTransactionUpdatingNotification - -```csharp -public OrderTransactionUpdatingNotification(Order order, ChangingValue amountAuthorized, - ChangingValue transactionFee, ChangingValue transactionId, - ChangingValue paymentStatus) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderupdatednotification.md deleted file mode 100644 index f56c72f8174..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderUpdatedNotification -description: API reference for OrderUpdatedNotification in Umbraco Commerce ---- -## OrderUpdatedNotification - -```csharp -public class OrderUpdatedNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderUpdatedNotification - -```csharp -public OrderUpdatedNotification(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderupdatingnotification.md deleted file mode 100644 index 5b95f81e981..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/orderupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderUpdatingNotification -description: API reference for OrderUpdatingNotification in Umbraco Commerce ---- -## OrderUpdatingNotification - -```csharp -public class OrderUpdatingNotification : OrderNotificationEventBase -``` - -**Inheritance** - -* Class [OrderNotificationEventBase<TOrder>](ordernotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### OrderUpdatingNotification - -```csharp -public OrderUpdatingNotification(Order order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentformgeneratingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentformgeneratingnotification.md deleted file mode 100644 index c07702cc14d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentformgeneratingnotification.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: PaymentFormGeneratingNotification -description: API reference for PaymentFormGeneratingNotification in Umbraco Commerce ---- -## PaymentFormGeneratingNotification - -```csharp -public class PaymentFormGeneratingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentFormGeneratingNotification - -```csharp -public PaymentFormGeneratingNotification(OrderReadOnly order, IPaymentProvider paymentProvider, - IReadOnlyDictionary settings) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### PaymentProvider - -```csharp -public IPaymentProvider PaymentProvider { get; } -``` - - ---- - -#### Settings - -```csharp -public IReadOnlyDictionary Settings { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodcreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodcreatednotification.md deleted file mode 100644 index db3db2c81ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodcreatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PaymentMethodCreatedNotification -description: API reference for PaymentMethodCreatedNotification in Umbraco Commerce ---- -## PaymentMethodCreatedNotification - -```csharp -public class PaymentMethodCreatedNotification : - PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodCreatedNotification - -```csharp -public PaymentMethodCreatedNotification(PaymentMethodReadOnly paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodcreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodcreatingnotification.md deleted file mode 100644 index 1164f1a4896..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodcreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PaymentMethodCreatingNotification -description: API reference for PaymentMethodCreatingNotification in Umbraco Commerce ---- -## PaymentMethodCreatingNotification - -```csharp -public class PaymentMethodCreatingNotification : PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodCreatingNotification - -```csharp -public PaymentMethodCreatingNotification(PaymentMethod paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethoddeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethoddeletednotification.md deleted file mode 100644 index 3b19b4ca1fe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethoddeletednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PaymentMethodDeletedNotification -description: API reference for PaymentMethodDeletedNotification in Umbraco Commerce ---- -## PaymentMethodDeletedNotification - -```csharp -public class PaymentMethodDeletedNotification : - PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodDeletedNotification - -```csharp -public PaymentMethodDeletedNotification(PaymentMethodReadOnly paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethoddeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethoddeletingnotification.md deleted file mode 100644 index 8b8a1de183d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethoddeletingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PaymentMethodDeletingNotification -description: API reference for PaymentMethodDeletingNotification in Umbraco Commerce ---- -## PaymentMethodDeletingNotification - -```csharp -public class PaymentMethodDeletingNotification : - PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodDeletingNotification - -```csharp -public PaymentMethodDeletingNotification(PaymentMethodReadOnly paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodnotificationeventbase-1.md deleted file mode 100644 index b7c28f1f8f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: PaymentMethodNotificationEventBase -description: API reference for PaymentMethodNotificationEventBase in Umbraco Commerce ---- -## PaymentMethodNotificationEventBase<TEntity> - -```csharp -public abstract class PaymentMethodNotificationEventBase : NotificationEventBase - where TEntity : PaymentMethodReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodNotificationEventBase<TEntity> - -```csharp -public PaymentMethodNotificationEventBase(TEntity paymentMethod) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public TEntity PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodsavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodsavednotification.md deleted file mode 100644 index 3ea6c4aa4ba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodsavednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PaymentMethodSavedNotification -description: API reference for PaymentMethodSavedNotification in Umbraco Commerce ---- -## PaymentMethodSavedNotification - -```csharp -public class PaymentMethodSavedNotification : - PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodSavedNotification - -```csharp -public PaymentMethodSavedNotification(PaymentMethodReadOnly paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodsavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodsavingnotification.md deleted file mode 100644 index 202c85b8fa0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodsavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PaymentMethodSavingNotification -description: API reference for PaymentMethodSavingNotification in Umbraco Commerce ---- -## PaymentMethodSavingNotification - -```csharp -public class PaymentMethodSavingNotification : PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodSavingNotification - -```csharp -public PaymentMethodSavingNotification(PaymentMethod paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodupdatednotification.md deleted file mode 100644 index dac5dc3de57..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodupdatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PaymentMethodUpdatedNotification -description: API reference for PaymentMethodUpdatedNotification in Umbraco Commerce ---- -## PaymentMethodUpdatedNotification - -```csharp -public class PaymentMethodUpdatedNotification : - PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodUpdatedNotification - -```csharp -public PaymentMethodUpdatedNotification(PaymentMethodReadOnly paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodupdatingnotification.md deleted file mode 100644 index e6345384f55..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/paymentmethodupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PaymentMethodUpdatingNotification -description: API reference for PaymentMethodUpdatingNotification in Umbraco Commerce ---- -## PaymentMethodUpdatingNotification - -```csharp -public class PaymentMethodUpdatingNotification : PaymentMethodNotificationEventBase -``` - -**Inheritance** - -* Class [PaymentMethodNotificationEventBase<TEntity>](paymentmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PaymentMethodUpdatingNotification - -```csharp -public PaymentMethodUpdatingNotification(PaymentMethod paymentMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatecreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatecreatednotification.md deleted file mode 100644 index 36a1cc532dc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatecreatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PrintTemplateCreatedNotification -description: API reference for PrintTemplateCreatedNotification in Umbraco Commerce ---- -## PrintTemplateCreatedNotification - -```csharp -public class PrintTemplateCreatedNotification : - PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateCreatedNotification - -```csharp -public PrintTemplateCreatedNotification(PrintTemplateReadOnly printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatecreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatecreatingnotification.md deleted file mode 100644 index eea32727d5e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatecreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PrintTemplateCreatingNotification -description: API reference for PrintTemplateCreatingNotification in Umbraco Commerce ---- -## PrintTemplateCreatingNotification - -```csharp -public class PrintTemplateCreatingNotification : PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateCreatingNotification - -```csharp -public PrintTemplateCreatingNotification(PrintTemplate printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatedeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatedeletednotification.md deleted file mode 100644 index 6ac76a60bc6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatedeletednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PrintTemplateDeletedNotification -description: API reference for PrintTemplateDeletedNotification in Umbraco Commerce ---- -## PrintTemplateDeletedNotification - -```csharp -public class PrintTemplateDeletedNotification : - PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateDeletedNotification - -```csharp -public PrintTemplateDeletedNotification(PrintTemplateReadOnly printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatedeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatedeletingnotification.md deleted file mode 100644 index 44f0ec2f25d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatedeletingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PrintTemplateDeletingNotification -description: API reference for PrintTemplateDeletingNotification in Umbraco Commerce ---- -## PrintTemplateDeletingNotification - -```csharp -public class PrintTemplateDeletingNotification : - PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateDeletingNotification - -```csharp -public PrintTemplateDeletingNotification(PrintTemplateReadOnly printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatenotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatenotificationeventbase-1.md deleted file mode 100644 index afdeb2fed9e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatenotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: PrintTemplateNotificationEventBase -description: API reference for PrintTemplateNotificationEventBase in Umbraco Commerce ---- -## PrintTemplateNotificationEventBase<TEntity> - -```csharp -public abstract class PrintTemplateNotificationEventBase : NotificationEventBase - where TEntity : PrintTemplateReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateNotificationEventBase<TEntity> - -```csharp -public PrintTemplateNotificationEventBase(TEntity printTemplate) -``` - - -### Properties - -#### PrintTemplate - -```csharp -public TEntity PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatesavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatesavednotification.md deleted file mode 100644 index 40655afb363..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatesavednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PrintTemplateSavedNotification -description: API reference for PrintTemplateSavedNotification in Umbraco Commerce ---- -## PrintTemplateSavedNotification - -```csharp -public class PrintTemplateSavedNotification : - PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateSavedNotification - -```csharp -public PrintTemplateSavedNotification(PrintTemplateReadOnly printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatesavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatesavingnotification.md deleted file mode 100644 index 2758e36433e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplatesavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PrintTemplateSavingNotification -description: API reference for PrintTemplateSavingNotification in Umbraco Commerce ---- -## PrintTemplateSavingNotification - -```csharp -public class PrintTemplateSavingNotification : PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateSavingNotification - -```csharp -public PrintTemplateSavingNotification(PrintTemplate printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplateupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplateupdatednotification.md deleted file mode 100644 index b0ced86b6e0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplateupdatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: PrintTemplateUpdatedNotification -description: API reference for PrintTemplateUpdatedNotification in Umbraco Commerce ---- -## PrintTemplateUpdatedNotification - -```csharp -public class PrintTemplateUpdatedNotification : - PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateUpdatedNotification - -```csharp -public PrintTemplateUpdatedNotification(PrintTemplateReadOnly printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplateupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplateupdatingnotification.md deleted file mode 100644 index 6f237d3cefa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/printtemplateupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PrintTemplateUpdatingNotification -description: API reference for PrintTemplateUpdatingNotification in Umbraco Commerce ---- -## PrintTemplateUpdatingNotification - -```csharp -public class PrintTemplateUpdatingNotification : PrintTemplateNotificationEventBase -``` - -**Inheritance** - -* Class [PrintTemplateNotificationEventBase<TEntity>](printtemplatenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### PrintTemplateUpdatingNotification - -```csharp -public PrintTemplateUpdatingNotification(PrintTemplate printTemplate) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributecreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributecreatednotification.md deleted file mode 100644 index 302cc2f7676..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributecreatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeCreatedNotification -description: API reference for ProductAttributeCreatedNotification in Umbraco Commerce ---- -## ProductAttributeCreatedNotification - -```csharp -public class ProductAttributeCreatedNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeCreatedNotification - -```csharp -public ProductAttributeCreatedNotification(ProductAttributeReadOnly productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributecreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributecreatingnotification.md deleted file mode 100644 index ec5d17f3e1f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributecreatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeCreatingNotification -description: API reference for ProductAttributeCreatingNotification in Umbraco Commerce ---- -## ProductAttributeCreatingNotification - -```csharp -public class ProductAttributeCreatingNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeCreatingNotification - -```csharp -public ProductAttributeCreatingNotification(ProductAttribute productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributedeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributedeletednotification.md deleted file mode 100644 index 36354309295..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributedeletednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeDeletedNotification -description: API reference for ProductAttributeDeletedNotification in Umbraco Commerce ---- -## ProductAttributeDeletedNotification - -```csharp -public class ProductAttributeDeletedNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeDeletedNotification - -```csharp -public ProductAttributeDeletedNotification(ProductAttributeReadOnly productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributedeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributedeletingnotification.md deleted file mode 100644 index ebf2b452f26..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributedeletingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeDeletingNotification -description: API reference for ProductAttributeDeletingNotification in Umbraco Commerce ---- -## ProductAttributeDeletingNotification - -```csharp -public class ProductAttributeDeletingNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeDeletingNotification - -```csharp -public ProductAttributeDeletingNotification(ProductAttributeReadOnly productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributenotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributenotificationeventbase-1.md deleted file mode 100644 index 4075a8f4cbc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributenotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ProductAttributeNotificationEventBase -description: API reference for ProductAttributeNotificationEventBase in Umbraco Commerce ---- -## ProductAttributeNotificationEventBase<TEntity> - -```csharp -public abstract class ProductAttributeNotificationEventBase : NotificationEventBase - where TEntity : ProductAttributeReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeNotificationEventBase<TEntity> - -```csharp -public ProductAttributeNotificationEventBase(TEntity productAttribute) -``` - - -### Properties - -#### ProductAttribute - -```csharp -public TEntity ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetcreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetcreatednotification.md deleted file mode 100644 index 2b2696b2723..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetcreatednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: ProductAttributePresetCreatedNotification -description: API reference for ProductAttributePresetCreatedNotification in Umbraco Commerce ---- -## ProductAttributePresetCreatedNotification - -```csharp -public class ProductAttributePresetCreatedNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetCreatedNotification - -```csharp -public ProductAttributePresetCreatedNotification( - ProductAttributePresetReadOnly productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetcreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetcreatingnotification.md deleted file mode 100644 index ed04336d051..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetcreatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributePresetCreatingNotification -description: API reference for ProductAttributePresetCreatingNotification in Umbraco Commerce ---- -## ProductAttributePresetCreatingNotification - -```csharp -public class ProductAttributePresetCreatingNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetCreatingNotification - -```csharp -public ProductAttributePresetCreatingNotification(ProductAttributePreset productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetdeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetdeletednotification.md deleted file mode 100644 index 92cbb96acb0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetdeletednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: ProductAttributePresetDeletedNotification -description: API reference for ProductAttributePresetDeletedNotification in Umbraco Commerce ---- -## ProductAttributePresetDeletedNotification - -```csharp -public class ProductAttributePresetDeletedNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetDeletedNotification - -```csharp -public ProductAttributePresetDeletedNotification( - ProductAttributePresetReadOnly productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetdeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetdeletingnotification.md deleted file mode 100644 index 0c582c46b0f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetdeletingnotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: ProductAttributePresetDeletingNotification -description: API reference for ProductAttributePresetDeletingNotification in Umbraco Commerce ---- -## ProductAttributePresetDeletingNotification - -```csharp -public class ProductAttributePresetDeletingNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetDeletingNotification - -```csharp -public ProductAttributePresetDeletingNotification( - ProductAttributePresetReadOnly productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetnotificationeventbase-1.md deleted file mode 100644 index aeb71ab4707..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ProductAttributePresetNotificationEventBase -description: API reference for ProductAttributePresetNotificationEventBase in Umbraco Commerce ---- -## ProductAttributePresetNotificationEventBase<TEntity> - -```csharp -public abstract class ProductAttributePresetNotificationEventBase : NotificationEventBase - where TEntity : ProductAttributePresetReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetNotificationEventBase<TEntity> - -```csharp -public ProductAttributePresetNotificationEventBase(TEntity productAttributePreset) -``` - - -### Properties - -#### ProductAttributePreset - -```csharp -public TEntity ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetsavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetsavednotification.md deleted file mode 100644 index e9076102409..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetsavednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: ProductAttributePresetSavedNotification -description: API reference for ProductAttributePresetSavedNotification in Umbraco Commerce ---- -## ProductAttributePresetSavedNotification - -```csharp -public class ProductAttributePresetSavedNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetSavedNotification - -```csharp -public ProductAttributePresetSavedNotification( - ProductAttributePresetReadOnly productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetsavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetsavingnotification.md deleted file mode 100644 index 9448322d33f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetsavingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributePresetSavingNotification -description: API reference for ProductAttributePresetSavingNotification in Umbraco Commerce ---- -## ProductAttributePresetSavingNotification - -```csharp -public class ProductAttributePresetSavingNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetSavingNotification - -```csharp -public ProductAttributePresetSavingNotification(ProductAttributePreset productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetupdatednotification.md deleted file mode 100644 index b7aeed8c03a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetupdatednotification.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: ProductAttributePresetUpdatedNotification -description: API reference for ProductAttributePresetUpdatedNotification in Umbraco Commerce ---- -## ProductAttributePresetUpdatedNotification - -```csharp -public class ProductAttributePresetUpdatedNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetUpdatedNotification - -```csharp -public ProductAttributePresetUpdatedNotification( - ProductAttributePresetReadOnly productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetupdatingnotification.md deleted file mode 100644 index 875d87a0936..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributepresetupdatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributePresetUpdatingNotification -description: API reference for ProductAttributePresetUpdatingNotification in Umbraco Commerce ---- -## ProductAttributePresetUpdatingNotification - -```csharp -public class ProductAttributePresetUpdatingNotification : - ProductAttributePresetNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributePresetNotificationEventBase<TEntity>](productattributepresetnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributePresetUpdatingNotification - -```csharp -public ProductAttributePresetUpdatingNotification(ProductAttributePreset productAttributePreset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributesavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributesavednotification.md deleted file mode 100644 index 6ec09deaf9c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributesavednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeSavedNotification -description: API reference for ProductAttributeSavedNotification in Umbraco Commerce ---- -## ProductAttributeSavedNotification - -```csharp -public class ProductAttributeSavedNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeSavedNotification - -```csharp -public ProductAttributeSavedNotification(ProductAttributeReadOnly productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributesavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributesavingnotification.md deleted file mode 100644 index ddfcc9487bf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributesavingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeSavingNotification -description: API reference for ProductAttributeSavingNotification in Umbraco Commerce ---- -## ProductAttributeSavingNotification - -```csharp -public class ProductAttributeSavingNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeSavingNotification - -```csharp -public ProductAttributeSavingNotification(ProductAttribute productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributeupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributeupdatednotification.md deleted file mode 100644 index bc48eeda7f2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributeupdatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeUpdatedNotification -description: API reference for ProductAttributeUpdatedNotification in Umbraco Commerce ---- -## ProductAttributeUpdatedNotification - -```csharp -public class ProductAttributeUpdatedNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeUpdatedNotification - -```csharp -public ProductAttributeUpdatedNotification(ProductAttributeReadOnly productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributeupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributeupdatingnotification.md deleted file mode 100644 index 2315bbde81a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/productattributeupdatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductAttributeUpdatingNotification -description: API reference for ProductAttributeUpdatingNotification in Umbraco Commerce ---- -## ProductAttributeUpdatingNotification - -```csharp -public class ProductAttributeUpdatingNotification : - ProductAttributeNotificationEventBase -``` - -**Inheritance** - -* Class [ProductAttributeNotificationEventBase<TEntity>](productattributenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ProductAttributeUpdatingNotification - -```csharp -public ProductAttributeUpdatingNotification(ProductAttribute productAttribute) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regioncreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regioncreatednotification.md deleted file mode 100644 index 832fd98421c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regioncreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionCreatedNotification -description: API reference for RegionCreatedNotification in Umbraco Commerce ---- -## RegionCreatedNotification - -```csharp -public class RegionCreatedNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionCreatedNotification - -```csharp -public RegionCreatedNotification(RegionReadOnly region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regioncreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regioncreatingnotification.md deleted file mode 100644 index e8df0e80132..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regioncreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionCreatingNotification -description: API reference for RegionCreatingNotification in Umbraco Commerce ---- -## RegionCreatingNotification - -```csharp -public class RegionCreatingNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionCreatingNotification - -```csharp -public RegionCreatingNotification(Region region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regiondeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regiondeletednotification.md deleted file mode 100644 index a41759ebedb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regiondeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionDeletedNotification -description: API reference for RegionDeletedNotification in Umbraco Commerce ---- -## RegionDeletedNotification - -```csharp -public class RegionDeletedNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionDeletedNotification - -```csharp -public RegionDeletedNotification(RegionReadOnly region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regiondeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regiondeletingnotification.md deleted file mode 100644 index 1937d0edddd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regiondeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionDeletingNotification -description: API reference for RegionDeletingNotification in Umbraco Commerce ---- -## RegionDeletingNotification - -```csharp -public class RegionDeletingNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionDeletingNotification - -```csharp -public RegionDeletingNotification(RegionReadOnly region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionnotificationeventbase-1.md deleted file mode 100644 index a6523df44c4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: RegionNotificationEventBase -description: API reference for RegionNotificationEventBase in Umbraco Commerce ---- -## RegionNotificationEventBase<TEntity> - -```csharp -public abstract class RegionNotificationEventBase : NotificationEventBase - where TEntity : RegionReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionNotificationEventBase<TEntity> - -```csharp -public RegionNotificationEventBase(TEntity region) -``` - - -### Properties - -#### Region - -```csharp -public TEntity Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionsavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionsavednotification.md deleted file mode 100644 index 2af031f8e4e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionsavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionSavedNotification -description: API reference for RegionSavedNotification in Umbraco Commerce ---- -## RegionSavedNotification - -```csharp -public class RegionSavedNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionSavedNotification - -```csharp -public RegionSavedNotification(RegionReadOnly region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionsavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionsavingnotification.md deleted file mode 100644 index 43a9887b2d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionsavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionSavingNotification -description: API reference for RegionSavingNotification in Umbraco Commerce ---- -## RegionSavingNotification - -```csharp -public class RegionSavingNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionSavingNotification - -```csharp -public RegionSavingNotification(Region region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionupdatednotification.md deleted file mode 100644 index 9634eedf142..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionUpdatedNotification -description: API reference for RegionUpdatedNotification in Umbraco Commerce ---- -## RegionUpdatedNotification - -```csharp -public class RegionUpdatedNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionUpdatedNotification - -```csharp -public RegionUpdatedNotification(RegionReadOnly region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionupdatingnotification.md deleted file mode 100644 index ceda7fc2031..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/regionupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: RegionUpdatingNotification -description: API reference for RegionUpdatingNotification in Umbraco Commerce ---- -## RegionUpdatingNotification - -```csharp -public class RegionUpdatingNotification : RegionNotificationEventBase -``` - -**Inheritance** - -* Class [RegionNotificationEventBase<TEntity>](regionnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### RegionUpdatingNotification - -```csharp -public RegionUpdatingNotification(Region region) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodcreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodcreatednotification.md deleted file mode 100644 index df7458faa5d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodcreatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodCreatedNotification -description: API reference for ShippingMethodCreatedNotification in Umbraco Commerce ---- -## ShippingMethodCreatedNotification - -```csharp -public class ShippingMethodCreatedNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodCreatedNotification - -```csharp -public ShippingMethodCreatedNotification(ShippingMethodReadOnly shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodcreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodcreatingnotification.md deleted file mode 100644 index d36f829bd31..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodcreatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodCreatingNotification -description: API reference for ShippingMethodCreatingNotification in Umbraco Commerce ---- -## ShippingMethodCreatingNotification - -```csharp -public class ShippingMethodCreatingNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodCreatingNotification - -```csharp -public ShippingMethodCreatingNotification(ShippingMethod shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethoddeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethoddeletednotification.md deleted file mode 100644 index e20080f2138..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethoddeletednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodDeletedNotification -description: API reference for ShippingMethodDeletedNotification in Umbraco Commerce ---- -## ShippingMethodDeletedNotification - -```csharp -public class ShippingMethodDeletedNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodDeletedNotification - -```csharp -public ShippingMethodDeletedNotification(ShippingMethodReadOnly shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethoddeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethoddeletingnotification.md deleted file mode 100644 index bb6eb54bb40..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethoddeletingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodDeletingNotification -description: API reference for ShippingMethodDeletingNotification in Umbraco Commerce ---- -## ShippingMethodDeletingNotification - -```csharp -public class ShippingMethodDeletingNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodDeletingNotification - -```csharp -public ShippingMethodDeletingNotification(ShippingMethodReadOnly shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodnotificationeventbase-1.md deleted file mode 100644 index e11d4da009c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ShippingMethodNotificationEventBase -description: API reference for ShippingMethodNotificationEventBase in Umbraco Commerce ---- -## ShippingMethodNotificationEventBase<TEntity> - -```csharp -public abstract class ShippingMethodNotificationEventBase : NotificationEventBase - where TEntity : ShippingMethodReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodNotificationEventBase<TEntity> - -```csharp -public ShippingMethodNotificationEventBase(TEntity shippingMethod) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public TEntity ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodsavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodsavednotification.md deleted file mode 100644 index 554878c72f4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodsavednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodSavedNotification -description: API reference for ShippingMethodSavedNotification in Umbraco Commerce ---- -## ShippingMethodSavedNotification - -```csharp -public class ShippingMethodSavedNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodSavedNotification - -```csharp -public ShippingMethodSavedNotification(ShippingMethodReadOnly shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodsavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodsavingnotification.md deleted file mode 100644 index 76f9a3919db..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodsavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: ShippingMethodSavingNotification -description: API reference for ShippingMethodSavingNotification in Umbraco Commerce ---- -## ShippingMethodSavingNotification - -```csharp -public class ShippingMethodSavingNotification : ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodSavingNotification - -```csharp -public ShippingMethodSavingNotification(ShippingMethod shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodupdatednotification.md deleted file mode 100644 index 5366f9a848c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodupdatednotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodUpdatedNotification -description: API reference for ShippingMethodUpdatedNotification in Umbraco Commerce ---- -## ShippingMethodUpdatedNotification - -```csharp -public class ShippingMethodUpdatedNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodUpdatedNotification - -```csharp -public ShippingMethodUpdatedNotification(ShippingMethodReadOnly shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodupdatingnotification.md deleted file mode 100644 index de2d668f1e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/shippingmethodupdatingnotification.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ShippingMethodUpdatingNotification -description: API reference for ShippingMethodUpdatingNotification in Umbraco Commerce ---- -## ShippingMethodUpdatingNotification - -```csharp -public class ShippingMethodUpdatingNotification : - ShippingMethodNotificationEventBase -``` - -**Inheritance** - -* Class [ShippingMethodNotificationEventBase<TEntity>](shippingmethodnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### ShippingMethodUpdatingNotification - -```csharp -public ShippingMethodUpdatingNotification(ShippingMethod shippingMethod) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/stockchangednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/stockchangednotification.md deleted file mode 100644 index 8ca3b91f3d5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/stockchangednotification.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: StockChangedNotification -description: API reference for StockChangedNotification in Umbraco Commerce ---- -## StockChangedNotification - -```csharp -public class StockChangedNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StockChangedNotification (1 of 2) - -```csharp -public StockChangedNotification(Guid storeId, string productReference, - ChangingValue value) -``` - ---- - -#### StockChangedNotification (2 of 2) - -```csharp -public StockChangedNotification(Guid storeId, string productReference, - string productVariantReference, ChangingValue value) -``` - - -### Properties - -#### ProductReference - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/stockchangingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/stockchangingnotification.md deleted file mode 100644 index d5b7ca8a4d3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/stockchangingnotification.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: StockChangingNotification -description: API reference for StockChangingNotification in Umbraco Commerce ---- -## StockChangingNotification - -```csharp -public class StockChangingNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StockChangingNotification (1 of 2) - -```csharp -public StockChangingNotification(Guid storeId, string productReference, - ChangingValue value) -``` - ---- - -#### StockChangingNotification (2 of 2) - -```csharp -public StockChangingNotification(Guid storeId, string productReference, - string productVariantReference, ChangingValue value) -``` - - -### Properties - -#### ProductReference - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storecreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storecreatednotification.md deleted file mode 100644 index 6f7815a0e8e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storecreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreCreatedNotification -description: API reference for StoreCreatedNotification in Umbraco Commerce ---- -## StoreCreatedNotification - -```csharp -public class StoreCreatedNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreCreatedNotification - -```csharp -public StoreCreatedNotification(StoreReadOnly store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storecreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storecreatingnotification.md deleted file mode 100644 index babcd50f4f0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storecreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreCreatingNotification -description: API reference for StoreCreatingNotification in Umbraco Commerce ---- -## StoreCreatingNotification - -```csharp -public class StoreCreatingNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreCreatingNotification - -```csharp -public StoreCreatingNotification(Store store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storedeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storedeletednotification.md deleted file mode 100644 index 6d4d1d7e288..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storedeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreDeletedNotification -description: API reference for StoreDeletedNotification in Umbraco Commerce ---- -## StoreDeletedNotification - -```csharp -public class StoreDeletedNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreDeletedNotification - -```csharp -public StoreDeletedNotification(StoreReadOnly store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storedeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storedeletingnotification.md deleted file mode 100644 index 36e19c974f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storedeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreDeletingNotification -description: API reference for StoreDeletingNotification in Umbraco Commerce ---- -## StoreDeletingNotification - -```csharp -public class StoreDeletingNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreDeletingNotification - -```csharp -public StoreDeletingNotification(StoreReadOnly store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storenotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storenotificationeventbase-1.md deleted file mode 100644 index e7305feea3e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storenotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: StoreNotificationEventBase -description: API reference for StoreNotificationEventBase in Umbraco Commerce ---- -## StoreNotificationEventBase<TEntity> - -```csharp -public abstract class StoreNotificationEventBase : NotificationEventBase - where TEntity : StoreReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreNotificationEventBase<TEntity> - -```csharp -public StoreNotificationEventBase(TEntity store) -``` - - -### Properties - -#### Store - -```csharp -public TEntity Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storesavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storesavednotification.md deleted file mode 100644 index 4c79bb0af8d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storesavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreSavedNotification -description: API reference for StoreSavedNotification in Umbraco Commerce ---- -## StoreSavedNotification - -```csharp -public class StoreSavedNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreSavedNotification - -```csharp -public StoreSavedNotification(StoreReadOnly store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storesavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storesavingnotification.md deleted file mode 100644 index 225331d83c4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storesavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreSavingNotification -description: API reference for StoreSavingNotification in Umbraco Commerce ---- -## StoreSavingNotification - -```csharp -public class StoreSavingNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreSavingNotification - -```csharp -public StoreSavingNotification(Store store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storeupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storeupdatednotification.md deleted file mode 100644 index 3766a3142b6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storeupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreUpdatedNotification -description: API reference for StoreUpdatedNotification in Umbraco Commerce ---- -## StoreUpdatedNotification - -```csharp -public class StoreUpdatedNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreUpdatedNotification - -```csharp -public StoreUpdatedNotification(StoreReadOnly store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storeupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storeupdatingnotification.md deleted file mode 100644 index 4474cbc5240..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/storeupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreUpdatingNotification -description: API reference for StoreUpdatingNotification in Umbraco Commerce ---- -## StoreUpdatingNotification - -```csharp -public class StoreUpdatingNotification : StoreNotificationEventBase -``` - -**Inheritance** - -* Class [StoreNotificationEventBase<TEntity>](storenotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### StoreUpdatingNotification - -```csharp -public StoreUpdatingNotification(Store store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasscreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasscreatednotification.md deleted file mode 100644 index 5996bbbec71..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasscreatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassCreatedNotification -description: API reference for TaxClassCreatedNotification in Umbraco Commerce ---- -## TaxClassCreatedNotification - -```csharp -public class TaxClassCreatedNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassCreatedNotification - -```csharp -public TaxClassCreatedNotification(TaxClassReadOnly taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasscreatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasscreatingnotification.md deleted file mode 100644 index b47fb73a352..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasscreatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassCreatingNotification -description: API reference for TaxClassCreatingNotification in Umbraco Commerce ---- -## TaxClassCreatingNotification - -```csharp -public class TaxClassCreatingNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassCreatingNotification - -```csharp -public TaxClassCreatingNotification(TaxClass taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassdeletednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassdeletednotification.md deleted file mode 100644 index 9dab745d73f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassdeletednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassDeletedNotification -description: API reference for TaxClassDeletedNotification in Umbraco Commerce ---- -## TaxClassDeletedNotification - -```csharp -public class TaxClassDeletedNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassDeletedNotification - -```csharp -public TaxClassDeletedNotification(TaxClassReadOnly taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassdeletingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassdeletingnotification.md deleted file mode 100644 index a064a59fcb6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassdeletingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassDeletingNotification -description: API reference for TaxClassDeletingNotification in Umbraco Commerce ---- -## TaxClassDeletingNotification - -```csharp -public class TaxClassDeletingNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassDeletingNotification - -```csharp -public TaxClassDeletingNotification(TaxClassReadOnly taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassnotificationeventbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassnotificationeventbase-1.md deleted file mode 100644 index 5dc6e2638ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassnotificationeventbase-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: TaxClassNotificationEventBase -description: API reference for TaxClassNotificationEventBase in Umbraco Commerce ---- -## TaxClassNotificationEventBase<TEntity> - -```csharp -public abstract class TaxClassNotificationEventBase : NotificationEventBase - where TEntity : TaxClassReadOnly -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassNotificationEventBase<TEntity> - -```csharp -public TaxClassNotificationEventBase(TEntity taxClass) -``` - - -### Properties - -#### TaxClass - -```csharp -public TEntity TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasssavednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasssavednotification.md deleted file mode 100644 index ccf68a12112..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasssavednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassSavedNotification -description: API reference for TaxClassSavedNotification in Umbraco Commerce ---- -## TaxClassSavedNotification - -```csharp -public class TaxClassSavedNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassSavedNotification - -```csharp -public TaxClassSavedNotification(TaxClassReadOnly taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasssavingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasssavingnotification.md deleted file mode 100644 index 5aac9779540..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclasssavingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassSavingNotification -description: API reference for TaxClassSavingNotification in Umbraco Commerce ---- -## TaxClassSavingNotification - -```csharp -public class TaxClassSavingNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassSavingNotification - -```csharp -public TaxClassSavingNotification(TaxClass taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassupdatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassupdatednotification.md deleted file mode 100644 index fa7285fbdd3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassupdatednotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassUpdatedNotification -description: API reference for TaxClassUpdatedNotification in Umbraco Commerce ---- -## TaxClassUpdatedNotification - -```csharp -public class TaxClassUpdatedNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassUpdatedNotification - -```csharp -public TaxClassUpdatedNotification(TaxClassReadOnly taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassupdatingnotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassupdatingnotification.md deleted file mode 100644 index 31f44b7a9b1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/taxclassupdatingnotification.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: TaxClassUpdatingNotification -description: API reference for TaxClassUpdatingNotification in Umbraco Commerce ---- -## TaxClassUpdatingNotification - -```csharp -public class TaxClassUpdatingNotification : TaxClassNotificationEventBase -``` - -**Inheritance** - -* Class [TaxClassNotificationEventBase<TEntity>](taxclassnotificationeventbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### TaxClassUpdatingNotification - -```csharp -public TaxClassUpdatingNotification(TaxClass taxClass) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/unitofworkcreatednotification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/unitofworkcreatednotification.md deleted file mode 100644 index 03d7945e18e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-notification/unitofworkcreatednotification.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: UnitOfWorkCreatedNotification -description: API reference for UnitOfWorkCreatedNotification in Umbraco Commerce ---- -## UnitOfWorkCreatedNotification - -```csharp -public class UnitOfWorkCreatedNotification : NotificationEventBase -``` - -**Inheritance** - -* Class [NotificationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/notificationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Notification](README.md) - -### Constructors - -#### UnitOfWorkCreatedNotification - -```csharp -public UnitOfWorkCreatedNotification(IUnitOfWork unitOfWork) -``` - - -### Properties - -#### UnitOfWork - -```csharp -public IUnitOfWork UnitOfWork { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/README.md deleted file mode 100644 index e33417e2862..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.Country -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.Country in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.Country namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateCountryCodeFormat](validatecountrycodeformat.md) | | -| class [ValidateDefaultCurrencyBelongsToCountryStore](validatedefaultcurrencybelongstocountrystore.md) | | -| class [ValidateDefaultPaymentMethodBelongsToCountryStore](validatedefaultpaymentmethodbelongstocountrystore.md) | | -| class [ValidateDefaultShippingMethodBelongsToCountryStore](validatedefaultshippingmethodbelongstocountrystore.md) | | -| class [ValidateNotStoreDefaultCountry](validatenotstoredefaultcountry.md) | | -| class [ValidateUniqueCountryCode](validateuniquecountrycode.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatecountrycodeformat.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatecountrycodeformat.md deleted file mode 100644 index 028e1ac7b4a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatecountrycodeformat.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateCountryCodeFormat -description: API reference for ValidateCountryCodeFormat in Umbraco Commerce ---- -## ValidateCountryCodeFormat - -```csharp -public class ValidateCountryCodeFormat : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](README.md) - -### Constructors - -#### ValidateCountryCodeFormat - -The default constructor. - -```csharp -public ValidateCountryCodeFormat() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCountryCodeChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultcurrencybelongstocountrystore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultcurrencybelongstocountrystore.md deleted file mode 100644 index 6f4480455fe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultcurrencybelongstocountrystore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateDefaultCurrencyBelongsToCountryStore -description: API reference for ValidateDefaultCurrencyBelongsToCountryStore in Umbraco Commerce ---- -## ValidateDefaultCurrencyBelongsToCountryStore - -```csharp -public class ValidateDefaultCurrencyBelongsToCountryStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](README.md) - -### Constructors - -#### ValidateDefaultCurrencyBelongsToCountryStore - -```csharp -public ValidateDefaultCurrencyBelongsToCountryStore(ICurrencyService currencyService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCountryDefaultCurrencyChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultpaymentmethodbelongstocountrystore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultpaymentmethodbelongstocountrystore.md deleted file mode 100644 index 92a84802de6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultpaymentmethodbelongstocountrystore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateDefaultPaymentMethodBelongsToCountryStore -description: API reference for ValidateDefaultPaymentMethodBelongsToCountryStore in Umbraco Commerce ---- -## ValidateDefaultPaymentMethodBelongsToCountryStore - -```csharp -public class ValidateDefaultPaymentMethodBelongsToCountryStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](README.md) - -### Constructors - -#### ValidateDefaultPaymentMethodBelongsToCountryStore - -```csharp -public ValidateDefaultPaymentMethodBelongsToCountryStore(IPaymentMethodService paymentMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCountryDefaultPaymentMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultshippingmethodbelongstocountrystore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultshippingmethodbelongstocountrystore.md deleted file mode 100644 index 36d17ae8087..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatedefaultshippingmethodbelongstocountrystore.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateDefaultShippingMethodBelongsToCountryStore -description: API reference for ValidateDefaultShippingMethodBelongsToCountryStore in Umbraco Commerce ---- -## ValidateDefaultShippingMethodBelongsToCountryStore - -```csharp -public class ValidateDefaultShippingMethodBelongsToCountryStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](README.md) - -### Constructors - -#### ValidateDefaultShippingMethodBelongsToCountryStore - -```csharp -public ValidateDefaultShippingMethodBelongsToCountryStore( - IShippingMethodService shippingMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCountryDefaultShippingMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatenotstoredefaultcountry.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatenotstoredefaultcountry.md deleted file mode 100644 index e62f23bac2b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validatenotstoredefaultcountry.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateNotStoreDefaultCountry -description: API reference for ValidateNotStoreDefaultCountry in Umbraco Commerce ---- -## ValidateNotStoreDefaultCountry - -```csharp -public class ValidateNotStoreDefaultCountry : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](README.md) - -### Constructors - -#### ValidateNotStoreDefaultCountry - -```csharp -public ValidateNotStoreDefaultCountry(IStoreService storeService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCountryDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validateuniquecountrycode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validateuniquecountrycode.md deleted file mode 100644 index 3d176c9859c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-country/validateuniquecountrycode.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueCountryCode -description: API reference for ValidateUniqueCountryCode in Umbraco Commerce ---- -## ValidateUniqueCountryCode - -```csharp -public class ValidateUniqueCountryCode : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Country](README.md) - -### Constructors - -#### ValidateUniqueCountryCode - -```csharp -public ValidateUniqueCountryCode(ICountryService countryService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCountryCodeChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/README.md deleted file mode 100644 index 666572fdb41..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.Currency -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.Currency in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.Currency namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateAllowedCountryBelongsToCurrencyStore](validateallowedcountrybelongstocurrencystore.md) | | -| class [ValidateCulture](validateculture.md) | | -| class [ValidateCurrencyCodeFormat](validatecurrencycodeformat.md) | | -| class [ValidateNotCountryDefaultCurrency](validatenotcountrydefaultcurrency.md) | | -| class [ValidateNotStoreBaseCurrency](validatenotstorebasecurrency.md) | | -| class [ValidateUniqueCurrencyCode](validateuniquecurrencycode.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateallowedcountrybelongstocurrencystore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateallowedcountrybelongstocurrencystore.md deleted file mode 100644 index c105f91f3bd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateallowedcountrybelongstocurrencystore.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateAllowedCountryBelongsToCurrencyStore -description: API reference for ValidateAllowedCountryBelongsToCurrencyStore in Umbraco Commerce ---- -## ValidateAllowedCountryBelongsToCurrencyStore - -```csharp -public class ValidateAllowedCountryBelongsToCurrencyStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](README.md) - -### Constructors - -#### ValidateAllowedCountryBelongsToCurrencyStore - -```csharp -public ValidateAllowedCountryBelongsToCurrencyStore(ICountryService countryService) -``` - - -### Fields - -#### _countryService - -```csharp -public ICountryService _countryService; -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCurrencyAllowInCountry evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateculture.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateculture.md deleted file mode 100644 index 59decd94d70..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateculture.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateCulture -description: API reference for ValidateCulture in Umbraco Commerce ---- -## ValidateCulture - -```csharp -public class ValidateCulture : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](README.md) - -### Constructors - -#### ValidateCulture - -The default constructor. - -```csharp -public ValidateCulture() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCurrencyCultureChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatecurrencycodeformat.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatecurrencycodeformat.md deleted file mode 100644 index 6b83cf7c09c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatecurrencycodeformat.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateCurrencyCodeFormat -description: API reference for ValidateCurrencyCodeFormat in Umbraco Commerce ---- -## ValidateCurrencyCodeFormat - -```csharp -public class ValidateCurrencyCodeFormat : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](README.md) - -### Constructors - -#### ValidateCurrencyCodeFormat - -The default constructor. - -```csharp -public ValidateCurrencyCodeFormat() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCurrencyCodeChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatenotcountrydefaultcurrency.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatenotcountrydefaultcurrency.md deleted file mode 100644 index 8e458285666..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatenotcountrydefaultcurrency.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateNotCountryDefaultCurrency -description: API reference for ValidateNotCountryDefaultCurrency in Umbraco Commerce ---- -## ValidateNotCountryDefaultCurrency - -```csharp -public class ValidateNotCountryDefaultCurrency : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](README.md) - -### Constructors - -#### ValidateNotCountryDefaultCurrency - -```csharp -public ValidateNotCountryDefaultCurrency(ICountryService countryService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCurrencyDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatenotstorebasecurrency.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatenotstorebasecurrency.md deleted file mode 100644 index 921def74895..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validatenotstorebasecurrency.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateNotStoreBaseCurrency -description: API reference for ValidateNotStoreBaseCurrency in Umbraco Commerce ---- -## ValidateNotStoreBaseCurrency - -```csharp -public class ValidateNotStoreBaseCurrency : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](README.md) - -### Constructors - -#### ValidateNotStoreBaseCurrency - -```csharp -public ValidateNotStoreBaseCurrency(IStoreService storeService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCurrencyDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateuniquecurrencycode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateuniquecurrencycode.md deleted file mode 100644 index e6773ceccfa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-currency/validateuniquecurrencycode.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueCurrencyCode -description: API reference for ValidateUniqueCurrencyCode in Umbraco Commerce ---- -## ValidateUniqueCurrencyCode - -```csharp -public class ValidateUniqueCurrencyCode : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Currency](README.md) - -### Constructors - -#### ValidateUniqueCurrencyCode - -```csharp -public ValidateUniqueCurrencyCode(ICurrencyService currencyService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateCurrencyCodeChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/README.md deleted file mode 100644 index 9ecc7406106..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.Discount -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.Discount in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.Discount namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateUniqueAlias](validateuniquealias.md) | | -| class [ValidateUniqueDiscountCode](validateuniquediscountcode.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/validateuniquealias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/validateuniquealias.md deleted file mode 100644 index 53887bdbd79..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/validateuniquealias.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueAlias -description: API reference for ValidateUniqueAlias in Umbraco Commerce ---- -## ValidateUniqueAlias - -```csharp -public class ValidateUniqueAlias : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Discount](README.md) - -### Constructors - -#### ValidateUniqueAlias - -```csharp -public ValidateUniqueAlias(IDiscountService discountService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateDiscountAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/validateuniquediscountcode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/validateuniquediscountcode.md deleted file mode 100644 index ef8dfa80ebf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-discount/validateuniquediscountcode.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueDiscountCode -description: API reference for ValidateUniqueDiscountCode in Umbraco Commerce ---- -## ValidateUniqueDiscountCode - -```csharp -public class ValidateUniqueDiscountCode : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Discount](README.md) - -### Constructors - -#### ValidateUniqueDiscountCode - -```csharp -public ValidateUniqueDiscountCode(IDiscountService discountService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateDiscountCodeAdd evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/README.md deleted file mode 100644 index cdec6d5726d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.EmailTemplate -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.EmailTemplate in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.EmailTemplate namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateNotStoreDefaultEmailTemplate](validatenotstoredefaultemailtemplate.md) | | -| class [ValidateUniqueEmailTemplateAlias](validateuniqueemailtemplatealias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/validatenotstoredefaultemailtemplate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/validatenotstoredefaultemailtemplate.md deleted file mode 100644 index fd0ac3f4548..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/validatenotstoredefaultemailtemplate.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateNotStoreDefaultEmailTemplate -description: API reference for ValidateNotStoreDefaultEmailTemplate in Umbraco Commerce ---- -## ValidateNotStoreDefaultEmailTemplate - -```csharp -public class ValidateNotStoreDefaultEmailTemplate : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.EmailTemplate](README.md) - -### Constructors - -#### ValidateNotStoreDefaultEmailTemplate - -```csharp -public ValidateNotStoreDefaultEmailTemplate(IStoreService storeService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateEmailTemplateDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/validateuniqueemailtemplatealias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/validateuniqueemailtemplatealias.md deleted file mode 100644 index d3f999e42ff..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-emailtemplate/validateuniqueemailtemplatealias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniqueEmailTemplateAlias -description: API reference for ValidateUniqueEmailTemplateAlias in Umbraco Commerce ---- -## ValidateUniqueEmailTemplateAlias - -```csharp -public class ValidateUniqueEmailTemplateAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.EmailTemplate](README.md) - -### Constructors - -#### ValidateUniqueEmailTemplateAlias - -```csharp -public ValidateUniqueEmailTemplateAlias(IEmailTemplateService emailTemplateService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateEmailTemplateAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-exporttemplate/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-exporttemplate/README.md deleted file mode 100644 index ebfbf235a61..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-exporttemplate/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.ExportTemplate -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.ExportTemplate in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.ExportTemplate namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateUniqueExportTemplateAlias](validateuniqueexporttemplatealias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-exporttemplate/validateuniqueexporttemplatealias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-exporttemplate/validateuniqueexporttemplatealias.md deleted file mode 100644 index fa4ef4a3d4e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-exporttemplate/validateuniqueexporttemplatealias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniqueExportTemplateAlias -description: API reference for ValidateUniqueExportTemplateAlias in Umbraco Commerce ---- -## ValidateUniqueExportTemplateAlias - -```csharp -public class ValidateUniqueExportTemplateAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ExportTemplate](README.md) - -### Constructors - -#### ValidateUniqueExportTemplateAlias - -```csharp -public ValidateUniqueExportTemplateAlias(IExportTemplateService exportTemplateService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateExportTemplateAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-giftcard/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-giftcard/README.md deleted file mode 100644 index 4927569b83e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-giftcard/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.GiftCard -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.GiftCard in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.GiftCard namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateUniqueGiftCardCode](validateuniquegiftcardcode.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-giftcard/validateuniquegiftcardcode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-giftcard/validateuniquegiftcardcode.md deleted file mode 100644 index f235cc5c13d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-giftcard/validateuniquegiftcardcode.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueGiftCardCode -description: API reference for ValidateUniqueGiftCardCode in Umbraco Commerce ---- -## ValidateUniqueGiftCardCode - -```csharp -public class ValidateUniqueGiftCardCode : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.GiftCard](README.md) - -### Constructors - -#### ValidateUniqueGiftCardCode - -```csharp -public ValidateUniqueGiftCardCode(IGiftCardService giftCardService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateGiftCardCodeChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/README.md deleted file mode 100644 index dca4859a752..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/README.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.Order -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.Order in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.Order namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateCurrencyBelongsToOrderStore](validatecurrencybelongstoorderstore.md) | | -| class [ValidateDiscountCodeValid](validatediscountcodevalid.md) | | -| class [ValidateGiftCardValid](validategiftcardvalid.md) | | -| class [ValidateOrderPaymentCountryRegionAllowedByOrderCurrency](validateorderpaymentcountryregionallowedbyordercurrency.md) | | -| class [ValidateOrderPaymentCountryRegionBelongsToOrderStore](validateorderpaymentcountryregionbelongstoorderstore.md) | | -| class [ValidateOrderShippingCountryRegionBelongsToOrderStore](validateordershippingcountryregionbelongstoorderstore.md) | | -| class [ValidateOrderStatusBelongsToOrderStore](validateorderstatusbelongstoorderstore.md) | | -| class [ValidateOrderStatusCode](validateorderstatuscode.md) | | -| class [ValidatePaymentMethodAllowedInPaymentCountryRegion](validatepaymentmethodallowedinpaymentcountryregion.md) | | -| class [ValidatePaymentMethodBelongsToOrderStore](validatepaymentmethodbelongstoorderstore.md) | | -| class [ValidateProductAddHasPrice](validateproductaddhasprice.md) | | -| class [ValidateProductAddQuantityPositive](validateproductaddquantitypositive.md) | | -| class [ValidateShippingMethodAllowedInShippingCountryRegion](validateshippingmethodallowedinshippingcountryregion.md) | | -| class [ValidateShippingMethodBelongsToOrderStore](validateshippingmethodbelongstoorderstore.md) | | -| class [ValidateTaxClassBelongsToOrderStore](validatetaxclassbelongstoorderstore.md) | | -| class [ValidateTransactionInitialized](validatetransactioninitialized.md) | | -| class [ValidateUniqueBundleId](validateuniquebundleid.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatecurrencybelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatecurrencybelongstoorderstore.md deleted file mode 100644 index 0610eb4f1eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatecurrencybelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateCurrencyBelongsToOrderStore -description: API reference for ValidateCurrencyBelongsToOrderStore in Umbraco Commerce ---- -## ValidateCurrencyBelongsToOrderStore - -```csharp -public class ValidateCurrencyBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateCurrencyBelongsToOrderStore - -```csharp -public ValidateCurrencyBelongsToOrderStore(ICurrencyService currencyService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderCurrencyChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatediscountcodevalid.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatediscountcodevalid.md deleted file mode 100644 index 35b841aa0ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatediscountcodevalid.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateDiscountCodeValid -description: API reference for ValidateDiscountCodeValid in Umbraco Commerce ---- -## ValidateDiscountCodeValid - -```csharp -public class ValidateDiscountCodeValid : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateDiscountCodeValid - -```csharp -public ValidateDiscountCodeValid(IDiscountService discountService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderDiscountCodeRedeem evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validategiftcardvalid.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validategiftcardvalid.md deleted file mode 100644 index bd7559d19a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validategiftcardvalid.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateGiftCardValid -description: API reference for ValidateGiftCardValid in Umbraco Commerce ---- -## ValidateGiftCardValid - -```csharp -public class ValidateGiftCardValid : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateGiftCardValid - -```csharp -public ValidateGiftCardValid(IGiftCardService giftCardService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderGiftCardRedeem evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderpaymentcountryregionallowedbyordercurrency.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderpaymentcountryregionallowedbyordercurrency.md deleted file mode 100644 index 0d9e3de11ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderpaymentcountryregionallowedbyordercurrency.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateOrderPaymentCountryRegionAllowedByOrderCurrency -description: API reference for ValidateOrderPaymentCountryRegionAllowedByOrderCurrency in Umbraco Commerce ---- -## ValidateOrderPaymentCountryRegionAllowedByOrderCurrency - -```csharp -public class ValidateOrderPaymentCountryRegionAllowedByOrderCurrency : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateOrderPaymentCountryRegionAllowedByOrderCurrency - -```csharp -public ValidateOrderPaymentCountryRegionAllowedByOrderCurrency(ICurrencyService currencyService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderPaymentCountryRegionChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderpaymentcountryregionbelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderpaymentcountryregionbelongstoorderstore.md deleted file mode 100644 index 0144bbc466f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderpaymentcountryregionbelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateOrderPaymentCountryRegionBelongsToOrderStore -description: API reference for ValidateOrderPaymentCountryRegionBelongsToOrderStore in Umbraco Commerce ---- -## ValidateOrderPaymentCountryRegionBelongsToOrderStore - -```csharp -public class ValidateOrderPaymentCountryRegionBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateOrderPaymentCountryRegionBelongsToOrderStore - -```csharp -public ValidateOrderPaymentCountryRegionBelongsToOrderStore(ICountryService countryService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderPaymentCountryRegionChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateordershippingcountryregionbelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateordershippingcountryregionbelongstoorderstore.md deleted file mode 100644 index 23e4f894d6d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateordershippingcountryregionbelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateOrderShippingCountryRegionBelongsToOrderStore -description: API reference for ValidateOrderShippingCountryRegionBelongsToOrderStore in Umbraco Commerce ---- -## ValidateOrderShippingCountryRegionBelongsToOrderStore - -```csharp -public class ValidateOrderShippingCountryRegionBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateOrderShippingCountryRegionBelongsToOrderStore - -```csharp -public ValidateOrderShippingCountryRegionBelongsToOrderStore(ICountryService countryService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderShippingCountryRegionChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderstatusbelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderstatusbelongstoorderstore.md deleted file mode 100644 index b795b28b186..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderstatusbelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateOrderStatusBelongsToOrderStore -description: API reference for ValidateOrderStatusBelongsToOrderStore in Umbraco Commerce ---- -## ValidateOrderStatusBelongsToOrderStore - -```csharp -public class ValidateOrderStatusBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateOrderStatusBelongsToOrderStore - -```csharp -public ValidateOrderStatusBelongsToOrderStore(IOrderStatusService orderStatusService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderStatusChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderstatuscode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderstatuscode.md deleted file mode 100644 index 123a69782d9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateorderstatuscode.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderStatusCode -description: API reference for ValidateOrderStatusCode in Umbraco Commerce ---- -## ValidateOrderStatusCode - -```csharp -public class ValidateOrderStatusCode : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateOrderStatusCode - -```csharp -public ValidateOrderStatusCode(IStoreService storeService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderStatusChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatepaymentmethodallowedinpaymentcountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatepaymentmethodallowedinpaymentcountryregion.md deleted file mode 100644 index 6ea13ddcea0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatepaymentmethodallowedinpaymentcountryregion.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidatePaymentMethodAllowedInPaymentCountryRegion -description: API reference for ValidatePaymentMethodAllowedInPaymentCountryRegion in Umbraco Commerce ---- -## ValidatePaymentMethodAllowedInPaymentCountryRegion - -```csharp -public class ValidatePaymentMethodAllowedInPaymentCountryRegion : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidatePaymentMethodAllowedInPaymentCountryRegion - -```csharp -public ValidatePaymentMethodAllowedInPaymentCountryRegion( - IPaymentMethodService paymentMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderPaymentMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatepaymentmethodbelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatepaymentmethodbelongstoorderstore.md deleted file mode 100644 index e5a81c93ad5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatepaymentmethodbelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidatePaymentMethodBelongsToOrderStore -description: API reference for ValidatePaymentMethodBelongsToOrderStore in Umbraco Commerce ---- -## ValidatePaymentMethodBelongsToOrderStore - -```csharp -public class ValidatePaymentMethodBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidatePaymentMethodBelongsToOrderStore - -```csharp -public ValidatePaymentMethodBelongsToOrderStore(IPaymentMethodService paymentMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderPaymentMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateproductaddhasprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateproductaddhasprice.md deleted file mode 100644 index 0d8586a3d0c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateproductaddhasprice.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAddHasPrice -description: API reference for ValidateProductAddHasPrice in Umbraco Commerce ---- -## ValidateProductAddHasPrice - -```csharp -public class ValidateProductAddHasPrice : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateProductAddHasPrice - -```csharp -public ValidateProductAddHasPrice(Lazy productService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderProductAdd evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateproductaddquantitypositive.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateproductaddquantitypositive.md deleted file mode 100644 index 5e36319e43f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateproductaddquantitypositive.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: ValidateProductAddQuantityPositive -description: API reference for ValidateProductAddQuantityPositive in Umbraco Commerce ---- -## ValidateProductAddQuantityPositive - -```csharp -public class ValidateProductAddQuantityPositive : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateProductAddQuantityPositive - -The default constructor. - -```csharp -public ValidateProductAddQuantityPositive() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderProductAdd evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateshippingmethodallowedinshippingcountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateshippingmethodallowedinshippingcountryregion.md deleted file mode 100644 index fc68353186b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateshippingmethodallowedinshippingcountryregion.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateShippingMethodAllowedInShippingCountryRegion -description: API reference for ValidateShippingMethodAllowedInShippingCountryRegion in Umbraco Commerce ---- -## ValidateShippingMethodAllowedInShippingCountryRegion - -```csharp -public class ValidateShippingMethodAllowedInShippingCountryRegion : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateShippingMethodAllowedInShippingCountryRegion - -```csharp -public ValidateShippingMethodAllowedInShippingCountryRegion( - IShippingMethodService shippingMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderShippingMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateshippingmethodbelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateshippingmethodbelongstoorderstore.md deleted file mode 100644 index 29c242cba38..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateshippingmethodbelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateShippingMethodBelongsToOrderStore -description: API reference for ValidateShippingMethodBelongsToOrderStore in Umbraco Commerce ---- -## ValidateShippingMethodBelongsToOrderStore - -```csharp -public class ValidateShippingMethodBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateShippingMethodBelongsToOrderStore - -```csharp -public ValidateShippingMethodBelongsToOrderStore(IShippingMethodService shippingMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderShippingMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatetaxclassbelongstoorderstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatetaxclassbelongstoorderstore.md deleted file mode 100644 index f2a248d3ac0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatetaxclassbelongstoorderstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateTaxClassBelongsToOrderStore -description: API reference for ValidateTaxClassBelongsToOrderStore in Umbraco Commerce ---- -## ValidateTaxClassBelongsToOrderStore - -```csharp -public class ValidateTaxClassBelongsToOrderStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateTaxClassBelongsToOrderStore - -```csharp -public ValidateTaxClassBelongsToOrderStore(ITaxService taxService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderTaxClassChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatetransactioninitialized.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatetransactioninitialized.md deleted file mode 100644 index 253ff7162b8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validatetransactioninitialized.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateTransactionInitialized -description: API reference for ValidateTransactionInitialized in Umbraco Commerce ---- -## ValidateTransactionInitialized - -```csharp -public class ValidateTransactionInitialized : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateTransactionInitialized - -The default constructor. - -```csharp -public ValidateTransactionInitialized() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderFinalize evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateuniquebundleid.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateuniquebundleid.md deleted file mode 100644 index c50706471f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-order/validateuniquebundleid.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateUniqueBundleId -description: API reference for ValidateUniqueBundleId in Umbraco Commerce ---- -## ValidateUniqueBundleId - -```csharp -public class ValidateUniqueBundleId : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Order](README.md) - -### Constructors - -#### ValidateUniqueBundleId - -The default constructor. - -```csharp -public ValidateUniqueBundleId() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderProductAdd evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-orderstatus/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-orderstatus/README.md deleted file mode 100644 index 66edd0f47ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-orderstatus/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.OrderStatus -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.OrderStatus in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.OrderStatus namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateNotStoreDefaultOrderStatus](validatenotstoredefaultorderstatus.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-orderstatus/validatenotstoredefaultorderstatus.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-orderstatus/validatenotstoredefaultorderstatus.md deleted file mode 100644 index bffd8aa9f9b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-orderstatus/validatenotstoredefaultorderstatus.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateNotStoreDefaultOrderStatus -description: API reference for ValidateNotStoreDefaultOrderStatus in Umbraco Commerce ---- -## ValidateNotStoreDefaultOrderStatus - -```csharp -public class ValidateNotStoreDefaultOrderStatus : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.OrderStatus](README.md) - -### Constructors - -#### ValidateNotStoreDefaultOrderStatus - -```csharp -public ValidateNotStoreDefaultOrderStatus(IStoreService storeService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateOrderStatusDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/README.md deleted file mode 100644 index d613a6ed6d1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateAllowedInPriceCountryRegion](validateallowedinpricecountryregion.md) | | -| class [ValidateNotCountryDefaultPaymentMethod](validatenotcountrydefaultpaymentmethod.md) | | -| class [ValidateNotRegionDefaultPaymentMethod](validatenotregiondefaultpaymentmethod.md) | | -| class [ValidateUniquePaymentMethodAlias](validateuniquepaymentmethodalias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validateallowedinpricecountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validateallowedinpricecountryregion.md deleted file mode 100644 index d62ba08c0e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validateallowedinpricecountryregion.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: ValidateAllowedInPriceCountryRegion -description: API reference for ValidateAllowedInPriceCountryRegion in Umbraco Commerce ---- -## ValidateAllowedInPriceCountryRegion - -```csharp -public class ValidateAllowedInPriceCountryRegion : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod](README.md) - -### Constructors - -#### ValidateAllowedInPriceCountryRegion - -The default constructor. - -```csharp -public ValidateAllowedInPriceCountryRegion() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidatePaymentMethodPriceChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validatenotcountrydefaultpaymentmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validatenotcountrydefaultpaymentmethod.md deleted file mode 100644 index 1a46fa89a7e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validatenotcountrydefaultpaymentmethod.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateNotCountryDefaultPaymentMethod -description: API reference for ValidateNotCountryDefaultPaymentMethod in Umbraco Commerce ---- -## ValidateNotCountryDefaultPaymentMethod - -```csharp -public class ValidateNotCountryDefaultPaymentMethod : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod](README.md) - -### Constructors - -#### ValidateNotCountryDefaultPaymentMethod - -```csharp -public ValidateNotCountryDefaultPaymentMethod(ICountryService countryService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidatePaymentMethodDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validatenotregiondefaultpaymentmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validatenotregiondefaultpaymentmethod.md deleted file mode 100644 index 6897a889077..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validatenotregiondefaultpaymentmethod.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateNotRegionDefaultPaymentMethod -description: API reference for ValidateNotRegionDefaultPaymentMethod in Umbraco Commerce ---- -## ValidateNotRegionDefaultPaymentMethod - -```csharp -public class ValidateNotRegionDefaultPaymentMethod : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod](README.md) - -### Constructors - -#### ValidateNotRegionDefaultPaymentMethod - -```csharp -public ValidateNotRegionDefaultPaymentMethod(ICountryService countryService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidatePaymentMethodDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validateuniquepaymentmethodalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validateuniquepaymentmethodalias.md deleted file mode 100644 index de2a839e4ba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-paymentmethod/validateuniquepaymentmethodalias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniquePaymentMethodAlias -description: API reference for ValidateUniquePaymentMethodAlias in Umbraco Commerce ---- -## ValidateUniquePaymentMethodAlias - -```csharp -public class ValidateUniquePaymentMethodAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.PaymentMethod](README.md) - -### Constructors - -#### ValidateUniquePaymentMethodAlias - -```csharp -public ValidateUniquePaymentMethodAlias(IPaymentMethodService paymentMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidatePaymentMethodAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-printtemplate/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-printtemplate/README.md deleted file mode 100644 index c09455d9207..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-printtemplate/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.PrintTemplate -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.PrintTemplate in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.PrintTemplate namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateUniquePrintTemplateAlias](validateuniqueprinttemplatealias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-printtemplate/validateuniqueprinttemplatealias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-printtemplate/validateuniqueprinttemplatealias.md deleted file mode 100644 index 3cfc01562b7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-printtemplate/validateuniqueprinttemplatealias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniquePrintTemplateAlias -description: API reference for ValidateUniquePrintTemplateAlias in Umbraco Commerce ---- -## ValidateUniquePrintTemplateAlias - -```csharp -public class ValidateUniquePrintTemplateAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.PrintTemplate](README.md) - -### Constructors - -#### ValidateUniquePrintTemplateAlias - -```csharp -public ValidateUniquePrintTemplateAlias(IPrintTemplateService printTemplateService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidatePrintTemplateAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/README.md deleted file mode 100644 index 5b210db1ce7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.ProductAttribute -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.ProductAttribute in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.ProductAttribute namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateUniqueProductAttributeAlias](validateuniqueproductattributealias.md) | | -| class [ValidateUniqueProductAttributePresetAlias](validateuniqueproductattributepresetalias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/validateuniqueproductattributealias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/validateuniqueproductattributealias.md deleted file mode 100644 index e3bd689d9ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/validateuniqueproductattributealias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniqueProductAttributeAlias -description: API reference for ValidateUniqueProductAttributeAlias in Umbraco Commerce ---- -## ValidateUniqueProductAttributeAlias - -```csharp -public class ValidateUniqueProductAttributeAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ProductAttribute](README.md) - -### Constructors - -#### ValidateUniqueProductAttributeAlias - -```csharp -public ValidateUniqueProductAttributeAlias(IProductAttributeService productAttributeService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateProductAttributeAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/validateuniqueproductattributepresetalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/validateuniqueproductattributepresetalias.md deleted file mode 100644 index a487237f5d9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-productattribute/validateuniqueproductattributepresetalias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniqueProductAttributePresetAlias -description: API reference for ValidateUniqueProductAttributePresetAlias in Umbraco Commerce ---- -## ValidateUniqueProductAttributePresetAlias - -```csharp -public class ValidateUniqueProductAttributePresetAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ProductAttribute](README.md) - -### Constructors - -#### ValidateUniqueProductAttributePresetAlias - -```csharp -public ValidateUniqueProductAttributePresetAlias(IProductAttributeService productAttributeService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateProductAttributePresetAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/README.md deleted file mode 100644 index 3fdeb3361cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.Region -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.Region in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.Region namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateDefaultPaymentMethodBelongsToRegionStore](validatedefaultpaymentmethodbelongstoregionstore.md) | | -| class [ValidateDefaultShippingMethodBelongsToRegionStore](validatedefaultshippingmethodbelongstoregionstore.md) | | -| class [ValidateUniqueRegionCode](validateuniqueregioncode.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validatedefaultpaymentmethodbelongstoregionstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validatedefaultpaymentmethodbelongstoregionstore.md deleted file mode 100644 index e40df2c7172..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validatedefaultpaymentmethodbelongstoregionstore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateDefaultPaymentMethodBelongsToRegionStore -description: API reference for ValidateDefaultPaymentMethodBelongsToRegionStore in Umbraco Commerce ---- -## ValidateDefaultPaymentMethodBelongsToRegionStore - -```csharp -public class ValidateDefaultPaymentMethodBelongsToRegionStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Region](README.md) - -### Constructors - -#### ValidateDefaultPaymentMethodBelongsToRegionStore - -```csharp -public ValidateDefaultPaymentMethodBelongsToRegionStore(IPaymentMethodService paymentMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateRegionDefaultPaymentMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validatedefaultshippingmethodbelongstoregionstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validatedefaultshippingmethodbelongstoregionstore.md deleted file mode 100644 index dac0008fb55..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validatedefaultshippingmethodbelongstoregionstore.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateDefaultShippingMethodBelongsToRegionStore -description: API reference for ValidateDefaultShippingMethodBelongsToRegionStore in Umbraco Commerce ---- -## ValidateDefaultShippingMethodBelongsToRegionStore - -```csharp -public class ValidateDefaultShippingMethodBelongsToRegionStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Region](README.md) - -### Constructors - -#### ValidateDefaultShippingMethodBelongsToRegionStore - -```csharp -public ValidateDefaultShippingMethodBelongsToRegionStore( - IShippingMethodService shippingMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateRegionDefaultShippingMethodChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validateuniqueregioncode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validateuniqueregioncode.md deleted file mode 100644 index 51eceacef06..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-region/validateuniqueregioncode.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueRegionCode -description: API reference for ValidateUniqueRegionCode in Umbraco Commerce ---- -## ValidateUniqueRegionCode - -```csharp -public class ValidateUniqueRegionCode : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Region](README.md) - -### Constructors - -#### ValidateUniqueRegionCode - -```csharp -public ValidateUniqueRegionCode(ICountryService countryService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateRegionCodeChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/README.md deleted file mode 100644 index a5ad462ddc5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateAllowedInPriceCountryRegion](validateallowedinpricecountryregion.md) | | -| class [ValidateNotCountryDefaultShippingMethod](validatenotcountrydefaultshippingmethod.md) | | -| class [ValidateNotRegionDefaultShippingMethod](validatenotregiondefaultshippingmethod.md) | | -| class [ValidateUniqueShippingMethodAlias](validateuniqueshippingmethodalias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validateallowedinpricecountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validateallowedinpricecountryregion.md deleted file mode 100644 index b6619f062de..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validateallowedinpricecountryregion.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: ValidateAllowedInPriceCountryRegion -description: API reference for ValidateAllowedInPriceCountryRegion in Umbraco Commerce ---- -## ValidateAllowedInPriceCountryRegion - -```csharp -public class ValidateAllowedInPriceCountryRegion : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod](README.md) - -### Constructors - -#### ValidateAllowedInPriceCountryRegion - -The default constructor. - -```csharp -public ValidateAllowedInPriceCountryRegion() -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateShippingMethodPriceChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validatenotcountrydefaultshippingmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validatenotcountrydefaultshippingmethod.md deleted file mode 100644 index d2488f0f2cc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validatenotcountrydefaultshippingmethod.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateNotCountryDefaultShippingMethod -description: API reference for ValidateNotCountryDefaultShippingMethod in Umbraco Commerce ---- -## ValidateNotCountryDefaultShippingMethod - -```csharp -public class ValidateNotCountryDefaultShippingMethod : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod](README.md) - -### Constructors - -#### ValidateNotCountryDefaultShippingMethod - -```csharp -public ValidateNotCountryDefaultShippingMethod(ICountryService countryService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateShippingMethodDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validatenotregiondefaultshippingmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validatenotregiondefaultshippingmethod.md deleted file mode 100644 index 848d8322c0c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validatenotregiondefaultshippingmethod.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ValidateNotRegionDefaultShippingMethod -description: API reference for ValidateNotRegionDefaultShippingMethod in Umbraco Commerce ---- -## ValidateNotRegionDefaultShippingMethod - -```csharp -public class ValidateNotRegionDefaultShippingMethod : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod](README.md) - -### Constructors - -#### ValidateNotRegionDefaultShippingMethod - -```csharp -public ValidateNotRegionDefaultShippingMethod(ICountryService countryService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateShippingMethodDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validateuniqueshippingmethodalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validateuniqueshippingmethodalias.md deleted file mode 100644 index d2526d014e3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-shippingmethod/validateuniqueshippingmethodalias.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateUniqueShippingMethodAlias -description: API reference for ValidateUniqueShippingMethodAlias in Umbraco Commerce ---- -## ValidateUniqueShippingMethodAlias - -```csharp -public class ValidateUniqueShippingMethodAlias : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.ShippingMethod](README.md) - -### Constructors - -#### ValidateUniqueShippingMethodAlias - -```csharp -public ValidateUniqueShippingMethodAlias(IShippingMethodService shippingMethodService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateShippingMethodAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/README.md deleted file mode 100644 index 74d97522287..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.Store -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.Store in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.Store namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateDefaultCountryBelongsToStore](validatedefaultcountrybelongstostore.md) | | -| class [ValidateDefaultTaxClassBelongsToStore](validatedefaulttaxclassbelongstostore.md) | | -| class [ValidateNotificationEmailTemplatesBelongsToStore](validatenotificationemailtemplatesbelongstostore.md) | | -| class [ValidateOrderStatusesBelongsToStore](validateorderstatusesbelongstostore.md) | | -| class [ValidateUniqueStoreAlias](validateuniquestorealias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatedefaultcountrybelongstostore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatedefaultcountrybelongstostore.md deleted file mode 100644 index 3c197891953..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatedefaultcountrybelongstostore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateDefaultCountryBelongsToStore -description: API reference for ValidateDefaultCountryBelongsToStore in Umbraco Commerce ---- -## ValidateDefaultCountryBelongsToStore - -```csharp -public class ValidateDefaultCountryBelongsToStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Store](README.md) - -### Constructors - -#### ValidateDefaultCountryBelongsToStore - -```csharp -public ValidateDefaultCountryBelongsToStore(ICountryService countryService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateStoreDefaultCountryChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatedefaulttaxclassbelongstostore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatedefaulttaxclassbelongstostore.md deleted file mode 100644 index fee852ced81..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatedefaulttaxclassbelongstostore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateDefaultTaxClassBelongsToStore -description: API reference for ValidateDefaultTaxClassBelongsToStore in Umbraco Commerce ---- -## ValidateDefaultTaxClassBelongsToStore - -```csharp -public class ValidateDefaultTaxClassBelongsToStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Store](README.md) - -### Constructors - -#### ValidateDefaultTaxClassBelongsToStore - -```csharp -public ValidateDefaultTaxClassBelongsToStore(ITaxService taxService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateStoreDefaultTaxClassChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatenotificationemailtemplatesbelongstostore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatenotificationemailtemplatesbelongstostore.md deleted file mode 100644 index 9a678fef290..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validatenotificationemailtemplatesbelongstostore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateNotificationEmailTemplatesBelongsToStore -description: API reference for ValidateNotificationEmailTemplatesBelongsToStore in Umbraco Commerce ---- -## ValidateNotificationEmailTemplatesBelongsToStore - -```csharp -public class ValidateNotificationEmailTemplatesBelongsToStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Store](README.md) - -### Constructors - -#### ValidateNotificationEmailTemplatesBelongsToStore - -```csharp -public ValidateNotificationEmailTemplatesBelongsToStore(IEmailTemplateService emailTemplateService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateStoreNotificationEmailTemplatesChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validateorderstatusesbelongstostore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validateorderstatusesbelongstostore.md deleted file mode 100644 index 9a7f7fb9503..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validateorderstatusesbelongstostore.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateOrderStatusesBelongsToStore -description: API reference for ValidateOrderStatusesBelongsToStore in Umbraco Commerce ---- -## ValidateOrderStatusesBelongsToStore - -```csharp -public class ValidateOrderStatusesBelongsToStore : - ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Store](README.md) - -### Constructors - -#### ValidateOrderStatusesBelongsToStore - -```csharp -public ValidateOrderStatusesBelongsToStore(IOrderStatusService orderStatusService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateStoreOrderStatusesChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validateuniquestorealias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validateuniquestorealias.md deleted file mode 100644 index a3f8446727e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-store/validateuniquestorealias.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueStoreAlias -description: API reference for ValidateUniqueStoreAlias in Umbraco Commerce ---- -## ValidateUniqueStoreAlias - -```csharp -public class ValidateUniqueStoreAlias : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.Store](README.md) - -### Constructors - -#### ValidateUniqueStoreAlias - -```csharp -public ValidateUniqueStoreAlias(IStoreService storeService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateStoreAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/README.md deleted file mode 100644 index 69953dcd2e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation.Handlers.TaxClass -description: API reference for Umbraco.Commerce.Core.Events.Validation.Handlers.TaxClass in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation.Handlers.TaxClass namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateNotStoreDefaultTaxClass](validatenotstoredefaulttaxclass.md) | | -| class [ValidateUniqueTaxClassAlias](validateuniquetaxclassalias.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/validatenotstoredefaulttaxclass.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/validatenotstoredefaulttaxclass.md deleted file mode 100644 index 14cca803973..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/validatenotstoredefaulttaxclass.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ValidateNotStoreDefaultTaxClass -description: API reference for ValidateNotStoreDefaultTaxClass in Umbraco Commerce ---- -## ValidateNotStoreDefaultTaxClass - -```csharp -public class ValidateNotStoreDefaultTaxClass : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.TaxClass](README.md) - -### Constructors - -#### ValidateNotStoreDefaultTaxClass - -```csharp -public ValidateNotStoreDefaultTaxClass(IStoreService storeService, - ILogger logger) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateTaxClassDelete evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/validateuniquetaxclassalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/validateuniquetaxclassalias.md deleted file mode 100644 index e274a45e2ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation-handlers-taxclass/validateuniquetaxclassalias.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateUniqueTaxClassAlias -description: API reference for ValidateUniqueTaxClassAlias in Umbraco Commerce ---- -## ValidateUniqueTaxClassAlias - -```csharp -public class ValidateUniqueTaxClassAlias : ValidationEventHandlerBase -``` - -**Inheritance** - -* Class [ValidationEventHandlerBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventhandlerbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation.Handlers.TaxClass](README.md) - -### Constructors - -#### ValidateUniqueTaxClassAlias - -```csharp -public ValidateUniqueTaxClassAlias(ITaxService taxClassService) -``` - - -### Methods - -#### Validate - -```csharp -public override void Validate(ValidateTaxClassAliasChange evt) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/README.md deleted file mode 100644 index ffe1a20ad50..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/README.md +++ /dev/null @@ -1,219 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events.Validation -description: API reference for Umbraco.Commerce.Core.Events.Validation in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events.Validation namespace - -| Public Type | Description | -| --- | --- | -| class [ValidateCancelOrderPayment](validatecancelorderpayment.md) | | -| class [ValidateCaptureOrderPayment](validatecaptureorderpayment.md) | | -| class [ValidateCountryCodeChange](validatecountrycodechange.md) | | -| class [ValidateCountryCreate](validatecountrycreate.md) | | -| class [ValidateCountryDefaultCurrencyChange](validatecountrydefaultcurrencychange.md) | | -| class [ValidateCountryDefaultPaymentMethodChange](validatecountrydefaultpaymentmethodchange.md) | | -| class [ValidateCountryDefaultShippingMethodChange](validatecountrydefaultshippingmethodchange.md) | | -| class [ValidateCountryDelete](validatecountrydelete.md) | | -| class [ValidateCountryNameChange](validatecountrynamechange.md) | | -| class [ValidateCountrySave](validatecountrysave.md) | | -| class [ValidateCountryUpdate](validatecountryupdate.md) | | -| class [ValidateCurrencyAllowInCountry](validatecurrencyallowincountry.md) | | -| class [ValidateCurrencyCodeChange](validatecurrencycodechange.md) | | -| class [ValidateCurrencyCreate](validatecurrencycreate.md) | | -| class [ValidateCurrencyCultureChange](validatecurrencyculturechange.md) | | -| class [ValidateCurrencyCustomFormatTemplateChange](validatecurrencycustomformattemplatechange.md) | | -| class [ValidateCurrencyDelete](validatecurrencydelete.md) | | -| class [ValidateCurrencyDisallowInCountry](validatecurrencydisallowincountry.md) | | -| class [ValidateCurrencyNameChange](validatecurrencynamechange.md) | | -| class [ValidateCurrencySave](validatecurrencysave.md) | | -| class [ValidateCurrencyUpdate](validatecurrencyupdate.md) | | -| class [ValidateDiscountActiveChange](validatediscountactivechange.md) | | -| class [ValidateDiscountAliasChange](validatediscountaliaschange.md) | | -| class [ValidateDiscountCodeAdd](validatediscountcodeadd.md) | | -| class [ValidateDiscountCodeChange](validatediscountcodechange.md) | | -| class [ValidateDiscountCodeRemove](validatediscountcoderemove.md) | | -| class [ValidateDiscountCreate](validatediscountcreate.md) | | -| class [ValidateDiscountDateRangeChange](validatediscountdaterangechange.md) | | -| class [ValidateDiscountDelete](validatediscountdelete.md) | | -| class [ValidateDiscountNameChange](validatediscountnamechange.md) | | -| class [ValidateDiscountRewardsChange](validatediscountrewardschange.md) | | -| class [ValidateDiscountRulesChange](validatediscountruleschange.md) | | -| class [ValidateDiscountSave](validatediscountsave.md) | | -| class [ValidateDiscountTypeChange](validatediscounttypechange.md) | | -| class [ValidateDiscountUpdate](validatediscountupdate.md) | | -| class [ValidateEmailTemplateAliasChange](validateemailtemplatealiaschange.md) | | -| class [ValidateEmailTemplateBccAddressChange](validateemailtemplatebccaddresschange.md) | | -| class [ValidateEmailTemplateCategoryChange](validateemailtemplatecategorychange.md) | | -| class [ValidateEmailTemplateCcAddressChange](validateemailtemplateccaddresschange.md) | | -| class [ValidateEmailTemplateCreate](validateemailtemplatecreate.md) | | -| class [ValidateEmailTemplateDelete](validateemailtemplatedelete.md) | | -| class [ValidateEmailTemplateNameChange](validateemailtemplatenamechange.md) | | -| class [ValidateEmailTemplateReplyToAddressChange](validateemailtemplatereplytoaddresschange.md) | | -| class [ValidateEmailTemplateSave](validateemailtemplatesave.md) | | -| class [ValidateEmailTemplateSenderChange](validateemailtemplatesenderchange.md) | | -| class [ValidateEmailTemplateSendToCustomerChange](validateemailtemplatesendtocustomerchange.md) | | -| class [ValidateEmailTemplateSubjectChange](validateemailtemplatesubjectchange.md) | | -| class [ValidateEmailTemplateToAddressChange](validateemailtemplatetoaddresschange.md) | | -| class [ValidateEmailTemplateUpdate](validateemailtemplateupdate.md) | | -| class [ValidateEmailTemplateViewChange](validateemailtemplateviewchange.md) | | -| class [ValidateExportTemplateAliasChange](validateexporttemplatealiaschange.md) | | -| class [ValidateExportTemplateCategoryChange](validateexporttemplatecategorychange.md) | | -| class [ValidateExportTemplateCreate](validateexporttemplatecreate.md) | | -| class [ValidateExportTemplateDelete](validateexporttemplatedelete.md) | | -| class [ValidateExportTemplateExportStrategyChange](validateexporttemplateexportstrategychange.md) | | -| class [ValidateExportTemplateFileExtensionChange](validateexporttemplatefileextensionchange.md) | | -| class [ValidateExportTemplateFileMimeTypeChange](validateexporttemplatefilemimetypechange.md) | | -| class [ValidateExportTemplateNameChange](validateexporttemplatenamechange.md) | | -| class [ValidateExportTemplateSave](validateexporttemplatesave.md) | | -| class [ValidateExportTemplateUpdate](validateexporttemplateupdate.md) | | -| class [ValidateExportTemplateViewChange](validateexporttemplateviewchange.md) | | -| class [ValidateFetchOrderPaymentStatus](validatefetchorderpaymentstatus.md) | | -| class [ValidateGiftCardActiveChange](validategiftcardactivechange.md) | | -| class [ValidateGiftCardAmountsChange](validategiftcardamountschange.md) | | -| class [ValidateGiftCardCodeChange](validategiftcardcodechange.md) | | -| class [ValidateGiftCardCreate](validategiftcardcreate.md) | | -| class [ValidateGiftCardCurrencyChange](validategiftcardcurrencychange.md) | | -| class [ValidateGiftCardDelete](validategiftcarddelete.md) | | -| class [ValidateGiftCardExpiryDateChange](validategiftcardexpirydatechange.md) | | -| class [ValidateGiftCardOrderChange](validategiftcardorderchange.md) | | -| class [ValidateGiftCardPropertyChange](validategiftcardpropertychange.md) | | -| class [ValidateGiftCardSave](validategiftcardsave.md) | | -| class [ValidateGiftCardUpdate](validategiftcardupdate.md) | | -| class [ValidateOrderAssignToCustomer](validateorderassigntocustomer.md) | | -| class [ValidateOrderCodeEvent](validateordercodeevent.md) | | -| class [ValidateOrderCreate](validateordercreate.md) | | -| class [ValidateOrderCurrencyChange](validateordercurrencychange.md) | | -| class [ValidateOrderDelete](validateorderdelete.md) | | -| class [ValidateOrderDiscountCodeRedeem](validateorderdiscountcoderedeem.md) | | -| class [ValidateOrderDiscountCodeUnredeem](validateorderdiscountcodeunredeem.md) | | -| class [ValidateOrderFinalize](validateorderfinalize.md) | | -| class [ValidateOrderGiftCardRedeem](validateordergiftcardredeem.md) | | -| class [ValidateOrderGiftCardUnredeem](validateordergiftcardunredeem.md) | | -| class [ValidateOrderLanguageChange](validateorderlanguagechange.md) | | -| class [ValidateOrderLinePropertyChange](validateorderlinepropertychange.md) | | -| class [ValidateOrderLineQuantityChange](validateorderlinequantitychange.md) | | -| class [ValidateOrderLineRemove](validateorderlineremove.md) | | -| class [ValidateOrderLineTaxClassChange](validateorderlinetaxclasschange.md) | | -| class [ValidateOrderPaymentCountryRegionChange](validateorderpaymentcountryregionchange.md) | | -| class [ValidateOrderPaymentMethodChange](validateorderpaymentmethodchange.md) | | -| class [ValidateOrderProductAdd](validateorderproductadd.md) | | -| class [ValidateOrderPropertyChange](validateorderpropertychange.md) | | -| class [ValidateOrderSave](validateordersave.md) | | -| class [ValidateOrderShippingCountryRegionChange](validateordershippingcountryregionchange.md) | | -| class [ValidateOrderShippingMethodChange](validateordershippingmethodchange.md) | | -| class [ValidateOrderStatusAliasChange](validateorderstatusaliaschange.md) | | -| class [ValidateOrderStatusChange](validateorderstatuschange.md) | | -| class [ValidateOrderStatusColorChange](validateorderstatuscolorchange.md) | | -| class [ValidateOrderStatusCreate](validateorderstatuscreate.md) | | -| class [ValidateOrderStatusDelete](validateorderstatusdelete.md) | | -| class [ValidateOrderStatusNameChange](validateorderstatusnamechange.md) | | -| class [ValidateOrderStatusSave](validateorderstatussave.md) | | -| class [ValidateOrderStatusUpdate](validateorderstatusupdate.md) | | -| class [ValidateOrderTagAdd](validateordertagadd.md) | | -| class [ValidateOrderTagRemove](validateordertagremove.md) | | -| class [ValidateOrderTaxClassChange](validateordertaxclasschange.md) | | -| class [ValidateOrderTransactionUpdate](validateordertransactionupdate.md) | | -| class [ValidateOrderUpdate](validateorderupdate.md) | | -| class [ValidatePaymentMethodAliasChange](validatepaymentmethodaliaschange.md) | | -| class [ValidatePaymentMethodAllowInCountryRegion](validatepaymentmethodallowincountryregion.md) | | -| class [ValidatePaymentMethodClearPrices](validatepaymentmethodclearprices.md) | | -| class [ValidatePaymentMethodCreate](validatepaymentmethodcreate.md) | | -| class [ValidatePaymentMethodDelete](validatepaymentmethoddelete.md) | | -| class [ValidatePaymentMethodDisallowInCountryRegion](validatepaymentmethoddisallowincountryregion.md) | | -| class [ValidatePaymentMethodImageChange](validatepaymentmethodimagechange.md) | | -| class [ValidatePaymentMethodNameChange](validatepaymentmethodnamechange.md) | | -| class [ValidatePaymentMethodPriceChange](validatepaymentmethodpricechange.md) | | -| class [ValidatePaymentMethodSave](validatepaymentmethodsave.md) | | -| class [ValidatePaymentMethodSettingChange](validatepaymentmethodsettingchange.md) | | -| class [ValidatePaymentMethodSkuChange](validatepaymentmethodskuchange.md) | | -| class [ValidatePaymentMethodTaxClassChange](validatepaymentmethodtaxclasschange.md) | | -| class [ValidatePaymentMethodToggleFeatures](validatepaymentmethodtogglefeatures.md) | | -| class [ValidatePaymentMethodUpdate](validatepaymentmethodupdate.md) | | -| class [ValidatePrintTemplateAliasChange](validateprinttemplatealiaschange.md) | | -| class [ValidatePrintTemplateCategoryChange](validateprinttemplatecategorychange.md) | | -| class [ValidatePrintTemplateCreate](validateprinttemplatecreate.md) | | -| class [ValidatePrintTemplateDelete](validateprinttemplatedelete.md) | | -| class [ValidatePrintTemplateNameChange](validateprinttemplatenamechange.md) | | -| class [ValidatePrintTemplateSave](validateprinttemplatesave.md) | | -| class [ValidatePrintTemplateUpdate](validateprinttemplateupdate.md) | | -| class [ValidatePrintTemplateViewChange](validateprinttemplateviewchange.md) | | -| class [ValidateProductAttributeAliasChange](validateproductattributealiaschange.md) | | -| class [ValidateProductAttributeCreate](validateproductattributecreate.md) | | -| class [ValidateProductAttributeDelete](validateproductattributedelete.md) | | -| class [ValidateProductAttributeNameChange](validateproductattributenamechange.md) | | -| class [ValidateProductAttributePresetAliasChange](validateproductattributepresetaliaschange.md) | | -| class [ValidateProductAttributePresetAllowAttribute](validateproductattributepresetallowattribute.md) | | -| class [ValidateProductAttributePresetCreate](validateproductattributepresetcreate.md) | | -| class [ValidateProductAttributePresetDelete](validateproductattributepresetdelete.md) | | -| class [ValidateProductAttributePresetDescriptionChange](validateproductattributepresetdescriptionchange.md) | | -| class [ValidateProductAttributePresetDisallowAttribute](validateproductattributepresetdisallowattribute.md) | | -| class [ValidateProductAttributePresetIconChange](validateproductattributepreseticonchange.md) | | -| class [ValidateProductAttributePresetNameChange](validateproductattributepresetnamechange.md) | | -| class [ValidateProductAttributePresetSave](validateproductattributepresetsave.md) | | -| class [ValidateProductAttributePresetUpdate](validateproductattributepresetupdate.md) | | -| class [ValidateProductAttributeSave](validateproductattributesave.md) | | -| class [ValidateProductAttributeUpdate](validateproductattributeupdate.md) | | -| class [ValidateProductAttributeValueAdd](validateproductattributevalueadd.md) | | -| class [ValidateProductAttributeValueNameChange](validateproductattributevaluenamechange.md) | | -| class [ValidateProductAttributeValueRemove](validateproductattributevalueremove.md) | | -| class [ValidateRefundOrderPayment](validaterefundorderpayment.md) | | -| class [ValidateRegionCodeChange](validateregioncodechange.md) | | -| class [ValidateRegionCreate](validateregioncreate.md) | | -| class [ValidateRegionDefaultPaymentMethodChange](validateregiondefaultpaymentmethodchange.md) | | -| class [ValidateRegionDefaultShippingMethodChange](validateregiondefaultshippingmethodchange.md) | | -| class [ValidateRegionDelete](validateregiondelete.md) | | -| class [ValidateRegionNameChange](validateregionnamechange.md) | | -| class [ValidateRegionSave](validateregionsave.md) | | -| class [ValidateRegionUpdate](validateregionupdate.md) | | -| class [ValidateShippingMethodAliasChange](validateshippingmethodaliaschange.md) | | -| class [ValidateShippingMethodAllowInCountryRegion](validateshippingmethodallowincountryregion.md) | | -| class [ValidateShippingMethodClearPrices](validateshippingmethodclearprices.md) | | -| class [ValidateShippingMethodCreate](validateshippingmethodcreate.md) | | -| class [ValidateShippingMethodDelete](validateshippingmethoddelete.md) | | -| class [ValidateShippingMethodDisallowInCountryRegion](validateshippingmethoddisallowincountryregion.md) | | -| class [ValidateShippingMethodImageChange](validateshippingmethodimagechange.md) | | -| class [ValidateShippingMethodNameChange](validateshippingmethodnamechange.md) | | -| class [ValidateShippingMethodPriceChange](validateshippingmethodpricechange.md) | | -| class [ValidateShippingMethodSave](validateshippingmethodsave.md) | | -| class [ValidateShippingMethodSkuChange](validateshippingmethodskuchange.md) | | -| class [ValidateShippingMethodTaxClassChange](validateshippingmethodtaxclasschange.md) | | -| class [ValidateShippingMethodUpdate](validateshippingmethodupdate.md) | | -| class [ValidateStockChange](validatestockchange.md) | | -| class [ValidateStoreAddGiftCardPropertyAlias](validatestoreaddgiftcardpropertyalias.md) | | -| class [ValidateStoreAddProductPropertyAlias](validatestoreaddproductpropertyalias.md) | | -| class [ValidateStoreAddProductUniquenessPropertyAlias](validatestoreaddproductuniquenesspropertyalias.md) | | -| class [ValidateStoreAliasChange](validatestorealiaschange.md) | | -| class [ValidateStoreAllowUser](validatestoreallowuser.md) | | -| class [ValidateStoreAllowUserRole](validatestoreallowuserrole.md) | | -| class [ValidateStoreBaseCurrencyChange](validatestorebasecurrencychange.md) | | -| class [ValidateStoreCookiesChange](validatestorecookieschange.md) | | -| class [ValidateStoreCreate](validatestorecreate.md) | | -| class [ValidateStoreDefaultCountryChange](validatestoredefaultcountrychange.md) | | -| class [ValidateStoreDefaultTaxClassChange](validatestoredefaulttaxclasschange.md) | | -| class [ValidateStoreDelete](validatestoredelete.md) | | -| class [ValidateStoreDisallowUser](validatestoredisallowuser.md) | | -| class [ValidateStoreDisallowUserRole](validatestoredisallowuserrole.md) | | -| class [ValidateStoreGiftCardSettingsChange](validatestoregiftcardsettingschange.md) | | -| class [ValidateStoreNameChange](validatestorenamechange.md) | | -| class [ValidateStoreNotificationEmailTemplatesChange](validatestorenotificationemailtemplateschange.md) | | -| class [ValidateStoreOrderEditorConfigChange](validatestoreordereditorconfigchange.md) | | -| class [ValidateStoreOrderNumberTemplatesChange](validatestoreordernumbertemplateschange.md) | | -| class [ValidateStoreOrderRoundingMethodChange](validatestoreorderroundingmethodchange.md) | | -| class [ValidateStoreOrderStatusesChange](validatestoreorderstatuseschange.md) | | -| class [ValidateStorePriceTaxInclusivityChange](validatestorepricetaxinclusivitychange.md) | | -| class [ValidateStoreRemoveGiftCardPropertyAlias](validatestoreremovegiftcardpropertyalias.md) | | -| class [ValidateStoreRemoveProductPropertyAlias](validatestoreremoveproductpropertyalias.md) | | -| class [ValidateStoreRemoveProductUniquenessPropertyAlias](validatestoreremoveproductuniquenesspropertyalias.md) | | -| class [ValidateStoreSave](validatestoresave.md) | | -| class [ValidateStoreShareStockFromStoreChange](validatestoresharestockfromstorechange.md) | | -| class [ValidateStoreUpdate](validatestoreupdate.md) | | -| class [ValidateTaxClassAliasChange](validatetaxclassaliaschange.md) | | -| class [ValidateTaxClassClearTaxRates](validatetaxclasscleartaxrates.md) | | -| class [ValidateTaxClassCreate](validatetaxclasscreate.md) | | -| class [ValidateTaxClassDelete](validatetaxclassdelete.md) | | -| class [ValidateTaxClassNameChange](validatetaxclassnamechange.md) | | -| class [ValidateTaxClassSave](validatetaxclasssave.md) | | -| class [ValidateTaxClassTaxRateChange](validatetaxclasstaxratechange.md) | | -| class [ValidateTaxClassUpdate](validatetaxclassupdate.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecancelorderpayment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecancelorderpayment.md deleted file mode 100644 index 56669fc8855..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecancelorderpayment.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCancelOrderPayment -description: API reference for ValidateCancelOrderPayment in Umbraco Commerce ---- -## ValidateCancelOrderPayment - -```csharp -public class ValidateCancelOrderPayment : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCancelOrderPayment - -```csharp -public ValidateCancelOrderPayment(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecaptureorderpayment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecaptureorderpayment.md deleted file mode 100644 index 49a02af9eb1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecaptureorderpayment.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCaptureOrderPayment -description: API reference for ValidateCaptureOrderPayment in Umbraco Commerce ---- -## ValidateCaptureOrderPayment - -```csharp -public class ValidateCaptureOrderPayment : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCaptureOrderPayment - -```csharp -public ValidateCaptureOrderPayment(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrycodechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrycodechange.md deleted file mode 100644 index 19b12c1be56..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrycodechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCountryCodeChange -description: API reference for ValidateCountryCodeChange in Umbraco Commerce ---- -## ValidateCountryCodeChange - -```csharp -public class ValidateCountryCodeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryCodeChange - -```csharp -public ValidateCountryCodeChange(CountryReadOnly country, ChangingValue code) -``` - - -### Properties - -#### Code - -```csharp -public ChangingValue Code { get; } -``` - - ---- - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrycreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrycreate.md deleted file mode 100644 index 392312c4990..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrycreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCountryCreate -description: API reference for ValidateCountryCreate in Umbraco Commerce ---- -## ValidateCountryCreate - -```csharp -public class ValidateCountryCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryCreate - -```csharp -public ValidateCountryCreate(CountryReadOnly country) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultcurrencychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultcurrencychange.md deleted file mode 100644 index e2b0ea4d2bd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultcurrencychange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateCountryDefaultCurrencyChange -description: API reference for ValidateCountryDefaultCurrencyChange in Umbraco Commerce ---- -## ValidateCountryDefaultCurrencyChange - -```csharp -public class ValidateCountryDefaultCurrencyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryDefaultCurrencyChange - -```csharp -public ValidateCountryDefaultCurrencyChange(CountryReadOnly country, - ChangingValue currencyId) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public ChangingValue CurrencyId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultpaymentmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultpaymentmethodchange.md deleted file mode 100644 index a7fa58000f9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultpaymentmethodchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateCountryDefaultPaymentMethodChange -description: API reference for ValidateCountryDefaultPaymentMethodChange in Umbraco Commerce ---- -## ValidateCountryDefaultPaymentMethodChange - -```csharp -public class ValidateCountryDefaultPaymentMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryDefaultPaymentMethodChange - -```csharp -public ValidateCountryDefaultPaymentMethodChange(CountryReadOnly country, - ChangingValue paymentMethodId) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - ---- - -#### PaymentMethodId - -```csharp -public ChangingValue PaymentMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultshippingmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultshippingmethodchange.md deleted file mode 100644 index dd7960b0a91..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydefaultshippingmethodchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateCountryDefaultShippingMethodChange -description: API reference for ValidateCountryDefaultShippingMethodChange in Umbraco Commerce ---- -## ValidateCountryDefaultShippingMethodChange - -```csharp -public class ValidateCountryDefaultShippingMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryDefaultShippingMethodChange - -```csharp -public ValidateCountryDefaultShippingMethodChange(CountryReadOnly country, - ChangingValue shippingMethodId) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - ---- - -#### ShippingMethodId - -```csharp -public ChangingValue ShippingMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydelete.md deleted file mode 100644 index b56b4c73daf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrydelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCountryDelete -description: API reference for ValidateCountryDelete in Umbraco Commerce ---- -## ValidateCountryDelete - -```csharp -public class ValidateCountryDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryDelete - -```csharp -public ValidateCountryDelete(CountryReadOnly country) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrynamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrynamechange.md deleted file mode 100644 index da47d205825..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrynamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCountryNameChange -description: API reference for ValidateCountryNameChange in Umbraco Commerce ---- -## ValidateCountryNameChange - -```csharp -public class ValidateCountryNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryNameChange - -```csharp -public ValidateCountryNameChange(CountryReadOnly country, ChangingValue name) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - ---- - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrysave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrysave.md deleted file mode 100644 index 1500b67014c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountrysave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCountrySave -description: API reference for ValidateCountrySave in Umbraco Commerce ---- -## ValidateCountrySave - -```csharp -public class ValidateCountrySave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountrySave - -```csharp -public ValidateCountrySave(CountryReadOnly country) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountryupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountryupdate.md deleted file mode 100644 index b927deb330c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecountryupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCountryUpdate -description: API reference for ValidateCountryUpdate in Umbraco Commerce ---- -## ValidateCountryUpdate - -```csharp -public class ValidateCountryUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCountryUpdate - -```csharp -public ValidateCountryUpdate(CountryReadOnly country) -``` - - -### Properties - -#### Country - -```csharp -public CountryReadOnly Country { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyallowincountry.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyallowincountry.md deleted file mode 100644 index 3ba88a29707..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyallowincountry.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCurrencyAllowInCountry -description: API reference for ValidateCurrencyAllowInCountry in Umbraco Commerce ---- -## ValidateCurrencyAllowInCountry - -```csharp -public class ValidateCurrencyAllowInCountry : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyAllowInCountry - -```csharp -public ValidateCurrencyAllowInCountry(CurrencyReadOnly currency, Guid countryId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycodechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycodechange.md deleted file mode 100644 index 403d505a5af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycodechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCurrencyCodeChange -description: API reference for ValidateCurrencyCodeChange in Umbraco Commerce ---- -## ValidateCurrencyCodeChange - -```csharp -public class ValidateCurrencyCodeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyCodeChange - -```csharp -public ValidateCurrencyCodeChange(CurrencyReadOnly currency, ChangingValue code) -``` - - -### Properties - -#### Code - -```csharp -public ChangingValue Code { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycreate.md deleted file mode 100644 index fed4c3ec261..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCurrencyCreate -description: API reference for ValidateCurrencyCreate in Umbraco Commerce ---- -## ValidateCurrencyCreate - -```csharp -public class ValidateCurrencyCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyCreate - -```csharp -public ValidateCurrencyCreate(CurrencyReadOnly currency) -``` - - -### Properties - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyculturechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyculturechange.md deleted file mode 100644 index 5a09d2bf225..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyculturechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCurrencyCultureChange -description: API reference for ValidateCurrencyCultureChange in Umbraco Commerce ---- -## ValidateCurrencyCultureChange - -```csharp -public class ValidateCurrencyCultureChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyCultureChange - -```csharp -public ValidateCurrencyCultureChange(CurrencyReadOnly currency, ChangingValue cultureName) -``` - - -### Properties - -#### CultureName - -```csharp -public ChangingValue CultureName { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycustomformattemplatechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycustomformattemplatechange.md deleted file mode 100644 index fd6580e5b14..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencycustomformattemplatechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateCurrencyCustomFormatTemplateChange -description: API reference for ValidateCurrencyCustomFormatTemplateChange in Umbraco Commerce ---- -## ValidateCurrencyCustomFormatTemplateChange - -```csharp -public class ValidateCurrencyCustomFormatTemplateChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyCustomFormatTemplateChange - -```csharp -public ValidateCurrencyCustomFormatTemplateChange(CurrencyReadOnly currency, - ChangingValue formatTemplate) -``` - - -### Properties - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - ---- - -#### FormatTemplate - -```csharp -public ChangingValue FormatTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencydelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencydelete.md deleted file mode 100644 index 2a95ee04633..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencydelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCurrencyDelete -description: API reference for ValidateCurrencyDelete in Umbraco Commerce ---- -## ValidateCurrencyDelete - -```csharp -public class ValidateCurrencyDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyDelete - -```csharp -public ValidateCurrencyDelete(CurrencyReadOnly currency) -``` - - -### Properties - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencydisallowincountry.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencydisallowincountry.md deleted file mode 100644 index 9f530c3cc4f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencydisallowincountry.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCurrencyDisallowInCountry -description: API reference for ValidateCurrencyDisallowInCountry in Umbraco Commerce ---- -## ValidateCurrencyDisallowInCountry - -```csharp -public class ValidateCurrencyDisallowInCountry : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyDisallowInCountry - -```csharp -public ValidateCurrencyDisallowInCountry(CurrencyReadOnly currency, Guid countryId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencynamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencynamechange.md deleted file mode 100644 index 96e284be61b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencynamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateCurrencyNameChange -description: API reference for ValidateCurrencyNameChange in Umbraco Commerce ---- -## ValidateCurrencyNameChange - -```csharp -public class ValidateCurrencyNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyNameChange - -```csharp -public ValidateCurrencyNameChange(CurrencyReadOnly currency, ChangingValue name) -``` - - -### Properties - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - ---- - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencysave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencysave.md deleted file mode 100644 index 8933be9855b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencysave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCurrencySave -description: API reference for ValidateCurrencySave in Umbraco Commerce ---- -## ValidateCurrencySave - -```csharp -public class ValidateCurrencySave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencySave - -```csharp -public ValidateCurrencySave(CurrencyReadOnly currency) -``` - - -### Properties - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyupdate.md deleted file mode 100644 index 0e6eeac6a35..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatecurrencyupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateCurrencyUpdate -description: API reference for ValidateCurrencyUpdate in Umbraco Commerce ---- -## ValidateCurrencyUpdate - -```csharp -public class ValidateCurrencyUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateCurrencyUpdate - -```csharp -public ValidateCurrencyUpdate(CurrencyReadOnly currency) -``` - - -### Properties - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountactivechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountactivechange.md deleted file mode 100644 index a1a00125ab0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountactivechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateDiscountActiveChange -description: API reference for ValidateDiscountActiveChange in Umbraco Commerce ---- -## ValidateDiscountActiveChange - -```csharp -public class ValidateDiscountActiveChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountActiveChange - -```csharp -public ValidateDiscountActiveChange(DiscountReadOnly discount, ChangingValue isActive) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### IsActive - -```csharp -public ChangingValue IsActive { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountaliaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountaliaschange.md deleted file mode 100644 index 9862878cd51..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountaliaschange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateDiscountAliasChange -description: API reference for ValidateDiscountAliasChange in Umbraco Commerce ---- -## ValidateDiscountAliasChange - -```csharp -public class ValidateDiscountAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountAliasChange - -```csharp -public ValidateDiscountAliasChange(DiscountReadOnly discount, ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcodeadd.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcodeadd.md deleted file mode 100644 index 02a025f7f8d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcodeadd.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateDiscountCodeAdd -description: API reference for ValidateDiscountCodeAdd in Umbraco Commerce ---- -## ValidateDiscountCodeAdd - -```csharp -public class ValidateDiscountCodeAdd : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountCodeAdd - -```csharp -public ValidateDiscountCodeAdd(DiscountReadOnly discount, DiscountCode discountCode) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### DiscountCode - -```csharp -public DiscountCode DiscountCode { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcodechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcodechange.md deleted file mode 100644 index de999ad5fa7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcodechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateDiscountCodeChange -description: API reference for ValidateDiscountCodeChange in Umbraco Commerce ---- -## ValidateDiscountCodeChange - -```csharp -public class ValidateDiscountCodeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountCodeChange - -```csharp -public ValidateDiscountCodeChange(DiscountReadOnly discount, - ChangingValue discountCode) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### DiscountCode - -```csharp -public ChangingValue DiscountCode { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcoderemove.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcoderemove.md deleted file mode 100644 index 4af357b733e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcoderemove.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateDiscountCodeRemove -description: API reference for ValidateDiscountCodeRemove in Umbraco Commerce ---- -## ValidateDiscountCodeRemove - -```csharp -public class ValidateDiscountCodeRemove : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountCodeRemove - -```csharp -public ValidateDiscountCodeRemove(DiscountReadOnly discount, DiscountCode discountCode) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### DiscountCode - -```csharp -public DiscountCode DiscountCode { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcreate.md deleted file mode 100644 index cf17e598dce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountcreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateDiscountCreate -description: API reference for ValidateDiscountCreate in Umbraco Commerce ---- -## ValidateDiscountCreate - -```csharp -public class ValidateDiscountCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountCreate - -```csharp -public ValidateDiscountCreate(DiscountReadOnly discount) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountdaterangechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountdaterangechange.md deleted file mode 100644 index ce6a0b659ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountdaterangechange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateDiscountDateRangeChange -description: API reference for ValidateDiscountDateRangeChange in Umbraco Commerce ---- -## ValidateDiscountDateRangeChange - -```csharp -public class ValidateDiscountDateRangeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountDateRangeChange - -```csharp -public ValidateDiscountDateRangeChange(DiscountReadOnly discount, - ChangingValue startDate, ChangingValue expiryDate) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### ExpiryDate - -```csharp -public ChangingValue ExpiryDate { get; } -``` - - ---- - -#### StartDate - -```csharp -public ChangingValue StartDate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountdelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountdelete.md deleted file mode 100644 index 11a3f2343cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountdelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateDiscountDelete -description: API reference for ValidateDiscountDelete in Umbraco Commerce ---- -## ValidateDiscountDelete - -```csharp -public class ValidateDiscountDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountDelete - -```csharp -public ValidateDiscountDelete(DiscountReadOnly discount) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountnamechange.md deleted file mode 100644 index 3a74a342b63..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountnamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateDiscountNameChange -description: API reference for ValidateDiscountNameChange in Umbraco Commerce ---- -## ValidateDiscountNameChange - -```csharp -public class ValidateDiscountNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountNameChange - -```csharp -public ValidateDiscountNameChange(DiscountReadOnly discount, ChangingValue name) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountrewardschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountrewardschange.md deleted file mode 100644 index 8151299ef19..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountrewardschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateDiscountRewardsChange -description: API reference for ValidateDiscountRewardsChange in Umbraco Commerce ---- -## ValidateDiscountRewardsChange - -```csharp -public class ValidateDiscountRewardsChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountRewardsChange - -```csharp -public ValidateDiscountRewardsChange(DiscountReadOnly discount, - ChangingValue> rewards) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### Rewards - -```csharp -public ChangingValue> Rewards { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountruleschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountruleschange.md deleted file mode 100644 index 7b57eb364ac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountruleschange.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: ValidateDiscountRulesChange -description: API reference for ValidateDiscountRulesChange in Umbraco Commerce ---- -## ValidateDiscountRulesChange - -```csharp -public class ValidateDiscountRulesChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountRulesChange - -```csharp -public ValidateDiscountRulesChange(DiscountReadOnly discount, - ChangingValue rules, ChangingValue blockFurtherDiscounts, - ChangingValue blockIfPreviousDiscounts) -``` - - -### Properties - -#### BlockFurtherDiscounts - -```csharp -public ChangingValue BlockFurtherDiscounts { get; } -``` - - ---- - -#### BlockIfPreviousDiscounts - -```csharp -public ChangingValue BlockIfPreviousDiscounts { get; } -``` - - ---- - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### Rules - -```csharp -public ChangingValue Rules { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountsave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountsave.md deleted file mode 100644 index f2e64d6818d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountsave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateDiscountSave -description: API reference for ValidateDiscountSave in Umbraco Commerce ---- -## ValidateDiscountSave - -```csharp -public class ValidateDiscountSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountSave - -```csharp -public ValidateDiscountSave(DiscountReadOnly discount) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscounttypechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscounttypechange.md deleted file mode 100644 index c8999f21a86..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscounttypechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateDiscountTypeChange -description: API reference for ValidateDiscountTypeChange in Umbraco Commerce ---- -## ValidateDiscountTypeChange - -```csharp -public class ValidateDiscountTypeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountTypeChange - -```csharp -public ValidateDiscountTypeChange(DiscountReadOnly discount, ChangingValue type) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - ---- - -#### Type - -```csharp -public ChangingValue Type { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountupdate.md deleted file mode 100644 index 791ae9a35fb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatediscountupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateDiscountUpdate -description: API reference for ValidateDiscountUpdate in Umbraco Commerce ---- -## ValidateDiscountUpdate - -```csharp -public class ValidateDiscountUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateDiscountUpdate - -```csharp -public ValidateDiscountUpdate(DiscountReadOnly discount) -``` - - -### Properties - -#### Discount - -```csharp -public DiscountReadOnly Discount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatealiaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatealiaschange.md deleted file mode 100644 index 7c652396f4a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatealiaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateAliasChange -description: API reference for ValidateEmailTemplateAliasChange in Umbraco Commerce ---- -## ValidateEmailTemplateAliasChange - -```csharp -public class ValidateEmailTemplateAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateAliasChange - -```csharp -public ValidateEmailTemplateAliasChange(EmailTemplateReadOnly emailTemplate, - ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatebccaddresschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatebccaddresschange.md deleted file mode 100644 index 0919ece85ac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatebccaddresschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateBccAddressChange -description: API reference for ValidateEmailTemplateBccAddressChange in Umbraco Commerce ---- -## ValidateEmailTemplateBccAddressChange - -```csharp -public class ValidateEmailTemplateBccAddressChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateBccAddressChange - -```csharp -public ValidateEmailTemplateBccAddressChange(EmailTemplateReadOnly emailTemplate, - ChangingValue bccAddress) -``` - - -### Properties - -#### BccAddress - -```csharp -public ChangingValue BccAddress { get; } -``` - - ---- - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatecategorychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatecategorychange.md deleted file mode 100644 index f14c6a228b6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatecategorychange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateCategoryChange -description: API reference for ValidateEmailTemplateCategoryChange in Umbraco Commerce ---- -## ValidateEmailTemplateCategoryChange - -```csharp -public class ValidateEmailTemplateCategoryChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateCategoryChange - -```csharp -public ValidateEmailTemplateCategoryChange(EmailTemplateReadOnly emailTemplate, - ChangingValue category) -``` - - -### Properties - -#### Category - -```csharp -public ChangingValue Category { get; } -``` - - ---- - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateccaddresschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateccaddresschange.md deleted file mode 100644 index 6a9d4a8245e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateccaddresschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateCcAddressChange -description: API reference for ValidateEmailTemplateCcAddressChange in Umbraco Commerce ---- -## ValidateEmailTemplateCcAddressChange - -```csharp -public class ValidateEmailTemplateCcAddressChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateCcAddressChange - -```csharp -public ValidateEmailTemplateCcAddressChange(EmailTemplateReadOnly emailTemplate, - ChangingValue ccAddress) -``` - - -### Properties - -#### CcAddress - -```csharp -public ChangingValue CcAddress { get; } -``` - - ---- - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatecreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatecreate.md deleted file mode 100644 index e07f8521767..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatecreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateEmailTemplateCreate -description: API reference for ValidateEmailTemplateCreate in Umbraco Commerce ---- -## ValidateEmailTemplateCreate - -```csharp -public class ValidateEmailTemplateCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateCreate - -```csharp -public ValidateEmailTemplateCreate(EmailTemplateReadOnly emailTemplate) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatedelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatedelete.md deleted file mode 100644 index 4a8a8754352..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatedelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateEmailTemplateDelete -description: API reference for ValidateEmailTemplateDelete in Umbraco Commerce ---- -## ValidateEmailTemplateDelete - -```csharp -public class ValidateEmailTemplateDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateDelete - -```csharp -public ValidateEmailTemplateDelete(EmailTemplateReadOnly emailTemplate) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatenamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatenamechange.md deleted file mode 100644 index bd692a9753f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatenamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateNameChange -description: API reference for ValidateEmailTemplateNameChange in Umbraco Commerce ---- -## ValidateEmailTemplateNameChange - -```csharp -public class ValidateEmailTemplateNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateNameChange - -```csharp -public ValidateEmailTemplateNameChange(EmailTemplateReadOnly emailTemplate, - ChangingValue name) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatereplytoaddresschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatereplytoaddresschange.md deleted file mode 100644 index b2014f2d9fa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatereplytoaddresschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateReplyToAddressChange -description: API reference for ValidateEmailTemplateReplyToAddressChange in Umbraco Commerce ---- -## ValidateEmailTemplateReplyToAddressChange - -```csharp -public class ValidateEmailTemplateReplyToAddressChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateReplyToAddressChange - -```csharp -public ValidateEmailTemplateReplyToAddressChange(EmailTemplateReadOnly emailTemplate, - ChangingValue emailAddress) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### ReplyToAddress - -```csharp -public ChangingValue ReplyToAddress { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesave.md deleted file mode 100644 index bdf1a8ee9b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateEmailTemplateSave -description: API reference for ValidateEmailTemplateSave in Umbraco Commerce ---- -## ValidateEmailTemplateSave - -```csharp -public class ValidateEmailTemplateSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateSave - -```csharp -public ValidateEmailTemplateSave(EmailTemplateReadOnly emailTemplate) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesenderchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesenderchange.md deleted file mode 100644 index 14a27ff2804..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesenderchange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateEmailTemplateSenderChange -description: API reference for ValidateEmailTemplateSenderChange in Umbraco Commerce ---- -## ValidateEmailTemplateSenderChange - -```csharp -public class ValidateEmailTemplateSenderChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateSenderChange - -```csharp -public ValidateEmailTemplateSenderChange(EmailTemplateReadOnly emailTemplate, - ChangingValue senderName, ChangingValue senderAddress) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### SenderAddress - -```csharp -public ChangingValue SenderAddress { get; } -``` - - ---- - -#### SenderName - -```csharp -public ChangingValue SenderName { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesendtocustomerchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesendtocustomerchange.md deleted file mode 100644 index 7cb04a5232a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesendtocustomerchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateSendToCustomerChange -description: API reference for ValidateEmailTemplateSendToCustomerChange in Umbraco Commerce ---- -## ValidateEmailTemplateSendToCustomerChange - -```csharp -public class ValidateEmailTemplateSendToCustomerChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateSendToCustomerChange - -```csharp -public ValidateEmailTemplateSendToCustomerChange(EmailTemplateReadOnly emailTemplate, - ChangingValue sendToCustomer) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### SendToCustomer - -```csharp -public ChangingValue SendToCustomer { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesubjectchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesubjectchange.md deleted file mode 100644 index a64c953fb42..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatesubjectchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateSubjectChange -description: API reference for ValidateEmailTemplateSubjectChange in Umbraco Commerce ---- -## ValidateEmailTemplateSubjectChange - -```csharp -public class ValidateEmailTemplateSubjectChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateSubjectChange - -```csharp -public ValidateEmailTemplateSubjectChange(EmailTemplateReadOnly emailTemplate, - ChangingValue subject) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### Subject - -```csharp -public ChangingValue Subject { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatetoaddresschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatetoaddresschange.md deleted file mode 100644 index a303196a1b0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplatetoaddresschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateToAddressChange -description: API reference for ValidateEmailTemplateToAddressChange in Umbraco Commerce ---- -## ValidateEmailTemplateToAddressChange - -```csharp -public class ValidateEmailTemplateToAddressChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateToAddressChange - -```csharp -public ValidateEmailTemplateToAddressChange(EmailTemplateReadOnly emailTemplate, - ChangingValue toAddress) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### ToAddress - -```csharp -public ChangingValue ToAddress { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateupdate.md deleted file mode 100644 index 72f7574c61c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateEmailTemplateUpdate -description: API reference for ValidateEmailTemplateUpdate in Umbraco Commerce ---- -## ValidateEmailTemplateUpdate - -```csharp -public class ValidateEmailTemplateUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateUpdate - -```csharp -public ValidateEmailTemplateUpdate(EmailTemplateReadOnly emailTemplate) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateviewchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateviewchange.md deleted file mode 100644 index 74f56388313..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateemailtemplateviewchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateEmailTemplateViewChange -description: API reference for ValidateEmailTemplateViewChange in Umbraco Commerce ---- -## ValidateEmailTemplateViewChange - -```csharp -public class ValidateEmailTemplateViewChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateEmailTemplateViewChange - -```csharp -public ValidateEmailTemplateViewChange(EmailTemplateReadOnly emailTemplate, - ChangingValue templateView) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; } -``` - - ---- - -#### TemplateView - -```csharp -public ChangingValue TemplateView { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatealiaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatealiaschange.md deleted file mode 100644 index f5c2d9ca407..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatealiaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateAliasChange -description: API reference for ValidateExportTemplateAliasChange in Umbraco Commerce ---- -## ValidateExportTemplateAliasChange - -```csharp -public class ValidateExportTemplateAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateAliasChange - -```csharp -public ValidateExportTemplateAliasChange(ExportTemplateReadOnly exportTemplate, - ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatecategorychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatecategorychange.md deleted file mode 100644 index 02bc60f7921..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatecategorychange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateCategoryChange -description: API reference for ValidateExportTemplateCategoryChange in Umbraco Commerce ---- -## ValidateExportTemplateCategoryChange - -```csharp -public class ValidateExportTemplateCategoryChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateCategoryChange - -```csharp -public ValidateExportTemplateCategoryChange(ExportTemplateReadOnly exportTemplate, - ChangingValue category) -``` - - -### Properties - -#### Category - -```csharp -public ChangingValue Category { get; } -``` - - ---- - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatecreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatecreate.md deleted file mode 100644 index ec33e6d0fd0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatecreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateExportTemplateCreate -description: API reference for ValidateExportTemplateCreate in Umbraco Commerce ---- -## ValidateExportTemplateCreate - -```csharp -public class ValidateExportTemplateCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateCreate - -```csharp -public ValidateExportTemplateCreate(ExportTemplateReadOnly exportTemplate) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatedelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatedelete.md deleted file mode 100644 index 7a6ff41775d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatedelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateExportTemplateDelete -description: API reference for ValidateExportTemplateDelete in Umbraco Commerce ---- -## ValidateExportTemplateDelete - -```csharp -public class ValidateExportTemplateDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateDelete - -```csharp -public ValidateExportTemplateDelete(ExportTemplateReadOnly exportTemplate) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateexportstrategychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateexportstrategychange.md deleted file mode 100644 index b4d0b3c80a4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateexportstrategychange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateExportStrategyChange -description: API reference for ValidateExportTemplateExportStrategyChange in Umbraco Commerce ---- -## ValidateExportTemplateExportStrategyChange - -```csharp -public class ValidateExportTemplateExportStrategyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateExportStrategyChange - -```csharp -public ValidateExportTemplateExportStrategyChange(ExportTemplateReadOnly exportTemplate, - ChangingValue exportStrategy) -``` - - -### Properties - -#### ExportStrategy - -```csharp -public ChangingValue ExportStrategy { get; } -``` - - ---- - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatefileextensionchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatefileextensionchange.md deleted file mode 100644 index 6ef4808aabe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatefileextensionchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateFileExtensionChange -description: API reference for ValidateExportTemplateFileExtensionChange in Umbraco Commerce ---- -## ValidateExportTemplateFileExtensionChange - -```csharp -public class ValidateExportTemplateFileExtensionChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateFileExtensionChange - -```csharp -public ValidateExportTemplateFileExtensionChange(ExportTemplateReadOnly exportTemplate, - ChangingValue fileExtension) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - ---- - -#### FileExtension - -```csharp -public ChangingValue FileExtension { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatefilemimetypechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatefilemimetypechange.md deleted file mode 100644 index 75851b40d52..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatefilemimetypechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateFileMimeTypeChange -description: API reference for ValidateExportTemplateFileMimeTypeChange in Umbraco Commerce ---- -## ValidateExportTemplateFileMimeTypeChange - -```csharp -public class ValidateExportTemplateFileMimeTypeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateFileMimeTypeChange - -```csharp -public ValidateExportTemplateFileMimeTypeChange(ExportTemplateReadOnly exportTemplate, - ChangingValue fileMimeType) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - ---- - -#### FileMimeType - -```csharp -public ChangingValue FileMimeType { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatenamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatenamechange.md deleted file mode 100644 index 9ff805b95cb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatenamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateNameChange -description: API reference for ValidateExportTemplateNameChange in Umbraco Commerce ---- -## ValidateExportTemplateNameChange - -```csharp -public class ValidateExportTemplateNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateNameChange - -```csharp -public ValidateExportTemplateNameChange(ExportTemplateReadOnly exportTemplate, - ChangingValue name) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - ---- - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatesave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatesave.md deleted file mode 100644 index faec59a5597..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplatesave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateExportTemplateSave -description: API reference for ValidateExportTemplateSave in Umbraco Commerce ---- -## ValidateExportTemplateSave - -```csharp -public class ValidateExportTemplateSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateSave - -```csharp -public ValidateExportTemplateSave(ExportTemplateReadOnly exportTemplate) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateupdate.md deleted file mode 100644 index 703d2ee5425..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateExportTemplateUpdate -description: API reference for ValidateExportTemplateUpdate in Umbraco Commerce ---- -## ValidateExportTemplateUpdate - -```csharp -public class ValidateExportTemplateUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateUpdate - -```csharp -public ValidateExportTemplateUpdate(ExportTemplateReadOnly exportTemplate) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateviewchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateviewchange.md deleted file mode 100644 index 4da7eb74893..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateexporttemplateviewchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateExportTemplateViewChange -description: API reference for ValidateExportTemplateViewChange in Umbraco Commerce ---- -## ValidateExportTemplateViewChange - -```csharp -public class ValidateExportTemplateViewChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateExportTemplateViewChange - -```csharp -public ValidateExportTemplateViewChange(ExportTemplateReadOnly exportTemplate, - ChangingValue templateView) -``` - - -### Properties - -#### ExportTemplate - -```csharp -public ExportTemplateReadOnly ExportTemplate { get; } -``` - - ---- - -#### TemplateView - -```csharp -public ChangingValue TemplateView { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatefetchorderpaymentstatus.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatefetchorderpaymentstatus.md deleted file mode 100644 index 2b289b7742b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatefetchorderpaymentstatus.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateFetchOrderPaymentStatus -description: API reference for ValidateFetchOrderPaymentStatus in Umbraco Commerce ---- -## ValidateFetchOrderPaymentStatus - -```csharp -public class ValidateFetchOrderPaymentStatus : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateFetchOrderPaymentStatus - -```csharp -public ValidateFetchOrderPaymentStatus(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardactivechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardactivechange.md deleted file mode 100644 index 1d5d4071747..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardactivechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateGiftCardActiveChange -description: API reference for ValidateGiftCardActiveChange in Umbraco Commerce ---- -## ValidateGiftCardActiveChange - -```csharp -public class ValidateGiftCardActiveChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardActiveChange - -```csharp -public ValidateGiftCardActiveChange(GiftCardReadOnly giftCard, ChangingValue isActive) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - ---- - -#### IsActive - -```csharp -public ChangingValue IsActive { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardamountschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardamountschange.md deleted file mode 100644 index 00035391ac3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardamountschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateGiftCardAmountsChange -description: API reference for ValidateGiftCardAmountsChange in Umbraco Commerce ---- -## ValidateGiftCardAmountsChange - -```csharp -public class ValidateGiftCardAmountsChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardAmountsChange - -```csharp -public ValidateGiftCardAmountsChange(GiftCardReadOnly giftCard, - ChangingValue originalAmount, ChangingValue remainingAmount) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - ---- - -#### OriginalAmount - -```csharp -public ChangingValue OriginalAmount { get; } -``` - - ---- - -#### RemainingAmount - -```csharp -public ChangingValue RemainingAmount { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcodechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcodechange.md deleted file mode 100644 index cc6d1a834f4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcodechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateGiftCardCodeChange -description: API reference for ValidateGiftCardCodeChange in Umbraco Commerce ---- -## ValidateGiftCardCodeChange - -```csharp -public class ValidateGiftCardCodeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardCodeChange - -```csharp -public ValidateGiftCardCodeChange(GiftCardReadOnly giftCard, ChangingValue code) -``` - - -### Properties - -#### Code - -```csharp -public ChangingValue Code { get; } -``` - - ---- - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcreate.md deleted file mode 100644 index 8815d7ce82f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateGiftCardCreate -description: API reference for ValidateGiftCardCreate in Umbraco Commerce ---- -## ValidateGiftCardCreate - -```csharp -public class ValidateGiftCardCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardCreate - -```csharp -public ValidateGiftCardCreate(GiftCardReadOnly giftCard) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcurrencychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcurrencychange.md deleted file mode 100644 index f210db6ca15..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardcurrencychange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateGiftCardCurrencyChange -description: API reference for ValidateGiftCardCurrencyChange in Umbraco Commerce ---- -## ValidateGiftCardCurrencyChange - -```csharp -public class ValidateGiftCardCurrencyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardCurrencyChange - -```csharp -public ValidateGiftCardCurrencyChange(GiftCardReadOnly giftCard, ChangingValue currencyId) -``` - - -### Properties - -#### CurrencyId - -```csharp -public ChangingValue CurrencyId { get; } -``` - - ---- - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcarddelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcarddelete.md deleted file mode 100644 index b9c84315a8e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcarddelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateGiftCardDelete -description: API reference for ValidateGiftCardDelete in Umbraco Commerce ---- -## ValidateGiftCardDelete - -```csharp -public class ValidateGiftCardDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardDelete - -```csharp -public ValidateGiftCardDelete(GiftCardReadOnly giftCard) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardexpirydatechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardexpirydatechange.md deleted file mode 100644 index 9588e46ce92..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardexpirydatechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateGiftCardExpiryDateChange -description: API reference for ValidateGiftCardExpiryDateChange in Umbraco Commerce ---- -## ValidateGiftCardExpiryDateChange - -```csharp -public class ValidateGiftCardExpiryDateChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardExpiryDateChange - -```csharp -public ValidateGiftCardExpiryDateChange(GiftCardReadOnly giftCard, - ChangingValue expiryDate) -``` - - -### Properties - -#### ExpiryDate - -```csharp -public ChangingValue ExpiryDate { get; } -``` - - ---- - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardorderchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardorderchange.md deleted file mode 100644 index a927e598fa2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardorderchange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateGiftCardOrderChange -description: API reference for ValidateGiftCardOrderChange in Umbraco Commerce ---- -## ValidateGiftCardOrderChange - -```csharp -public class ValidateGiftCardOrderChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardOrderChange - -```csharp -public ValidateGiftCardOrderChange(GiftCardReadOnly giftCard, ChangingValue orderId) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - ---- - -#### OrderId - -```csharp -public ChangingValue OrderId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardpropertychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardpropertychange.md deleted file mode 100644 index 654043106ca..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardpropertychange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateGiftCardPropertyChange -description: API reference for ValidateGiftCardPropertyChange in Umbraco Commerce ---- -## ValidateGiftCardPropertyChange - -```csharp -public class ValidateGiftCardPropertyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardPropertyChange - -```csharp -public ValidateGiftCardPropertyChange(GiftCardReadOnly giftCard, string alias, - ChangingValue value) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardsave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardsave.md deleted file mode 100644 index 9fc16d38dd4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardsave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateGiftCardSave -description: API reference for ValidateGiftCardSave in Umbraco Commerce ---- -## ValidateGiftCardSave - -```csharp -public class ValidateGiftCardSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardSave - -```csharp -public ValidateGiftCardSave(GiftCardReadOnly giftCard) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardupdate.md deleted file mode 100644 index 491021b569e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validategiftcardupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateGiftCardUpdate -description: API reference for ValidateGiftCardUpdate in Umbraco Commerce ---- -## ValidateGiftCardUpdate - -```csharp -public class ValidateGiftCardUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateGiftCardUpdate - -```csharp -public ValidateGiftCardUpdate(GiftCardReadOnly giftCard) -``` - - -### Properties - -#### GiftCard - -```csharp -public GiftCardReadOnly GiftCard { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderassigntocustomer.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderassigntocustomer.md deleted file mode 100644 index 494bf2e5153..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderassigntocustomer.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderAssignToCustomer -description: API reference for ValidateOrderAssignToCustomer in Umbraco Commerce ---- -## ValidateOrderAssignToCustomer - -```csharp -public class ValidateOrderAssignToCustomer : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderAssignToCustomer - -```csharp -public ValidateOrderAssignToCustomer(OrderReadOnly order, ChangingValue customerReference) -``` - - -### Properties - -#### CustomerReference - -```csharp -public ChangingValue CustomerReference { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercodeevent.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercodeevent.md deleted file mode 100644 index f9e19196dad..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercodeevent.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderCodeEvent -description: API reference for ValidateOrderCodeEvent in Umbraco Commerce ---- -## ValidateOrderCodeEvent - -```csharp -public class ValidateOrderCodeEvent : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderCodeEvent - -```csharp -public ValidateOrderCodeEvent(OrderReadOnly order, string code) -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercreate.md deleted file mode 100644 index 555358dc076..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderCreate -description: API reference for ValidateOrderCreate in Umbraco Commerce ---- -## ValidateOrderCreate - -```csharp -public class ValidateOrderCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderCreate - -```csharp -public ValidateOrderCreate(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercurrencychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercurrencychange.md deleted file mode 100644 index 07bde68dc0e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordercurrencychange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderCurrencyChange -description: API reference for ValidateOrderCurrencyChange in Umbraco Commerce ---- -## ValidateOrderCurrencyChange - -```csharp -public class ValidateOrderCurrencyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderCurrencyChange - -```csharp -public ValidateOrderCurrencyChange(OrderReadOnly order, ChangingValue currencyId) -``` - - -### Properties - -#### CurrencyId - -```csharp -public ChangingValue CurrencyId { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdelete.md deleted file mode 100644 index 526bbd4a96a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderDelete -description: API reference for ValidateOrderDelete in Umbraco Commerce ---- -## ValidateOrderDelete - -```csharp -public class ValidateOrderDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderDelete - -```csharp -public ValidateOrderDelete(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdiscountcoderedeem.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdiscountcoderedeem.md deleted file mode 100644 index 59464bab48f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdiscountcoderedeem.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: ValidateOrderDiscountCodeRedeem -description: API reference for ValidateOrderDiscountCodeRedeem in Umbraco Commerce ---- -## ValidateOrderDiscountCodeRedeem - -```csharp -public class ValidateOrderDiscountCodeRedeem : ValidateOrderCodeEvent -``` - -**Inheritance** - -* Class [ValidateOrderCodeEvent](validateordercodeevent.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderDiscountCodeRedeem - -```csharp -public ValidateOrderDiscountCodeRedeem(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdiscountcodeunredeem.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdiscountcodeunredeem.md deleted file mode 100644 index c2c1f2b188c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderdiscountcodeunredeem.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: ValidateOrderDiscountCodeUnredeem -description: API reference for ValidateOrderDiscountCodeUnredeem in Umbraco Commerce ---- -## ValidateOrderDiscountCodeUnredeem - -```csharp -public class ValidateOrderDiscountCodeUnredeem : ValidateOrderCodeEvent -``` - -**Inheritance** - -* Class [ValidateOrderCodeEvent](validateordercodeevent.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderDiscountCodeUnredeem - -```csharp -public ValidateOrderDiscountCodeUnredeem(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderfinalize.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderfinalize.md deleted file mode 100644 index 8fe24bbebd8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderfinalize.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: ValidateOrderFinalize -description: API reference for ValidateOrderFinalize in Umbraco Commerce ---- -## ValidateOrderFinalize - -```csharp -public class ValidateOrderFinalize : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderFinalize - -```csharp -public ValidateOrderFinalize(OrderReadOnly order, decimal amountAuthorized, decimal transactionFee, - string transactionId, PaymentStatus paymentStatus) -``` - - -### Properties - -#### AmountAuthorized - -```csharp -public decimal AmountAuthorized { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### PaymentStatus - -```csharp -public PaymentStatus PaymentStatus { get; } -``` - - ---- - -#### TransactionFee - -```csharp -public decimal TransactionFee { get; } -``` - - ---- - -#### TransactionId - -```csharp -public string TransactionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordergiftcardredeem.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordergiftcardredeem.md deleted file mode 100644 index 2bcb9d14981..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordergiftcardredeem.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: ValidateOrderGiftCardRedeem -description: API reference for ValidateOrderGiftCardRedeem in Umbraco Commerce ---- -## ValidateOrderGiftCardRedeem - -```csharp -public class ValidateOrderGiftCardRedeem : ValidateOrderCodeEvent -``` - -**Inheritance** - -* Class [ValidateOrderCodeEvent](validateordercodeevent.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderGiftCardRedeem - -```csharp -public ValidateOrderGiftCardRedeem(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordergiftcardunredeem.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordergiftcardunredeem.md deleted file mode 100644 index 3cd05ba6743..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordergiftcardunredeem.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: ValidateOrderGiftCardUnredeem -description: API reference for ValidateOrderGiftCardUnredeem in Umbraco Commerce ---- -## ValidateOrderGiftCardUnredeem - -```csharp -public class ValidateOrderGiftCardUnredeem : ValidateOrderCodeEvent -``` - -**Inheritance** - -* Class [ValidateOrderCodeEvent](validateordercodeevent.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderGiftCardUnredeem - -```csharp -public ValidateOrderGiftCardUnredeem(OrderReadOnly order, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlanguagechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlanguagechange.md deleted file mode 100644 index e953cdf1004..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlanguagechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderLanguageChange -description: API reference for ValidateOrderLanguageChange in Umbraco Commerce ---- -## ValidateOrderLanguageChange - -```csharp -public class ValidateOrderLanguageChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderLanguageChange - -```csharp -public ValidateOrderLanguageChange(OrderReadOnly order, ChangingValue languageIsoCode) -``` - - -### Properties - -#### LanguageIsoCode - -```csharp -public ChangingValue LanguageIsoCode { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinepropertychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinepropertychange.md deleted file mode 100644 index a823e296ff6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinepropertychange.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ValidateOrderLinePropertyChange -description: API reference for ValidateOrderLinePropertyChange in Umbraco Commerce ---- -## ValidateOrderLinePropertyChange - -```csharp -public class ValidateOrderLinePropertyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderLinePropertyChange - -```csharp -public ValidateOrderLinePropertyChange(OrderReadOnly order, OrderLineReadOnly orderLine, - string alias, ChangingValue value) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinequantitychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinequantitychange.md deleted file mode 100644 index ed17ad3ca45..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinequantitychange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateOrderLineQuantityChange -description: API reference for ValidateOrderLineQuantityChange in Umbraco Commerce ---- -## ValidateOrderLineQuantityChange - -```csharp -public class ValidateOrderLineQuantityChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderLineQuantityChange - -```csharp -public ValidateOrderLineQuantityChange(OrderReadOnly order, OrderLineReadOnly orderLine, - ChangingValue qty) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - ---- - -#### Quantity - -```csharp -public ChangingValue Quantity { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlineremove.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlineremove.md deleted file mode 100644 index 24877bc8a52..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlineremove.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderLineRemove -description: API reference for ValidateOrderLineRemove in Umbraco Commerce ---- -## ValidateOrderLineRemove - -```csharp -public class ValidateOrderLineRemove : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderLineRemove - -```csharp -public ValidateOrderLineRemove(OrderReadOnly order, OrderLineReadOnly orderLine) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinetaxclasschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinetaxclasschange.md deleted file mode 100644 index a4e4628a393..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderlinetaxclasschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateOrderLineTaxClassChange -description: API reference for ValidateOrderLineTaxClassChange in Umbraco Commerce ---- -## ValidateOrderLineTaxClassChange - -```csharp -public class ValidateOrderLineTaxClassChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderLineTaxClassChange - -```csharp -public ValidateOrderLineTaxClassChange(OrderReadOnly order, OrderLineReadOnly orderLine, - ChangingValue taxClassId) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpaymentcountryregionchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpaymentcountryregionchange.md deleted file mode 100644 index 3e2e5ea6b0c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpaymentcountryregionchange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateOrderPaymentCountryRegionChange -description: API reference for ValidateOrderPaymentCountryRegionChange in Umbraco Commerce ---- -## ValidateOrderPaymentCountryRegionChange - -```csharp -public class ValidateOrderPaymentCountryRegionChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderPaymentCountryRegionChange - -```csharp -public ValidateOrderPaymentCountryRegionChange(OrderReadOnly order, ChangingValue countryId, - ChangingValue regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public ChangingValue CountryId { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### RegionId - -```csharp -public ChangingValue RegionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpaymentmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpaymentmethodchange.md deleted file mode 100644 index 25c42076e44..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpaymentmethodchange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderPaymentMethodChange -description: API reference for ValidateOrderPaymentMethodChange in Umbraco Commerce ---- -## ValidateOrderPaymentMethodChange - -```csharp -public class ValidateOrderPaymentMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderPaymentMethodChange - -```csharp -public ValidateOrderPaymentMethodChange(OrderReadOnly order, ChangingValue paymentMethodId) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### PaymentMethodId - -```csharp -public ChangingValue PaymentMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderproductadd.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderproductadd.md deleted file mode 100644 index bfb6fa3009b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderproductadd.md +++ /dev/null @@ -1,110 +0,0 @@ ---- -title: ValidateOrderProductAdd -description: API reference for ValidateOrderProductAdd in Umbraco Commerce ---- -## ValidateOrderProductAdd - -```csharp -public class ValidateOrderProductAdd : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderProductAdd (1 of 2) - -```csharp -public ValidateOrderProductAdd(OrderReadOnly order, string productReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId) -``` - ---- - -#### ValidateOrderProductAdd (2 of 2) - -```csharp -public ValidateOrderProductAdd(OrderReadOnly order, IProductSnapshot productSnapshot, - string productReference, string productVariantReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId) -``` - - -### Properties - -#### BundleId - -```csharp -public string BundleId { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### ParentBundleId - -```csharp -public string ParentBundleId { get; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductSnapshot - -```csharp -public IProductSnapshot ProductSnapshot { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### Properties - -```csharp -public IDictionary Properties { get; } -``` - - ---- - -#### Quantity - -```csharp -public decimal Quantity { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpropertychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpropertychange.md deleted file mode 100644 index 473d73fbe81..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderpropertychange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateOrderPropertyChange -description: API reference for ValidateOrderPropertyChange in Umbraco Commerce ---- -## ValidateOrderPropertyChange - -```csharp -public class ValidateOrderPropertyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderPropertyChange - -```csharp -public ValidateOrderPropertyChange(OrderReadOnly order, string alias, - ChangingValue value) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordersave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordersave.md deleted file mode 100644 index 847597da747..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordersave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderSave -description: API reference for ValidateOrderSave in Umbraco Commerce ---- -## ValidateOrderSave - -```csharp -public class ValidateOrderSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderSave - -```csharp -public ValidateOrderSave(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordershippingcountryregionchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordershippingcountryregionchange.md deleted file mode 100644 index e55b5fc4ed6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordershippingcountryregionchange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateOrderShippingCountryRegionChange -description: API reference for ValidateOrderShippingCountryRegionChange in Umbraco Commerce ---- -## ValidateOrderShippingCountryRegionChange - -```csharp -public class ValidateOrderShippingCountryRegionChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderShippingCountryRegionChange - -```csharp -public ValidateOrderShippingCountryRegionChange(OrderReadOnly order, - ChangingValue countryId, ChangingValue regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public ChangingValue CountryId { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### RegionId - -```csharp -public ChangingValue RegionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordershippingmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordershippingmethodchange.md deleted file mode 100644 index 5e8923eca04..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordershippingmethodchange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderShippingMethodChange -description: API reference for ValidateOrderShippingMethodChange in Umbraco Commerce ---- -## ValidateOrderShippingMethodChange - -```csharp -public class ValidateOrderShippingMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderShippingMethodChange - -```csharp -public ValidateOrderShippingMethodChange(OrderReadOnly order, ChangingValue shippingMethodId) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### ShippingMethodId - -```csharp -public ChangingValue ShippingMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusaliaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusaliaschange.md deleted file mode 100644 index 88bbcf812f5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusaliaschange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderStatusAliasChange -description: API reference for ValidateOrderStatusAliasChange in Umbraco Commerce ---- -## ValidateOrderStatusAliasChange - -```csharp -public class ValidateOrderStatusAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusAliasChange - -```csharp -public ValidateOrderStatusAliasChange(OrderStatusReadOnly orderStatus, ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuschange.md deleted file mode 100644 index b62cc9d105f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateOrderStatusChange -description: API reference for ValidateOrderStatusChange in Umbraco Commerce ---- -## ValidateOrderStatusChange - -```csharp -public class ValidateOrderStatusChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusChange - -```csharp -public ValidateOrderStatusChange(OrderReadOnly order, ChangingValue orderStatusId, - ChangingValue orderStatusCode) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### OrderStatusCode - -```csharp -public ChangingValue OrderStatusCode { get; } -``` - - ---- - -#### OrderStatusId - -```csharp -public ChangingValue OrderStatusId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuscolorchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuscolorchange.md deleted file mode 100644 index 67738848d5b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuscolorchange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderStatusColorChange -description: API reference for ValidateOrderStatusColorChange in Umbraco Commerce ---- -## ValidateOrderStatusColorChange - -```csharp -public class ValidateOrderStatusColorChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusColorChange - -```csharp -public ValidateOrderStatusColorChange(OrderStatusReadOnly orderStatus, ChangingValue color) -``` - - -### Properties - -#### Color - -```csharp -public ChangingValue Color { get; } -``` - - ---- - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuscreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuscreate.md deleted file mode 100644 index f67699703be..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatuscreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderStatusCreate -description: API reference for ValidateOrderStatusCreate in Umbraco Commerce ---- -## ValidateOrderStatusCreate - -```csharp -public class ValidateOrderStatusCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusCreate - -```csharp -public ValidateOrderStatusCreate(OrderStatusReadOnly orderStatus) -``` - - -### Properties - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusdelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusdelete.md deleted file mode 100644 index a25de2fcea1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusdelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderStatusDelete -description: API reference for ValidateOrderStatusDelete in Umbraco Commerce ---- -## ValidateOrderStatusDelete - -```csharp -public class ValidateOrderStatusDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusDelete - -```csharp -public ValidateOrderStatusDelete(OrderStatusReadOnly orderStatus) -``` - - -### Properties - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusnamechange.md deleted file mode 100644 index 4eb41514433..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusnamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderStatusNameChange -description: API reference for ValidateOrderStatusNameChange in Umbraco Commerce ---- -## ValidateOrderStatusNameChange - -```csharp -public class ValidateOrderStatusNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusNameChange - -```csharp -public ValidateOrderStatusNameChange(OrderStatusReadOnly orderStatus, ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatussave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatussave.md deleted file mode 100644 index 9304ee9d681..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatussave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderStatusSave -description: API reference for ValidateOrderStatusSave in Umbraco Commerce ---- -## ValidateOrderStatusSave - -```csharp -public class ValidateOrderStatusSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusSave - -```csharp -public ValidateOrderStatusSave(OrderStatusReadOnly orderStatus) -``` - - -### Properties - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusupdate.md deleted file mode 100644 index 8160b984fa2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderstatusupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderStatusUpdate -description: API reference for ValidateOrderStatusUpdate in Umbraco Commerce ---- -## ValidateOrderStatusUpdate - -```csharp -public class ValidateOrderStatusUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderStatusUpdate - -```csharp -public ValidateOrderStatusUpdate(OrderStatusReadOnly orderStatus) -``` - - -### Properties - -#### OrderStatus - -```csharp -public OrderStatusReadOnly OrderStatus { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertagadd.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertagadd.md deleted file mode 100644 index a44743363dd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertagadd.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderTagAdd -description: API reference for ValidateOrderTagAdd in Umbraco Commerce ---- -## ValidateOrderTagAdd - -```csharp -public class ValidateOrderTagAdd : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderTagAdd - -```csharp -public ValidateOrderTagAdd(OrderReadOnly order, string tag) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### Tag - -```csharp -public string Tag { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertagremove.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertagremove.md deleted file mode 100644 index 388dda5c67f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertagremove.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderTagRemove -description: API reference for ValidateOrderTagRemove in Umbraco Commerce ---- -## ValidateOrderTagRemove - -```csharp -public class ValidateOrderTagRemove : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderTagRemove - -```csharp -public ValidateOrderTagRemove(OrderReadOnly order, string tag) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### Tag - -```csharp -public string Tag { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertaxclasschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertaxclasschange.md deleted file mode 100644 index 9ac8856e3da..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertaxclasschange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateOrderTaxClassChange -description: API reference for ValidateOrderTaxClassChange in Umbraco Commerce ---- -## ValidateOrderTaxClassChange - -```csharp -public class ValidateOrderTaxClassChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderTaxClassChange - -```csharp -public ValidateOrderTaxClassChange(OrderReadOnly order, ChangingValue taxClassId) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertransactionupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertransactionupdate.md deleted file mode 100644 index 2926c5da0f2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateordertransactionupdate.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: ValidateOrderTransactionUpdate -description: API reference for ValidateOrderTransactionUpdate in Umbraco Commerce ---- -## ValidateOrderTransactionUpdate - -```csharp -public class ValidateOrderTransactionUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderTransactionUpdate - -```csharp -public ValidateOrderTransactionUpdate(OrderReadOnly order, ChangingValue amountAuthorized, - ChangingValue transactionFee, ChangingValue transactionId, - ChangingValue paymentStatus) -``` - - -### Properties - -#### AmountAuthorized - -```csharp -public ChangingValue AmountAuthorized { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### PaymentStatus - -```csharp -public ChangingValue PaymentStatus { get; } -``` - - ---- - -#### TransactionFee - -```csharp -public ChangingValue TransactionFee { get; } -``` - - ---- - -#### TransactionId - -```csharp -public ChangingValue TransactionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderupdate.md deleted file mode 100644 index f3b85b80d2c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateorderupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateOrderUpdate -description: API reference for ValidateOrderUpdate in Umbraco Commerce ---- -## ValidateOrderUpdate - -```csharp -public class ValidateOrderUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateOrderUpdate - -```csharp -public ValidateOrderUpdate(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodaliaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodaliaschange.md deleted file mode 100644 index 2f837d6f575..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodaliaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePaymentMethodAliasChange -description: API reference for ValidatePaymentMethodAliasChange in Umbraco Commerce ---- -## ValidatePaymentMethodAliasChange - -```csharp -public class ValidatePaymentMethodAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodAliasChange - -```csharp -public ValidatePaymentMethodAliasChange(PaymentMethodReadOnly paymentMethod, - ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodallowincountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodallowincountryregion.md deleted file mode 100644 index e72cc109df2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodallowincountryregion.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidatePaymentMethodAllowInCountryRegion -description: API reference for ValidatePaymentMethodAllowInCountryRegion in Umbraco Commerce ---- -## ValidatePaymentMethodAllowInCountryRegion - -```csharp -public class ValidatePaymentMethodAllowInCountryRegion : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodAllowInCountryRegion - -```csharp -public ValidatePaymentMethodAllowInCountryRegion(PaymentMethodReadOnly paymentMethod, - Guid countryId, Guid? regionId) -``` - - -### Fields - -#### CountryId - -```csharp -public Guid CountryId; -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId; -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodclearprices.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodclearprices.md deleted file mode 100644 index e44af4e143c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodclearprices.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ValidatePaymentMethodClearPrices -description: API reference for ValidatePaymentMethodClearPrices in Umbraco Commerce ---- -## ValidatePaymentMethodClearPrices - -```csharp -public class ValidatePaymentMethodClearPrices : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodClearPrices - -```csharp -public ValidatePaymentMethodClearPrices(PaymentMethodReadOnly paymentMethod, Guid? currencyId, - Guid? countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid? CurrencyId { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodcreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodcreate.md deleted file mode 100644 index d49c4ab183f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodcreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePaymentMethodCreate -description: API reference for ValidatePaymentMethodCreate in Umbraco Commerce ---- -## ValidatePaymentMethodCreate - -```csharp -public class ValidatePaymentMethodCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodCreate - -```csharp -public ValidatePaymentMethodCreate(PaymentMethodReadOnly paymentMethod) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethoddelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethoddelete.md deleted file mode 100644 index a068426adfd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethoddelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePaymentMethodDelete -description: API reference for ValidatePaymentMethodDelete in Umbraco Commerce ---- -## ValidatePaymentMethodDelete - -```csharp -public class ValidatePaymentMethodDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodDelete - -```csharp -public ValidatePaymentMethodDelete(PaymentMethodReadOnly paymentMethod) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethoddisallowincountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethoddisallowincountryregion.md deleted file mode 100644 index 8127db2ecea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethoddisallowincountryregion.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidatePaymentMethodDisallowInCountryRegion -description: API reference for ValidatePaymentMethodDisallowInCountryRegion in Umbraco Commerce ---- -## ValidatePaymentMethodDisallowInCountryRegion - -```csharp -public class ValidatePaymentMethodDisallowInCountryRegion : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodDisallowInCountryRegion - -```csharp -public ValidatePaymentMethodDisallowInCountryRegion(PaymentMethodReadOnly paymentMethod, - Guid countryId, Guid? regionId) -``` - - -### Fields - -#### CountryId - -```csharp -public Guid CountryId; -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId; -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodimagechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodimagechange.md deleted file mode 100644 index c7e2ae9f1ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodimagechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePaymentMethodImageChange -description: API reference for ValidatePaymentMethodImageChange in Umbraco Commerce ---- -## ValidatePaymentMethodImageChange - -```csharp -public class ValidatePaymentMethodImageChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodImageChange - -```csharp -public ValidatePaymentMethodImageChange(PaymentMethodReadOnly paymentMethod, - ChangingValue imageId) -``` - - -### Properties - -#### ImageId - -```csharp -public ChangingValue ImageId { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodnamechange.md deleted file mode 100644 index 44661c435dd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodnamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePaymentMethodNameChange -description: API reference for ValidatePaymentMethodNameChange in Umbraco Commerce ---- -## ValidatePaymentMethodNameChange - -```csharp -public class ValidatePaymentMethodNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodNameChange - -```csharp -public ValidatePaymentMethodNameChange(PaymentMethodReadOnly paymentMethod, - ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodpricechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodpricechange.md deleted file mode 100644 index f339cbd3b11..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodpricechange.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: ValidatePaymentMethodPriceChange -description: API reference for ValidatePaymentMethodPriceChange in Umbraco Commerce ---- -## ValidatePaymentMethodPriceChange - -```csharp -public class ValidatePaymentMethodPriceChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodPriceChange - -```csharp -public ValidatePaymentMethodPriceChange(PaymentMethodReadOnly paymentMethod, Guid currencyId, - ChangingValue price, Guid? countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### Price - -```csharp -public ChangingValue Price { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodsave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodsave.md deleted file mode 100644 index 7ee6a5b9b76..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodsave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePaymentMethodSave -description: API reference for ValidatePaymentMethodSave in Umbraco Commerce ---- -## ValidatePaymentMethodSave - -```csharp -public class ValidatePaymentMethodSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodSave - -```csharp -public ValidatePaymentMethodSave(PaymentMethodReadOnly paymentMethod) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodsettingchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodsettingchange.md deleted file mode 100644 index 048c9a0c3a1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodsettingchange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidatePaymentMethodSettingChange -description: API reference for ValidatePaymentMethodSettingChange in Umbraco Commerce ---- -## ValidatePaymentMethodSettingChange - -```csharp -public class ValidatePaymentMethodSettingChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodSettingChange - -```csharp -public ValidatePaymentMethodSettingChange(PaymentMethodReadOnly paymentMethod, string alias, - ChangingValue value) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodskuchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodskuchange.md deleted file mode 100644 index b8fcbc0bdca..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodskuchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePaymentMethodSkuChange -description: API reference for ValidatePaymentMethodSkuChange in Umbraco Commerce ---- -## ValidatePaymentMethodSkuChange - -```csharp -public class ValidatePaymentMethodSkuChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodSkuChange - -```csharp -public ValidatePaymentMethodSkuChange(PaymentMethodReadOnly paymentMethod, - ChangingValue sku) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### Sku - -```csharp -public ChangingValue Sku { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodtaxclasschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodtaxclasschange.md deleted file mode 100644 index 635949d9da6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodtaxclasschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePaymentMethodTaxClassChange -description: API reference for ValidatePaymentMethodTaxClassChange in Umbraco Commerce ---- -## ValidatePaymentMethodTaxClassChange - -```csharp -public class ValidatePaymentMethodTaxClassChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodTaxClassChange - -```csharp -public ValidatePaymentMethodTaxClassChange(PaymentMethodReadOnly paymentMethod, - ChangingValue taxClassId) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodtogglefeatures.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodtogglefeatures.md deleted file mode 100644 index 2fe9ee4f5ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodtogglefeatures.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: ValidatePaymentMethodToggleFeatures -description: API reference for ValidatePaymentMethodToggleFeatures in Umbraco Commerce ---- -## ValidatePaymentMethodToggleFeatures - -```csharp -public class ValidatePaymentMethodToggleFeatures : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodToggleFeatures - -```csharp -public ValidatePaymentMethodToggleFeatures(PaymentMethodReadOnly paymentMethod, - ChangingValue fetchPaymentStatuses, ChangingValue capturePayments, - ChangingValue cancelPayments, ChangingValue refundPayments) -``` - - -### Properties - -#### CancelPayments - -```csharp -public ChangingValue CancelPayments { get; } -``` - - ---- - -#### CapturePayments - -```csharp -public ChangingValue CapturePayments { get; } -``` - - ---- - -#### FetchPaymentStatuses - -```csharp -public ChangingValue FetchPaymentStatuses { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### RefundPayments - -```csharp -public ChangingValue RefundPayments { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodupdate.md deleted file mode 100644 index f3f900052ac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatepaymentmethodupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePaymentMethodUpdate -description: API reference for ValidatePaymentMethodUpdate in Umbraco Commerce ---- -## ValidatePaymentMethodUpdate - -```csharp -public class ValidatePaymentMethodUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePaymentMethodUpdate - -```csharp -public ValidatePaymentMethodUpdate(PaymentMethodReadOnly paymentMethod) -``` - - -### Properties - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatealiaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatealiaschange.md deleted file mode 100644 index d541c0fea28..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatealiaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePrintTemplateAliasChange -description: API reference for ValidatePrintTemplateAliasChange in Umbraco Commerce ---- -## ValidatePrintTemplateAliasChange - -```csharp -public class ValidatePrintTemplateAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateAliasChange - -```csharp -public ValidatePrintTemplateAliasChange(PrintTemplateReadOnly printTemplate, - ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatecategorychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatecategorychange.md deleted file mode 100644 index 49813ad8f1b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatecategorychange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePrintTemplateCategoryChange -description: API reference for ValidatePrintTemplateCategoryChange in Umbraco Commerce ---- -## ValidatePrintTemplateCategoryChange - -```csharp -public class ValidatePrintTemplateCategoryChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateCategoryChange - -```csharp -public ValidatePrintTemplateCategoryChange(PrintTemplateReadOnly printTemplate, - ChangingValue category) -``` - - -### Properties - -#### Category - -```csharp -public ChangingValue Category { get; } -``` - - ---- - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatecreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatecreate.md deleted file mode 100644 index 56433904b99..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatecreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePrintTemplateCreate -description: API reference for ValidatePrintTemplateCreate in Umbraco Commerce ---- -## ValidatePrintTemplateCreate - -```csharp -public class ValidatePrintTemplateCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateCreate - -```csharp -public ValidatePrintTemplateCreate(PrintTemplateReadOnly printTemplate) -``` - - -### Properties - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatedelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatedelete.md deleted file mode 100644 index 606e61f1ab7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatedelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePrintTemplateDelete -description: API reference for ValidatePrintTemplateDelete in Umbraco Commerce ---- -## ValidatePrintTemplateDelete - -```csharp -public class ValidatePrintTemplateDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateDelete - -```csharp -public ValidatePrintTemplateDelete(PrintTemplateReadOnly printTemplate) -``` - - -### Properties - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatenamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatenamechange.md deleted file mode 100644 index c4dc5985e6e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatenamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePrintTemplateNameChange -description: API reference for ValidatePrintTemplateNameChange in Umbraco Commerce ---- -## ValidatePrintTemplateNameChange - -```csharp -public class ValidatePrintTemplateNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateNameChange - -```csharp -public ValidatePrintTemplateNameChange(PrintTemplateReadOnly printTemplate, - ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatesave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatesave.md deleted file mode 100644 index fdca699e3f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplatesave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePrintTemplateSave -description: API reference for ValidatePrintTemplateSave in Umbraco Commerce ---- -## ValidatePrintTemplateSave - -```csharp -public class ValidatePrintTemplateSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateSave - -```csharp -public ValidatePrintTemplateSave(PrintTemplateReadOnly printTemplate) -``` - - -### Properties - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplateupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplateupdate.md deleted file mode 100644 index de0ed11f1ad..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplateupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidatePrintTemplateUpdate -description: API reference for ValidatePrintTemplateUpdate in Umbraco Commerce ---- -## ValidatePrintTemplateUpdate - -```csharp -public class ValidatePrintTemplateUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateUpdate - -```csharp -public ValidatePrintTemplateUpdate(PrintTemplateReadOnly printTemplate) -``` - - -### Properties - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplateviewchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplateviewchange.md deleted file mode 100644 index ef21a3f990e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateprinttemplateviewchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidatePrintTemplateViewChange -description: API reference for ValidatePrintTemplateViewChange in Umbraco Commerce ---- -## ValidatePrintTemplateViewChange - -```csharp -public class ValidatePrintTemplateViewChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidatePrintTemplateViewChange - -```csharp -public ValidatePrintTemplateViewChange(PrintTemplateReadOnly printTemplate, - ChangingValue templateView) -``` - - -### Properties - -#### PrintTemplate - -```csharp -public PrintTemplateReadOnly PrintTemplate { get; } -``` - - ---- - -#### TemplateView - -```csharp -public ChangingValue TemplateView { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributealiaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributealiaschange.md deleted file mode 100644 index e0f9fd7da3e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributealiaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributeAliasChange -description: API reference for ValidateProductAttributeAliasChange in Umbraco Commerce ---- -## ValidateProductAttributeAliasChange - -```csharp -public class ValidateProductAttributeAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeAliasChange - -```csharp -public ValidateProductAttributeAliasChange(ProductAttributeReadOnly productAttribute, - ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributecreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributecreate.md deleted file mode 100644 index 41f92709974..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributecreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributeCreate -description: API reference for ValidateProductAttributeCreate in Umbraco Commerce ---- -## ValidateProductAttributeCreate - -```csharp -public class ValidateProductAttributeCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeCreate - -```csharp -public ValidateProductAttributeCreate(ProductAttributeReadOnly productAttribute) -``` - - -### Properties - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributedelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributedelete.md deleted file mode 100644 index 4b4ab360acc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributedelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributeDelete -description: API reference for ValidateProductAttributeDelete in Umbraco Commerce ---- -## ValidateProductAttributeDelete - -```csharp -public class ValidateProductAttributeDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeDelete - -```csharp -public ValidateProductAttributeDelete(ProductAttributeReadOnly productAttribute) -``` - - -### Properties - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributenamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributenamechange.md deleted file mode 100644 index c8d62a3ca55..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributenamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributeNameChange -description: API reference for ValidateProductAttributeNameChange in Umbraco Commerce ---- -## ValidateProductAttributeNameChange - -```csharp -public class ValidateProductAttributeNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeNameChange - -```csharp -public ValidateProductAttributeNameChange(ProductAttributeReadOnly productAttribute, - ChangingValue> name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue> Name { get; } -``` - - ---- - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetaliaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetaliaschange.md deleted file mode 100644 index c22dfe499c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetaliaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributePresetAliasChange -description: API reference for ValidateProductAttributePresetAliasChange in Umbraco Commerce ---- -## ValidateProductAttributePresetAliasChange - -```csharp -public class ValidateProductAttributePresetAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetAliasChange - -```csharp -public ValidateProductAttributePresetAliasChange( - ProductAttributePresetReadOnly productAttributePreset, ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetallowattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetallowattribute.md deleted file mode 100644 index f5e9b81a563..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetallowattribute.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributePresetAllowAttribute -description: API reference for ValidateProductAttributePresetAllowAttribute in Umbraco Commerce ---- -## ValidateProductAttributePresetAllowAttribute - -```csharp -public class ValidateProductAttributePresetAllowAttribute : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetAllowAttribute - -```csharp -public ValidateProductAttributePresetAllowAttribute( - ProductAttributePresetReadOnly productAttributePreset, AllowedProductAttribute allowedAttribute) -``` - - -### Properties - -#### AllowedAttribute - -```csharp -public AllowedProductAttribute AllowedAttribute { get; } -``` - - ---- - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetcreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetcreate.md deleted file mode 100644 index d544b46772a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetcreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributePresetCreate -description: API reference for ValidateProductAttributePresetCreate in Umbraco Commerce ---- -## ValidateProductAttributePresetCreate - -```csharp -public class ValidateProductAttributePresetCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetCreate - -```csharp -public ValidateProductAttributePresetCreate(ProductAttributePresetReadOnly productAttributePreset) -``` - - -### Properties - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdelete.md deleted file mode 100644 index cf03d6ac84d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributePresetDelete -description: API reference for ValidateProductAttributePresetDelete in Umbraco Commerce ---- -## ValidateProductAttributePresetDelete - -```csharp -public class ValidateProductAttributePresetDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetDelete - -```csharp -public ValidateProductAttributePresetDelete(ProductAttributePresetReadOnly productAttributePreset) -``` - - -### Properties - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdescriptionchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdescriptionchange.md deleted file mode 100644 index 4c6e00c14ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdescriptionchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributePresetDescriptionChange -description: API reference for ValidateProductAttributePresetDescriptionChange in Umbraco Commerce ---- -## ValidateProductAttributePresetDescriptionChange - -```csharp -public class ValidateProductAttributePresetDescriptionChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetDescriptionChange - -```csharp -public ValidateProductAttributePresetDescriptionChange( - ProductAttributePresetReadOnly productAttributePreset, ChangingValue description) -``` - - -### Properties - -#### Description - -```csharp -public ChangingValue Description { get; } -``` - - ---- - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdisallowattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdisallowattribute.md deleted file mode 100644 index 87f7a48350a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetdisallowattribute.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: ValidateProductAttributePresetDisallowAttribute -description: API reference for ValidateProductAttributePresetDisallowAttribute in Umbraco Commerce ---- -## ValidateProductAttributePresetDisallowAttribute - -```csharp -public class ValidateProductAttributePresetDisallowAttribute : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetDisallowAttribute - -```csharp -public ValidateProductAttributePresetDisallowAttribute( - ProductAttributePresetReadOnly productAttributePreset, - AllowedProductAttribute disallowedAttribute) -``` - - -### Properties - -#### DisallowedAttribute - -```csharp -public AllowedProductAttribute DisallowedAttribute { get; } -``` - - ---- - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepreseticonchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepreseticonchange.md deleted file mode 100644 index 86f25eff0e6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepreseticonchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributePresetIconChange -description: API reference for ValidateProductAttributePresetIconChange in Umbraco Commerce ---- -## ValidateProductAttributePresetIconChange - -```csharp -public class ValidateProductAttributePresetIconChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetIconChange - -```csharp -public ValidateProductAttributePresetIconChange( - ProductAttributePresetReadOnly productAttributePreset, ChangingValue icon) -``` - - -### Properties - -#### Icon - -```csharp -public ChangingValue Icon { get; } -``` - - ---- - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetnamechange.md deleted file mode 100644 index 5e2521d86a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetnamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateProductAttributePresetNameChange -description: API reference for ValidateProductAttributePresetNameChange in Umbraco Commerce ---- -## ValidateProductAttributePresetNameChange - -```csharp -public class ValidateProductAttributePresetNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetNameChange - -```csharp -public ValidateProductAttributePresetNameChange( - ProductAttributePresetReadOnly productAttributePreset, ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetsave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetsave.md deleted file mode 100644 index e595c9f2cdf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetsave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributePresetSave -description: API reference for ValidateProductAttributePresetSave in Umbraco Commerce ---- -## ValidateProductAttributePresetSave - -```csharp -public class ValidateProductAttributePresetSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetSave - -```csharp -public ValidateProductAttributePresetSave(ProductAttributePresetReadOnly productAttributePreset) -``` - - -### Properties - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetupdate.md deleted file mode 100644 index a357112a5e0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributepresetupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributePresetUpdate -description: API reference for ValidateProductAttributePresetUpdate in Umbraco Commerce ---- -## ValidateProductAttributePresetUpdate - -```csharp -public class ValidateProductAttributePresetUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributePresetUpdate - -```csharp -public ValidateProductAttributePresetUpdate(ProductAttributePresetReadOnly productAttributePreset) -``` - - -### Properties - -#### ProductAttributePreset - -```csharp -public ProductAttributePresetReadOnly ProductAttributePreset { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributesave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributesave.md deleted file mode 100644 index ae737385ab8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributesave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributeSave -description: API reference for ValidateProductAttributeSave in Umbraco Commerce ---- -## ValidateProductAttributeSave - -```csharp -public class ValidateProductAttributeSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeSave - -```csharp -public ValidateProductAttributeSave(ProductAttributeReadOnly productAttribute) -``` - - -### Properties - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributeupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributeupdate.md deleted file mode 100644 index 17f06d6840b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributeupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateProductAttributeUpdate -description: API reference for ValidateProductAttributeUpdate in Umbraco Commerce ---- -## ValidateProductAttributeUpdate - -```csharp -public class ValidateProductAttributeUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeUpdate - -```csharp -public ValidateProductAttributeUpdate(ProductAttributeReadOnly productAttribute) -``` - - -### Properties - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevalueadd.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevalueadd.md deleted file mode 100644 index b35537c967d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevalueadd.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateProductAttributeValueAdd -description: API reference for ValidateProductAttributeValueAdd in Umbraco Commerce ---- -## ValidateProductAttributeValueAdd - -```csharp -public class ValidateProductAttributeValueAdd : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeValueAdd - -```csharp -public ValidateProductAttributeValueAdd(ProductAttributeReadOnly productAttribute, - ProductAttributeValueReadOnly value, int index) -``` - - -### Properties - -#### Index - -```csharp -public int Index { get; } -``` - - ---- - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - ---- - -#### Value - -```csharp -public ProductAttributeValueReadOnly Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevaluenamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevaluenamechange.md deleted file mode 100644 index 805c5c5a44d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevaluenamechange.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: ValidateProductAttributeValueNameChange -description: API reference for ValidateProductAttributeValueNameChange in Umbraco Commerce ---- -## ValidateProductAttributeValueNameChange - -```csharp -public class ValidateProductAttributeValueNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeValueNameChange - -```csharp -public ValidateProductAttributeValueNameChange(ProductAttributeReadOnly productAttribute, - ProductAttributeValueReadOnly value, int index, - ChangingValue> name) -``` - - -### Properties - -#### Index - -```csharp -public int Index { get; } -``` - - ---- - -#### Name - -```csharp -public ChangingValue> Name { get; } -``` - - ---- - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - ---- - -#### Value - -```csharp -public ProductAttributeValueReadOnly Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevalueremove.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevalueremove.md deleted file mode 100644 index 5f1dd3c4f89..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateproductattributevalueremove.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateProductAttributeValueRemove -description: API reference for ValidateProductAttributeValueRemove in Umbraco Commerce ---- -## ValidateProductAttributeValueRemove - -```csharp -public class ValidateProductAttributeValueRemove : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateProductAttributeValueRemove - -```csharp -public ValidateProductAttributeValueRemove(ProductAttributeReadOnly productAttribute, - ProductAttributeValueReadOnly value, int index) -``` - - -### Properties - -#### Index - -```csharp -public int Index { get; } -``` - - ---- - -#### ProductAttribute - -```csharp -public ProductAttributeReadOnly ProductAttribute { get; } -``` - - ---- - -#### Value - -```csharp -public ProductAttributeValueReadOnly Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validaterefundorderpayment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validaterefundorderpayment.md deleted file mode 100644 index 1bcf5348d74..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validaterefundorderpayment.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateRefundOrderPayment -description: API reference for ValidateRefundOrderPayment in Umbraco Commerce ---- -## ValidateRefundOrderPayment - -```csharp -public class ValidateRefundOrderPayment : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRefundOrderPayment - -```csharp -public ValidateRefundOrderPayment(OrderReadOnly order) -``` - - -### Properties - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregioncodechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregioncodechange.md deleted file mode 100644 index bd5bc9a7f02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregioncodechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateRegionCodeChange -description: API reference for ValidateRegionCodeChange in Umbraco Commerce ---- -## ValidateRegionCodeChange - -```csharp -public class ValidateRegionCodeChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionCodeChange - -```csharp -public ValidateRegionCodeChange(RegionReadOnly region, ChangingValue code) -``` - - -### Properties - -#### Code - -```csharp -public ChangingValue Code { get; } -``` - - ---- - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregioncreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregioncreate.md deleted file mode 100644 index 77d09e33319..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregioncreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateRegionCreate -description: API reference for ValidateRegionCreate in Umbraco Commerce ---- -## ValidateRegionCreate - -```csharp -public class ValidateRegionCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionCreate - -```csharp -public ValidateRegionCreate(RegionReadOnly region) -``` - - -### Properties - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondefaultpaymentmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondefaultpaymentmethodchange.md deleted file mode 100644 index 864cd295acd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondefaultpaymentmethodchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateRegionDefaultPaymentMethodChange -description: API reference for ValidateRegionDefaultPaymentMethodChange in Umbraco Commerce ---- -## ValidateRegionDefaultPaymentMethodChange - -```csharp -public class ValidateRegionDefaultPaymentMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionDefaultPaymentMethodChange - -```csharp -public ValidateRegionDefaultPaymentMethodChange(RegionReadOnly region, - ChangingValue paymentMethodId) -``` - - -### Properties - -#### PaymentMethodId - -```csharp -public ChangingValue PaymentMethodId { get; } -``` - - ---- - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondefaultshippingmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondefaultshippingmethodchange.md deleted file mode 100644 index 1c9ffecb1d3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondefaultshippingmethodchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateRegionDefaultShippingMethodChange -description: API reference for ValidateRegionDefaultShippingMethodChange in Umbraco Commerce ---- -## ValidateRegionDefaultShippingMethodChange - -```csharp -public class ValidateRegionDefaultShippingMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionDefaultShippingMethodChange - -```csharp -public ValidateRegionDefaultShippingMethodChange(RegionReadOnly region, - ChangingValue shippingMethodId) -``` - - -### Properties - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - ---- - -#### ShippingMethodId - -```csharp -public ChangingValue ShippingMethodId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondelete.md deleted file mode 100644 index 704b826076e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregiondelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateRegionDelete -description: API reference for ValidateRegionDelete in Umbraco Commerce ---- -## ValidateRegionDelete - -```csharp -public class ValidateRegionDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionDelete - -```csharp -public ValidateRegionDelete(RegionReadOnly region) -``` - - -### Properties - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionnamechange.md deleted file mode 100644 index 4110798bc86..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionnamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateRegionNameChange -description: API reference for ValidateRegionNameChange in Umbraco Commerce ---- -## ValidateRegionNameChange - -```csharp -public class ValidateRegionNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionNameChange - -```csharp -public ValidateRegionNameChange(RegionReadOnly region, ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionsave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionsave.md deleted file mode 100644 index b7d52845b03..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionsave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateRegionSave -description: API reference for ValidateRegionSave in Umbraco Commerce ---- -## ValidateRegionSave - -```csharp -public class ValidateRegionSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionSave - -```csharp -public ValidateRegionSave(RegionReadOnly region) -``` - - -### Properties - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionupdate.md deleted file mode 100644 index e91a23292d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateregionupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateRegionUpdate -description: API reference for ValidateRegionUpdate in Umbraco Commerce ---- -## ValidateRegionUpdate - -```csharp -public class ValidateRegionUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateRegionUpdate - -```csharp -public ValidateRegionUpdate(RegionReadOnly region) -``` - - -### Properties - -#### Region - -```csharp -public RegionReadOnly Region { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodaliaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodaliaschange.md deleted file mode 100644 index 3186a377bcb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodaliaschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateShippingMethodAliasChange -description: API reference for ValidateShippingMethodAliasChange in Umbraco Commerce ---- -## ValidateShippingMethodAliasChange - -```csharp -public class ValidateShippingMethodAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodAliasChange - -```csharp -public ValidateShippingMethodAliasChange(ShippingMethodReadOnly shippingMethod, - ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodallowincountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodallowincountryregion.md deleted file mode 100644 index 60b293a1c39..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodallowincountryregion.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateShippingMethodAllowInCountryRegion -description: API reference for ValidateShippingMethodAllowInCountryRegion in Umbraco Commerce ---- -## ValidateShippingMethodAllowInCountryRegion - -```csharp -public class ValidateShippingMethodAllowInCountryRegion : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodAllowInCountryRegion - -```csharp -public ValidateShippingMethodAllowInCountryRegion(ShippingMethodReadOnly shippingMethod, - Guid countryId, Guid? regionId) -``` - - -### Fields - -#### CountryId - -```csharp -public Guid CountryId; -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId; -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodclearprices.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodclearprices.md deleted file mode 100644 index 355cf1e3c7c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodclearprices.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ValidateShippingMethodClearPrices -description: API reference for ValidateShippingMethodClearPrices in Umbraco Commerce ---- -## ValidateShippingMethodClearPrices - -```csharp -public class ValidateShippingMethodClearPrices : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodClearPrices - -```csharp -public ValidateShippingMethodClearPrices(ShippingMethodReadOnly shippingMethod, Guid? currencyId, - Guid? countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid? CurrencyId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodcreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodcreate.md deleted file mode 100644 index d9f8e71da97..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodcreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateShippingMethodCreate -description: API reference for ValidateShippingMethodCreate in Umbraco Commerce ---- -## ValidateShippingMethodCreate - -```csharp -public class ValidateShippingMethodCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodCreate - -```csharp -public ValidateShippingMethodCreate(ShippingMethodReadOnly shippingMethod) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethoddelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethoddelete.md deleted file mode 100644 index e902bd5b073..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethoddelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateShippingMethodDelete -description: API reference for ValidateShippingMethodDelete in Umbraco Commerce ---- -## ValidateShippingMethodDelete - -```csharp -public class ValidateShippingMethodDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodDelete - -```csharp -public ValidateShippingMethodDelete(ShippingMethodReadOnly shippingMethod) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethoddisallowincountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethoddisallowincountryregion.md deleted file mode 100644 index c5ba24586e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethoddisallowincountryregion.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateShippingMethodDisallowInCountryRegion -description: API reference for ValidateShippingMethodDisallowInCountryRegion in Umbraco Commerce ---- -## ValidateShippingMethodDisallowInCountryRegion - -```csharp -public class ValidateShippingMethodDisallowInCountryRegion : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodDisallowInCountryRegion - -```csharp -public ValidateShippingMethodDisallowInCountryRegion(ShippingMethodReadOnly shippingMethod, - Guid countryId, Guid? regionId) -``` - - -### Fields - -#### CountryId - -```csharp -public Guid CountryId; -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId; -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodimagechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodimagechange.md deleted file mode 100644 index bfa398a5289..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodimagechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateShippingMethodImageChange -description: API reference for ValidateShippingMethodImageChange in Umbraco Commerce ---- -## ValidateShippingMethodImageChange - -```csharp -public class ValidateShippingMethodImageChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodImageChange - -```csharp -public ValidateShippingMethodImageChange(ShippingMethodReadOnly shippingMethod, - ChangingValue imageId) -``` - - -### Properties - -#### ImageId - -```csharp -public ChangingValue ImageId { get; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodnamechange.md deleted file mode 100644 index 11baa48a26d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodnamechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateShippingMethodNameChange -description: API reference for ValidateShippingMethodNameChange in Umbraco Commerce ---- -## ValidateShippingMethodNameChange - -```csharp -public class ValidateShippingMethodNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodNameChange - -```csharp -public ValidateShippingMethodNameChange(ShippingMethodReadOnly shippingMethod, - ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodpricechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodpricechange.md deleted file mode 100644 index fb1ad63a5d2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodpricechange.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: ValidateShippingMethodPriceChange -description: API reference for ValidateShippingMethodPriceChange in Umbraco Commerce ---- -## ValidateShippingMethodPriceChange - -```csharp -public class ValidateShippingMethodPriceChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodPriceChange - -```csharp -public ValidateShippingMethodPriceChange(ShippingMethodReadOnly shippingMethod, Guid currencyId, - ChangingValue price, Guid? countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Price - -```csharp -public ChangingValue Price { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodsave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodsave.md deleted file mode 100644 index e6e0eef1425..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodsave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateShippingMethodSave -description: API reference for ValidateShippingMethodSave in Umbraco Commerce ---- -## ValidateShippingMethodSave - -```csharp -public class ValidateShippingMethodSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodSave - -```csharp -public ValidateShippingMethodSave(ShippingMethodReadOnly shippingMethod) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodskuchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodskuchange.md deleted file mode 100644 index fc71c304b98..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodskuchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateShippingMethodSkuChange -description: API reference for ValidateShippingMethodSkuChange in Umbraco Commerce ---- -## ValidateShippingMethodSkuChange - -```csharp -public class ValidateShippingMethodSkuChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodSkuChange - -```csharp -public ValidateShippingMethodSkuChange(ShippingMethodReadOnly shippingMethod, - ChangingValue sku) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - ---- - -#### Sku - -```csharp -public ChangingValue Sku { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodtaxclasschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodtaxclasschange.md deleted file mode 100644 index aa41df598b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodtaxclasschange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateShippingMethodTaxClassChange -description: API reference for ValidateShippingMethodTaxClassChange in Umbraco Commerce ---- -## ValidateShippingMethodTaxClassChange - -```csharp -public class ValidateShippingMethodTaxClassChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodTaxClassChange - -```csharp -public ValidateShippingMethodTaxClassChange(ShippingMethodReadOnly shippingMethod, - ChangingValue taxClassId) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodupdate.md deleted file mode 100644 index bee35870d91..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validateshippingmethodupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateShippingMethodUpdate -description: API reference for ValidateShippingMethodUpdate in Umbraco Commerce ---- -## ValidateShippingMethodUpdate - -```csharp -public class ValidateShippingMethodUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateShippingMethodUpdate - -```csharp -public ValidateShippingMethodUpdate(ShippingMethodReadOnly shippingMethod) -``` - - -### Properties - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestockchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestockchange.md deleted file mode 100644 index 95d589e70e9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestockchange.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: ValidateStockChange -description: API reference for ValidateStockChange in Umbraco Commerce ---- -## ValidateStockChange - -```csharp -public class ValidateStockChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStockChange (1 of 2) - -```csharp -public ValidateStockChange(Guid storeId, string productReference, ChangingValue value) -``` - ---- - -#### ValidateStockChange (2 of 2) - -```csharp -public ValidateStockChange(Guid storeId, string productReference, string productVariantReference, - ChangingValue value) -``` - - -### Properties - -#### ProductReference - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - ---- - -#### Value - -```csharp -public ChangingValue Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddgiftcardpropertyalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddgiftcardpropertyalias.md deleted file mode 100644 index 2f4dd4a0fcb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddgiftcardpropertyalias.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreAddGiftCardPropertyAlias -description: API reference for ValidateStoreAddGiftCardPropertyAlias in Umbraco Commerce ---- -## ValidateStoreAddGiftCardPropertyAlias - -```csharp -public class ValidateStoreAddGiftCardPropertyAlias : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreAddGiftCardPropertyAlias - -```csharp -public ValidateStoreAddGiftCardPropertyAlias(StoreReadOnly store, string alias) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddproductpropertyalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddproductpropertyalias.md deleted file mode 100644 index 55b8a35f552..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddproductpropertyalias.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreAddProductPropertyAlias -description: API reference for ValidateStoreAddProductPropertyAlias in Umbraco Commerce ---- -## ValidateStoreAddProductPropertyAlias - -```csharp -public class ValidateStoreAddProductPropertyAlias : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreAddProductPropertyAlias - -```csharp -public ValidateStoreAddProductPropertyAlias(StoreReadOnly store, string alias) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddproductuniquenesspropertyalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddproductuniquenesspropertyalias.md deleted file mode 100644 index 7e2c98874a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreaddproductuniquenesspropertyalias.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreAddProductUniquenessPropertyAlias -description: API reference for ValidateStoreAddProductUniquenessPropertyAlias in Umbraco Commerce ---- -## ValidateStoreAddProductUniquenessPropertyAlias - -```csharp -public class ValidateStoreAddProductUniquenessPropertyAlias : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreAddProductUniquenessPropertyAlias - -```csharp -public ValidateStoreAddProductUniquenessPropertyAlias(StoreReadOnly store, string alias) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorealiaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorealiaschange.md deleted file mode 100644 index 78b1087c74f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorealiaschange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreAliasChange -description: API reference for ValidateStoreAliasChange in Umbraco Commerce ---- -## ValidateStoreAliasChange - -```csharp -public class ValidateStoreAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreAliasChange - -```csharp -public ValidateStoreAliasChange(StoreReadOnly store, ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreallowuser.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreallowuser.md deleted file mode 100644 index bbfdd5a38ec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreallowuser.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreAllowUser -description: API reference for ValidateStoreAllowUser in Umbraco Commerce ---- -## ValidateStoreAllowUser - -```csharp -public class ValidateStoreAllowUser : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreAllowUser - -```csharp -public ValidateStoreAllowUser(StoreReadOnly store, string userId) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - ---- - -#### UserId - -```csharp -public string UserId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreallowuserrole.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreallowuserrole.md deleted file mode 100644 index ff3e765c47c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreallowuserrole.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreAllowUserRole -description: API reference for ValidateStoreAllowUserRole in Umbraco Commerce ---- -## ValidateStoreAllowUserRole - -```csharp -public class ValidateStoreAllowUserRole : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreAllowUserRole - -```csharp -public ValidateStoreAllowUserRole(StoreReadOnly store, string role) -``` - - -### Properties - -#### Role - -```csharp -public string Role { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorebasecurrencychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorebasecurrencychange.md deleted file mode 100644 index d41ee838d9f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorebasecurrencychange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreBaseCurrencyChange -description: API reference for ValidateStoreBaseCurrencyChange in Umbraco Commerce ---- -## ValidateStoreBaseCurrencyChange - -```csharp -public class ValidateStoreBaseCurrencyChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreBaseCurrencyChange - -```csharp -public ValidateStoreBaseCurrencyChange(StoreReadOnly store, ChangingValue currencyId) -``` - - -### Properties - -#### CurrencyId - -```csharp -public ChangingValue CurrencyId { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorecookieschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorecookieschange.md deleted file mode 100644 index c250bb92f49..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorecookieschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateStoreCookiesChange -description: API reference for ValidateStoreCookiesChange in Umbraco Commerce ---- -## ValidateStoreCookiesChange - -```csharp -public class ValidateStoreCookiesChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreCookiesChange - -```csharp -public ValidateStoreCookiesChange(StoreReadOnly store, ChangingValue cookiesEnabled, - ChangingValue cookieTimeout) -``` - - -### Properties - -#### CookiesEnabled - -```csharp -public ChangingValue CookiesEnabled { get; } -``` - - ---- - -#### CookieTimeout - -```csharp -public ChangingValue CookieTimeout { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorecreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorecreate.md deleted file mode 100644 index 36ed48fe665..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorecreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateStoreCreate -description: API reference for ValidateStoreCreate in Umbraco Commerce ---- -## ValidateStoreCreate - -```csharp -public class ValidateStoreCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreCreate - -```csharp -public ValidateStoreCreate(StoreReadOnly store) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredefaultcountrychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredefaultcountrychange.md deleted file mode 100644 index 513a2abbc13..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredefaultcountrychange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreDefaultCountryChange -description: API reference for ValidateStoreDefaultCountryChange in Umbraco Commerce ---- -## ValidateStoreDefaultCountryChange - -```csharp -public class ValidateStoreDefaultCountryChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreDefaultCountryChange - -```csharp -public ValidateStoreDefaultCountryChange(StoreReadOnly store, ChangingValue countryId) -``` - - -### Properties - -#### CountryId - -```csharp -public ChangingValue CountryId { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredefaulttaxclasschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredefaulttaxclasschange.md deleted file mode 100644 index 8832b6cd0d5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredefaulttaxclasschange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreDefaultTaxClassChange -description: API reference for ValidateStoreDefaultTaxClassChange in Umbraco Commerce ---- -## ValidateStoreDefaultTaxClassChange - -```csharp -public class ValidateStoreDefaultTaxClassChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreDefaultTaxClassChange - -```csharp -public ValidateStoreDefaultTaxClassChange(StoreReadOnly store, ChangingValue taxClassId) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public ChangingValue TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredelete.md deleted file mode 100644 index bb354926bf1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateStoreDelete -description: API reference for ValidateStoreDelete in Umbraco Commerce ---- -## ValidateStoreDelete - -```csharp -public class ValidateStoreDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreDelete - -```csharp -public ValidateStoreDelete(StoreReadOnly store) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredisallowuser.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredisallowuser.md deleted file mode 100644 index 9a107be07ba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredisallowuser.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreDisallowUser -description: API reference for ValidateStoreDisallowUser in Umbraco Commerce ---- -## ValidateStoreDisallowUser - -```csharp -public class ValidateStoreDisallowUser : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreDisallowUser - -```csharp -public ValidateStoreDisallowUser(StoreReadOnly store, string userId) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - ---- - -#### UserId - -```csharp -public string UserId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredisallowuserrole.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredisallowuserrole.md deleted file mode 100644 index 0730f753689..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoredisallowuserrole.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreDisallowUserRole -description: API reference for ValidateStoreDisallowUserRole in Umbraco Commerce ---- -## ValidateStoreDisallowUserRole - -```csharp -public class ValidateStoreDisallowUserRole : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreDisallowUserRole - -```csharp -public ValidateStoreDisallowUserRole(StoreReadOnly store, string role) -``` - - -### Properties - -#### Role - -```csharp -public string Role { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoregiftcardsettingschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoregiftcardsettingschange.md deleted file mode 100644 index 75d148525f1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoregiftcardsettingschange.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -title: ValidateStoreGiftCardSettingsChange -description: API reference for ValidateStoreGiftCardSettingsChange in Umbraco Commerce ---- -## ValidateStoreGiftCardSettingsChange - -```csharp -public class ValidateStoreGiftCardSettingsChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreGiftCardSettingsChange - -```csharp -public ValidateStoreGiftCardSettingsChange(StoreReadOnly store, - ChangingValue giftCardCodeLength, ChangingValue giftCardDaysValid, - ChangingValue giftCardCodeTemplate, - ChangingValue giftCardActivationMethod, - ChangingValue giftCardActivationOrderStatusId, - ChangingValue defaultGiftCardEmailTemplateId) -``` - - -### Properties - -#### DefaultGiftCardEmailTemplateId - -```csharp -public ChangingValue DefaultGiftCardEmailTemplateId { get; } -``` - - ---- - -#### GiftCardActivationMethod - -```csharp -public ChangingValue GiftCardActivationMethod { get; } -``` - - ---- - -#### GiftCardActivationOrderStatusId - -```csharp -public ChangingValue GiftCardActivationOrderStatusId { get; } -``` - - ---- - -#### GiftCardCodeLength - -```csharp -public ChangingValue GiftCardCodeLength { get; } -``` - - ---- - -#### GiftCardCodeTemplate - -```csharp -public ChangingValue GiftCardCodeTemplate { get; } -``` - - ---- - -#### GiftCardDaysValid - -```csharp -public ChangingValue GiftCardDaysValid { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorenamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorenamechange.md deleted file mode 100644 index c111756ec61..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorenamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreNameChange -description: API reference for ValidateStoreNameChange in Umbraco Commerce ---- -## ValidateStoreNameChange - -```csharp -public class ValidateStoreNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreNameChange - -```csharp -public ValidateStoreNameChange(StoreReadOnly store, ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorenotificationemailtemplateschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorenotificationemailtemplateschange.md deleted file mode 100644 index 4a03b377ab4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorenotificationemailtemplateschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateStoreNotificationEmailTemplatesChange -description: API reference for ValidateStoreNotificationEmailTemplatesChange in Umbraco Commerce ---- -## ValidateStoreNotificationEmailTemplatesChange - -```csharp -public class ValidateStoreNotificationEmailTemplatesChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreNotificationEmailTemplatesChange - -```csharp -public ValidateStoreNotificationEmailTemplatesChange(StoreReadOnly store, - ChangingValue confirmationEmailTemplateId, ChangingValue errorEmailTemplateId) -``` - - -### Properties - -#### ConfirmationEmailTemplateId - -```csharp -public ChangingValue ConfirmationEmailTemplateId { get; } -``` - - ---- - -#### ErrorEmailTemplateId - -```csharp -public ChangingValue ErrorEmailTemplateId { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreordereditorconfigchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreordereditorconfigchange.md deleted file mode 100644 index ab04ec033b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreordereditorconfigchange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreOrderEditorConfigChange -description: API reference for ValidateStoreOrderEditorConfigChange in Umbraco Commerce ---- -## ValidateStoreOrderEditorConfigChange - -```csharp -public class ValidateStoreOrderEditorConfigChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreOrderEditorConfigChange - -```csharp -public ValidateStoreOrderEditorConfigChange(StoreReadOnly store, ChangingValue configPath) -``` - - -### Properties - -#### ConfigPath - -```csharp -public ChangingValue ConfigPath { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreordernumbertemplateschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreordernumbertemplateschange.md deleted file mode 100644 index e627f92f62c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreordernumbertemplateschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateStoreOrderNumberTemplatesChange -description: API reference for ValidateStoreOrderNumberTemplatesChange in Umbraco Commerce ---- -## ValidateStoreOrderNumberTemplatesChange - -```csharp -public class ValidateStoreOrderNumberTemplatesChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreOrderNumberTemplatesChange - -```csharp -public ValidateStoreOrderNumberTemplatesChange(StoreReadOnly store, - ChangingValue cartNumberTemplate, ChangingValue orderNumberTemplate) -``` - - -### Properties - -#### CartNumberTemplate - -```csharp -public ChangingValue CartNumberTemplate { get; } -``` - - ---- - -#### OrderNumberTemplate - -```csharp -public ChangingValue OrderNumberTemplate { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreorderroundingmethodchange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreorderroundingmethodchange.md deleted file mode 100644 index 621564690fd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreorderroundingmethodchange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateStoreOrderRoundingMethodChange -description: API reference for ValidateStoreOrderRoundingMethodChange in Umbraco Commerce ---- -## ValidateStoreOrderRoundingMethodChange - -```csharp -public class ValidateStoreOrderRoundingMethodChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreOrderRoundingMethodChange - -```csharp -public ValidateStoreOrderRoundingMethodChange(StoreReadOnly store, - ChangingValue orderRoundingMethod) -``` - - -### Properties - -#### OrderRoundingMethod - -```csharp -public ChangingValue OrderRoundingMethod { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreorderstatuseschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreorderstatuseschange.md deleted file mode 100644 index 4cf46c88859..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreorderstatuseschange.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: ValidateStoreOrderStatusesChange -description: API reference for ValidateStoreOrderStatusesChange in Umbraco Commerce ---- -## ValidateStoreOrderStatusesChange - -```csharp -public class ValidateStoreOrderStatusesChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreOrderStatusesChange - -```csharp -public ValidateStoreOrderStatusesChange(StoreReadOnly store, - ChangingValue defaultOrderStatusId, ChangingValue errorOrderStatusId) -``` - - -### Properties - -#### DefaultOrderStatusId - -```csharp -public ChangingValue DefaultOrderStatusId { get; } -``` - - ---- - -#### ErrorOrderStatusId - -```csharp -public ChangingValue ErrorOrderStatusId { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorepricetaxinclusivitychange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorepricetaxinclusivitychange.md deleted file mode 100644 index a057770bdde..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestorepricetaxinclusivitychange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateStorePriceTaxInclusivityChange -description: API reference for ValidateStorePriceTaxInclusivityChange in Umbraco Commerce ---- -## ValidateStorePriceTaxInclusivityChange - -```csharp -public class ValidateStorePriceTaxInclusivityChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStorePriceTaxInclusivityChange - -```csharp -public ValidateStorePriceTaxInclusivityChange(StoreReadOnly store, - ChangingValue pricesIncludeTax) -``` - - -### Properties - -#### PricesIncludeTax - -```csharp -public ChangingValue PricesIncludeTax { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremovegiftcardpropertyalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremovegiftcardpropertyalias.md deleted file mode 100644 index 17c244c5c8d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremovegiftcardpropertyalias.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreRemoveGiftCardPropertyAlias -description: API reference for ValidateStoreRemoveGiftCardPropertyAlias in Umbraco Commerce ---- -## ValidateStoreRemoveGiftCardPropertyAlias - -```csharp -public class ValidateStoreRemoveGiftCardPropertyAlias : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreRemoveGiftCardPropertyAlias - -```csharp -public ValidateStoreRemoveGiftCardPropertyAlias(StoreReadOnly store, string alias) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremoveproductpropertyalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremoveproductpropertyalias.md deleted file mode 100644 index 0f64beb0a00..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremoveproductpropertyalias.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreRemoveProductPropertyAlias -description: API reference for ValidateStoreRemoveProductPropertyAlias in Umbraco Commerce ---- -## ValidateStoreRemoveProductPropertyAlias - -```csharp -public class ValidateStoreRemoveProductPropertyAlias : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreRemoveProductPropertyAlias - -```csharp -public ValidateStoreRemoveProductPropertyAlias(StoreReadOnly store, string alias) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremoveproductuniquenesspropertyalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremoveproductuniquenesspropertyalias.md deleted file mode 100644 index f01b073a305..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreremoveproductuniquenesspropertyalias.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateStoreRemoveProductUniquenessPropertyAlias -description: API reference for ValidateStoreRemoveProductUniquenessPropertyAlias in Umbraco Commerce ---- -## ValidateStoreRemoveProductUniquenessPropertyAlias - -```csharp -public class ValidateStoreRemoveProductUniquenessPropertyAlias : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreRemoveProductUniquenessPropertyAlias - -```csharp -public ValidateStoreRemoveProductUniquenessPropertyAlias(StoreReadOnly store, string alias) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoresave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoresave.md deleted file mode 100644 index b036db18fe6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoresave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateStoreSave -description: API reference for ValidateStoreSave in Umbraco Commerce ---- -## ValidateStoreSave - -```csharp -public class ValidateStoreSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreSave - -```csharp -public ValidateStoreSave(StoreReadOnly store) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoresharestockfromstorechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoresharestockfromstorechange.md deleted file mode 100644 index ca145624df1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoresharestockfromstorechange.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -title: ValidateStoreShareStockFromStoreChange -description: API reference for ValidateStoreShareStockFromStoreChange in Umbraco Commerce ---- -## ValidateStoreShareStockFromStoreChange - -```csharp -public class ValidateStoreShareStockFromStoreChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreShareStockFromStoreChange - -```csharp -public ValidateStoreShareStockFromStoreChange(StoreReadOnly store, - ChangingValue shareStockFromStoreId) -``` - - -### Properties - -#### ShareStockFromStoreId - -```csharp -public ChangingValue ShareStockFromStoreId { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreupdate.md deleted file mode 100644 index c178877c3f4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatestoreupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateStoreUpdate -description: API reference for ValidateStoreUpdate in Umbraco Commerce ---- -## ValidateStoreUpdate - -```csharp -public class ValidateStoreUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateStoreUpdate - -```csharp -public ValidateStoreUpdate(StoreReadOnly store) -``` - - -### Properties - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassaliaschange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassaliaschange.md deleted file mode 100644 index 5e15d1376f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassaliaschange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateTaxClassAliasChange -description: API reference for ValidateTaxClassAliasChange in Umbraco Commerce ---- -## ValidateTaxClassAliasChange - -```csharp -public class ValidateTaxClassAliasChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassAliasChange - -```csharp -public ValidateTaxClassAliasChange(TaxClassReadOnly taxClass, ChangingValue alias) -``` - - -### Properties - -#### Alias - -```csharp -public ChangingValue Alias { get; } -``` - - ---- - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasscleartaxrates.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasscleartaxrates.md deleted file mode 100644 index 31e2f01ba31..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasscleartaxrates.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateTaxClassClearTaxRates -description: API reference for ValidateTaxClassClearTaxRates in Umbraco Commerce ---- -## ValidateTaxClassClearTaxRates - -```csharp -public class ValidateTaxClassClearTaxRates : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassClearTaxRates - -```csharp -public ValidateTaxClassClearTaxRates(TaxClassReadOnly taxClass, Guid? countryId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasscreate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasscreate.md deleted file mode 100644 index 5265a25e597..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasscreate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateTaxClassCreate -description: API reference for ValidateTaxClassCreate in Umbraco Commerce ---- -## ValidateTaxClassCreate - -```csharp -public class ValidateTaxClassCreate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassCreate - -```csharp -public ValidateTaxClassCreate(TaxClassReadOnly taxClass) -``` - - -### Properties - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassdelete.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassdelete.md deleted file mode 100644 index 8146c7fafe2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassdelete.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateTaxClassDelete -description: API reference for ValidateTaxClassDelete in Umbraco Commerce ---- -## ValidateTaxClassDelete - -```csharp -public class ValidateTaxClassDelete : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassDelete - -```csharp -public ValidateTaxClassDelete(TaxClassReadOnly taxClass) -``` - - -### Properties - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassnamechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassnamechange.md deleted file mode 100644 index 03bfc677c5e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassnamechange.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ValidateTaxClassNameChange -description: API reference for ValidateTaxClassNameChange in Umbraco Commerce ---- -## ValidateTaxClassNameChange - -```csharp -public class ValidateTaxClassNameChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassNameChange - -```csharp -public ValidateTaxClassNameChange(TaxClassReadOnly taxClass, ChangingValue name) -``` - - -### Properties - -#### Name - -```csharp -public ChangingValue Name { get; } -``` - - ---- - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasssave.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasssave.md deleted file mode 100644 index 11c58db44da..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasssave.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateTaxClassSave -description: API reference for ValidateTaxClassSave in Umbraco Commerce ---- -## ValidateTaxClassSave - -```csharp -public class ValidateTaxClassSave : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassSave - -```csharp -public ValidateTaxClassSave(TaxClassReadOnly taxClass) -``` - - -### Properties - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasstaxratechange.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasstaxratechange.md deleted file mode 100644 index 501357854a0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclasstaxratechange.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ValidateTaxClassTaxRateChange -description: API reference for ValidateTaxClassTaxRateChange in Umbraco Commerce ---- -## ValidateTaxClassTaxRateChange - -```csharp -public class ValidateTaxClassTaxRateChange : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassTaxRateChange - -```csharp -public ValidateTaxClassTaxRateChange(TaxClassReadOnly taxClass, ChangingValue taxRate, - Guid? countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - ---- - -#### TaxRate - -```csharp -public ChangingValue TaxRate { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassupdate.md deleted file mode 100644 index 647b1de39de..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events-validation/validatetaxclassupdate.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ValidateTaxClassUpdate -description: API reference for ValidateTaxClassUpdate in Umbraco Commerce ---- -## ValidateTaxClassUpdate - -```csharp -public class ValidateTaxClassUpdate : ValidationEventBase -``` - -**Inheritance** - -* Class [ValidationEventBase](../../umbraco-commerce-common/umbraco-commerce-common-events/validationeventbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Events.Validation](README.md) - -### Constructors - -#### ValidateTaxClassUpdate - -```csharp -public ValidateTaxClassUpdate(TaxClassReadOnly taxClass) -``` - - -### Properties - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events/README.md deleted file mode 100644 index a2bbfa45d7f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Events -description: API reference for Umbraco.Commerce.Core.Events in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Events namespace - -| Public Type | Description | -| --- | --- | -| class [EventHub](eventhub.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events/eventhub.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events/eventhub.md deleted file mode 100644 index 7646ef5036e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-events/eventhub.md +++ /dev/null @@ -1,1358 +0,0 @@ ---- -title: EventHub -description: API reference for EventHub in Umbraco Commerce ---- -## EventHub - -```csharp -public class EventHub -``` - -**Namespace** -* [Umbraco.Commerce.Core.Events](README.md) - -### Constructors - -#### EventHub - -The default constructor. - -```csharp -public EventHub() -``` - - -### Classes - -#### EventHub.NotificationEvents - -```csharp -public class NotificationEvents -``` - -##### Constructors - -#### EventHub.NotificationEvents - -The default constructor. - -```csharp -public NotificationEvents() -``` - - -##### Methods - -#### OnCountryCreated - -```csharp -public static void OnCountryCreated(Action callback) -``` - - ---- - -#### OnCountryCreating - -```csharp -public static void OnCountryCreating(Action callback) -``` - - ---- - -#### OnCountryDeleted - -```csharp -public static void OnCountryDeleted(Action callback) -``` - - ---- - -#### OnCountryDeleting - -```csharp -public static void OnCountryDeleting(Action callback) -``` - - ---- - -#### OnCountrySaved - -```csharp -public static void OnCountrySaved(Action callback) -``` - - ---- - -#### OnCountrySaving - -```csharp -public static void OnCountrySaving(Action callback) -``` - - ---- - -#### OnCountryUpdated - -```csharp -public static void OnCountryUpdated(Action callback) -``` - - ---- - -#### OnCountryUpdating - -```csharp -public static void OnCountryUpdating(Action callback) -``` - - ---- - -#### OnCurrencyCreated - -```csharp -public static void OnCurrencyCreated(Action callback) -``` - - ---- - -#### OnCurrencyCreating - -```csharp -public static void OnCurrencyCreating(Action callback) -``` - - ---- - -#### OnCurrencyDeleted - -```csharp -public static void OnCurrencyDeleted(Action callback) -``` - - ---- - -#### OnCurrencyDeleting - -```csharp -public static void OnCurrencyDeleting(Action callback) -``` - - ---- - -#### OnCurrencySaved - -```csharp -public static void OnCurrencySaved(Action callback) -``` - - ---- - -#### OnCurrencySaving - -```csharp -public static void OnCurrencySaving(Action callback) -``` - - ---- - -#### OnCurrencyUpdated - -```csharp -public static void OnCurrencyUpdated(Action callback) -``` - - ---- - -#### OnCurrencyUpdating - -```csharp -public static void OnCurrencyUpdating(Action callback) -``` - - ---- - -#### OnDiscountCreated - -```csharp -public static void OnDiscountCreated(Action callback) -``` - - ---- - -#### OnDiscountCreating - -```csharp -public static void OnDiscountCreating(Action callback) -``` - - ---- - -#### OnDiscountDeleted - -```csharp -public static void OnDiscountDeleted(Action callback) -``` - - ---- - -#### OnDiscountDeleting - -```csharp -public static void OnDiscountDeleting(Action callback) -``` - - ---- - -#### OnDiscountSaved - -```csharp -public static void OnDiscountSaved(Action callback) -``` - - ---- - -#### OnDiscountSaving - -```csharp -public static void OnDiscountSaving(Action callback) -``` - - ---- - -#### OnDiscountUpdated - -```csharp -public static void OnDiscountUpdated(Action callback) -``` - - ---- - -#### OnDiscountUpdating - -```csharp -public static void OnDiscountUpdating(Action callback) -``` - - ---- - -#### OnEmailFailed - -```csharp -public static void OnEmailFailed(Action callback) -``` - - ---- - -#### OnEmailSending - -```csharp -public static void OnEmailSending(Action callback) -``` - - ---- - -#### OnEmailSent - -```csharp -public static void OnEmailSent(Action callback) -``` - - ---- - -#### OnEmailTemplateCreated - -```csharp -public static void OnEmailTemplateCreated(Action callback) -``` - - ---- - -#### OnEmailTemplateCreating - -```csharp -public static void OnEmailTemplateCreating(Action callback) -``` - - ---- - -#### OnEmailTemplateDeleted - -```csharp -public static void OnEmailTemplateDeleted(Action callback) -``` - - ---- - -#### OnEmailTemplateDeleting - -```csharp -public static void OnEmailTemplateDeleting(Action callback) -``` - - ---- - -#### OnEmailTemplateSaved - -```csharp -public static void OnEmailTemplateSaved(Action callback) -``` - - ---- - -#### OnEmailTemplateSaving - -```csharp -public static void OnEmailTemplateSaving(Action callback) -``` - - ---- - -#### OnEmailTemplateUpdated - -```csharp -public static void OnEmailTemplateUpdated(Action callback) -``` - - ---- - -#### OnEmailTemplateUpdating - -```csharp -public static void OnEmailTemplateUpdating(Action callback) -``` - - ---- - -#### OnExportTemplateCreated - -```csharp -public static void OnExportTemplateCreated(Action callback) -``` - - ---- - -#### OnExportTemplateCreating - -```csharp -public static void OnExportTemplateCreating(Action callback) -``` - - ---- - -#### OnExportTemplateDeleted - -```csharp -public static void OnExportTemplateDeleted(Action callback) -``` - - ---- - -#### OnExportTemplateDeleting - -```csharp -public static void OnExportTemplateDeleting(Action callback) -``` - - ---- - -#### OnExportTemplateSaved - -```csharp -public static void OnExportTemplateSaved(Action callback) -``` - - ---- - -#### OnExportTemplateSaving - -```csharp -public static void OnExportTemplateSaving(Action callback) -``` - - ---- - -#### OnExportTemplateUpdated - -```csharp -public static void OnExportTemplateUpdated(Action callback) -``` - - ---- - -#### OnExportTemplateUpdating - -```csharp -public static void OnExportTemplateUpdating(Action callback) -``` - - ---- - -#### OnFrozenPricesThawed - -```csharp -public static void OnFrozenPricesThawed(Action callback) -``` - - ---- - -#### OnFrozenPricesThawing - -```csharp -public static void OnFrozenPricesThawing(Action callback) -``` - - ---- - -#### OnGiftCardCreated - -```csharp -public static void OnGiftCardCreated(Action callback) -``` - - ---- - -#### OnGiftCardCreating - -```csharp -public static void OnGiftCardCreating(Action callback) -``` - - ---- - -#### OnGiftCardDeleted - -```csharp -public static void OnGiftCardDeleted(Action callback) -``` - - ---- - -#### OnGiftCardDeleting - -```csharp -public static void OnGiftCardDeleting(Action callback) -``` - - ---- - -#### OnGiftCardSaved - -```csharp -public static void OnGiftCardSaved(Action callback) -``` - - ---- - -#### OnGiftCardSaving - -```csharp -public static void OnGiftCardSaving(Action callback) -``` - - ---- - -#### OnGiftCardUpdated - -```csharp -public static void OnGiftCardUpdated(Action callback) -``` - - ---- - -#### OnGiftCardUpdating - -```csharp -public static void OnGiftCardUpdating(Action callback) -``` - - ---- - -#### OnOrderCreated - -```csharp -public static void OnOrderCreated(Action callback) -``` - - ---- - -#### OnOrderCreating - -```csharp -public static void OnOrderCreating(Action callback) -``` - - ---- - -#### OnOrderDeleted - -```csharp -public static void OnOrderDeleted(Action callback) -``` - - ---- - -#### OnOrderDeleting - -```csharp -public static void OnOrderDeleting(Action callback) -``` - - ---- - -#### OnOrderFinalized - -```csharp -public static void OnOrderFinalized(Action callback) -``` - - ---- - -#### OnOrderFinalizing - -```csharp -public static void OnOrderFinalizing(Action callback) -``` - - ---- - -#### OnOrderSaved - -```csharp -public static void OnOrderSaved(Action callback) -``` - - ---- - -#### OnOrderSaving - -```csharp -public static void OnOrderSaving(Action callback) -``` - - ---- - -#### OnOrderStatusChanged - -```csharp -public static void OnOrderStatusChanged(Action callback) -``` - - ---- - -#### OnOrderStatusChanging - -```csharp -public static void OnOrderStatusChanging(Action callback) -``` - - ---- - -#### OnOrderStatusCreated - -```csharp -public static void OnOrderStatusCreated(Action callback) -``` - - ---- - -#### OnOrderStatusCreating - -```csharp -public static void OnOrderStatusCreating(Action callback) -``` - - ---- - -#### OnOrderStatusDeleted - -```csharp -public static void OnOrderStatusDeleted(Action callback) -``` - - ---- - -#### OnOrderStatusDeleting - -```csharp -public static void OnOrderStatusDeleting(Action callback) -``` - - ---- - -#### OnOrderStatusSaved - -```csharp -public static void OnOrderStatusSaved(Action callback) -``` - - ---- - -#### OnOrderStatusSaving - -```csharp -public static void OnOrderStatusSaving(Action callback) -``` - - ---- - -#### OnOrderStatusUpdated - -```csharp -public static void OnOrderStatusUpdated(Action callback) -``` - - ---- - -#### OnOrderStatusUpdating - -```csharp -public static void OnOrderStatusUpdating(Action callback) -``` - - ---- - -#### OnOrderTransactionChanged - -```csharp -public static void OnOrderTransactionChanged(Action callback) -``` - - ---- - -#### OnOrderTransactionChanging - -```csharp -public static void OnOrderTransactionChanging(Action callback) -``` - - ---- - -#### OnOrderUpdated - -```csharp -public static void OnOrderUpdated(Action callback) -``` - - ---- - -#### OnOrderUpdating - -```csharp -public static void OnOrderUpdating(Action callback) -``` - - ---- - -#### OnPaymentFormGenerting - -```csharp -public static void OnPaymentFormGenerting(Action callback) -``` - - ---- - -#### OnPaymentMethodCreated - -```csharp -public static void OnPaymentMethodCreated(Action callback) -``` - - ---- - -#### OnPaymentMethodCreating - -```csharp -public static void OnPaymentMethodCreating(Action callback) -``` - - ---- - -#### OnPaymentMethodDeleted - -```csharp -public static void OnPaymentMethodDeleted(Action callback) -``` - - ---- - -#### OnPaymentMethodDeleting - -```csharp -public static void OnPaymentMethodDeleting(Action callback) -``` - - ---- - -#### OnPaymentMethodSaved - -```csharp -public static void OnPaymentMethodSaved(Action callback) -``` - - ---- - -#### OnPaymentMethodSaving - -```csharp -public static void OnPaymentMethodSaving(Action callback) -``` - - ---- - -#### OnPaymentMethodUpdated - -```csharp -public static void OnPaymentMethodUpdated(Action callback) -``` - - ---- - -#### OnPaymentMethodUpdating - -```csharp -public static void OnPaymentMethodUpdating(Action callback) -``` - - ---- - -#### OnPipelineFail - -```csharp -public static void OnPipelineFail(Action callback) -``` - - ---- - -#### OnPipelineSuccess - -```csharp -public static void OnPipelineSuccess(Action callback) -``` - - ---- - -#### OnPrintTemplateCreated - -```csharp -public static void OnPrintTemplateCreated(Action callback) -``` - - ---- - -#### OnPrintTemplateCreating - -```csharp -public static void OnPrintTemplateCreating(Action callback) -``` - - ---- - -#### OnPrintTemplateDeleted - -```csharp -public static void OnPrintTemplateDeleted(Action callback) -``` - - ---- - -#### OnPrintTemplateDeleting - -```csharp -public static void OnPrintTemplateDeleting(Action callback) -``` - - ---- - -#### OnPrintTemplateSaved - -```csharp -public static void OnPrintTemplateSaved(Action callback) -``` - - ---- - -#### OnPrintTemplateSaving - -```csharp -public static void OnPrintTemplateSaving(Action callback) -``` - - ---- - -#### OnPrintTemplateUpdated - -```csharp -public static void OnPrintTemplateUpdated(Action callback) -``` - - ---- - -#### OnPrintTemplateUpdating - -```csharp -public static void OnPrintTemplateUpdating(Action callback) -``` - - ---- - -#### OnProductAttributeCreated - -```csharp -public static void OnProductAttributeCreated(Action callback) -``` - - ---- - -#### OnProductAttributeCreating - -```csharp -public static void OnProductAttributeCreating(Action callback) -``` - - ---- - -#### OnProductAttributeDeleted - -```csharp -public static void OnProductAttributeDeleted(Action callback) -``` - - ---- - -#### OnProductAttributeDeleting - -```csharp -public static void OnProductAttributeDeleting(Action callback) -``` - - ---- - -#### OnProductAttributePresetCreated - -```csharp -public static void OnProductAttributePresetCreated( - Action callback) -``` - - ---- - -#### OnProductAttributePresetCreating - -```csharp -public static void OnProductAttributePresetCreating( - Action callback) -``` - - ---- - -#### OnProductAttributePresetDeleted - -```csharp -public static void OnProductAttributePresetDeleted( - Action callback) -``` - - ---- - -#### OnProductAttributePresetDeleting - -```csharp -public static void OnProductAttributePresetDeleting( - Action callback) -``` - - ---- - -#### OnProductAttributePresetSaved - -```csharp -public static void OnProductAttributePresetSaved( - Action callback) -``` - - ---- - -#### OnProductAttributePresetSaving - -```csharp -public static void OnProductAttributePresetSaving( - Action callback) -``` - - ---- - -#### OnProductAttributePresetUpdated - -```csharp -public static void OnProductAttributePresetUpdated( - Action callback) -``` - - ---- - -#### OnProductAttributePresetUpdating - -```csharp -public static void OnProductAttributePresetUpdating( - Action callback) -``` - - ---- - -#### OnProductAttributeSaved - -```csharp -public static void OnProductAttributeSaved(Action callback) -``` - - ---- - -#### OnProductAttributeSaving - -```csharp -public static void OnProductAttributeSaving(Action callback) -``` - - ---- - -#### OnProductAttributeUpdated - -```csharp -public static void OnProductAttributeUpdated(Action callback) -``` - - ---- - -#### OnProductAttributeUpdating - -```csharp -public static void OnProductAttributeUpdating(Action callback) -``` - - ---- - -#### OnRegionCreated - -```csharp -public static void OnRegionCreated(Action callback) -``` - - ---- - -#### OnRegionCreating - -```csharp -public static void OnRegionCreating(Action callback) -``` - - ---- - -#### OnRegionDeleted - -```csharp -public static void OnRegionDeleted(Action callback) -``` - - ---- - -#### OnRegionDeleting - -```csharp -public static void OnRegionDeleting(Action callback) -``` - - ---- - -#### OnRegionSaved - -```csharp -public static void OnRegionSaved(Action callback) -``` - - ---- - -#### OnRegionSaving - -```csharp -public static void OnRegionSaving(Action callback) -``` - - ---- - -#### OnRegionUpdated - -```csharp -public static void OnRegionUpdated(Action callback) -``` - - ---- - -#### OnRegionUpdating - -```csharp -public static void OnRegionUpdating(Action callback) -``` - - ---- - -#### OnShippingMethodCreated - -```csharp -public static void OnShippingMethodCreated(Action callback) -``` - - ---- - -#### OnShippingMethodCreating - -```csharp -public static void OnShippingMethodCreating(Action callback) -``` - - ---- - -#### OnShippingMethodDeleted - -```csharp -public static void OnShippingMethodDeleted(Action callback) -``` - - ---- - -#### OnShippingMethodDeleting - -```csharp -public static void OnShippingMethodDeleting(Action callback) -``` - - ---- - -#### OnShippingMethodSaved - -```csharp -public static void OnShippingMethodSaved(Action callback) -``` - - ---- - -#### OnShippingMethodSaving - -```csharp -public static void OnShippingMethodSaving(Action callback) -``` - - ---- - -#### OnShippingMethodUpdated - -```csharp -public static void OnShippingMethodUpdated(Action callback) -``` - - ---- - -#### OnShippingMethodUpdating - -```csharp -public static void OnShippingMethodUpdating(Action callback) -``` - - ---- - -#### OnStockChanged - -```csharp -public static void OnStockChanged(Action callback) -``` - - ---- - -#### OnStockChanging - -```csharp -public static void OnStockChanging(Action callback) -``` - - ---- - -#### OnStoreCreated - -```csharp -public static void OnStoreCreated(Action callback) -``` - - ---- - -#### OnStoreCreating - -```csharp -public static void OnStoreCreating(Action callback) -``` - - ---- - -#### OnStoreDeleted - -```csharp -public static void OnStoreDeleted(Action callback) -``` - - ---- - -#### OnStoreDeleting - -```csharp -public static void OnStoreDeleting(Action callback) -``` - - ---- - -#### OnStoreSaved - -```csharp -public static void OnStoreSaved(Action callback) -``` - - ---- - -#### OnStoreSaving - -```csharp -public static void OnStoreSaving(Action callback) -``` - - ---- - -#### OnStoreUpdated - -```csharp -public static void OnStoreUpdated(Action callback) -``` - - ---- - -#### OnStoreUpdating - -```csharp -public static void OnStoreUpdating(Action callback) -``` - - ---- - -#### OnTaxClassCreated - -```csharp -public static void OnTaxClassCreated(Action callback) -``` - - ---- - -#### OnTaxClassCreating - -```csharp -public static void OnTaxClassCreating(Action callback) -``` - - ---- - -#### OnTaxClassDeleted - -```csharp -public static void OnTaxClassDeleted(Action callback) -``` - - ---- - -#### OnTaxClassDeleting - -```csharp -public static void OnTaxClassDeleting(Action callback) -``` - - ---- - -#### OnTaxClassSaved - -```csharp -public static void OnTaxClassSaved(Action callback) -``` - - ---- - -#### OnTaxClassSaving - -```csharp -public static void OnTaxClassSaving(Action callback) -``` - - ---- - -#### OnTaxClassUpdated - -```csharp -public static void OnTaxClassUpdated(Action callback) -``` - - ---- - -#### OnTaxClassUpdating - -```csharp -public static void OnTaxClassUpdating(Action callback) -``` - - ---- - -#### OnUnitOfWorkCreated - -```csharp -public static void OnUnitOfWorkCreated(Action callback) -``` - - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/README.md deleted file mode 100644 index 0bb16f43b8f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Finders -description: API reference for Umbraco.Commerce.Core.Finders in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Finders namespace - -| Public Type | Description | -| --- | --- | -| abstract class [FinderResultBase<TModel>](finderresultbase-1.md) | | -| interface [IOrderFinder](iorderfinder.md) | | -| class [OrderFinderCollection](orderfindercollection.md) | | -| class [OrderFinderResult](orderfinderresult.md) | | -| class [StoreFinderResult](storefinderresult.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/finderresultbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/finderresultbase-1.md deleted file mode 100644 index fb6b4aab9a3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/finderresultbase-1.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: FinderResultBase -description: API reference for FinderResultBase in Umbraco Commerce ---- -## FinderResultBase<TModel> - -```csharp -public abstract class FinderResultBase -``` - -**Namespace** -* [Umbraco.Commerce.Core.Finders](README.md) - -### Properties - -#### Success - -```csharp -public bool Success { get; } -``` - - ---- - -#### Value - -```csharp -public TModel Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/iorderfinder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/iorderfinder.md deleted file mode 100644 index 055f99d3b62..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/iorderfinder.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IOrderFinder -description: API reference for IOrderFinder in Umbraco Commerce ---- -## IOrderFinder - -```csharp -public interface IOrderFinder -``` - -**Namespace** -* [Umbraco.Commerce.Core.Finders](README.md) - -### Methods - -#### FindOrder - -```csharp -public OrderFinderResult FindOrder(Guid storeId, string customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/orderfindercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/orderfindercollection.md deleted file mode 100644 index f178fd87d3d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/orderfindercollection.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: OrderFinderCollection -description: API reference for OrderFinderCollection in Umbraco Commerce ---- -## OrderFinderCollection - -```csharp -public class OrderFinderCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Finders](README.md) - -### Constructors - -#### OrderFinderCollection - -```csharp -public OrderFinderCollection(Func> itemsFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/orderfinderresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/orderfinderresult.md deleted file mode 100644 index f39c8d1370b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/orderfinderresult.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: OrderFinderResult -description: API reference for OrderFinderResult in Umbraco Commerce ---- -## OrderFinderResult - -```csharp -public class OrderFinderResult : FinderResultBase -``` - -**Inheritance** - -* Class [FinderResultBase<TModel>](finderresultbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Finders](README.md) - -### Methods - -#### Fail - -```csharp -public static OrderFinderResult Fail() -``` - - ---- - -#### Succeed - -```csharp -public static OrderFinderResult Succeed(OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/storefinderresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/storefinderresult.md deleted file mode 100644 index 9f280cee1dc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-finders/storefinderresult.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: StoreFinderResult -description: API reference for StoreFinderResult in Umbraco Commerce ---- -## StoreFinderResult - -```csharp -public class StoreFinderResult : FinderResultBase -``` - -**Inheritance** - -* Class [FinderResultBase<TModel>](finderresultbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Finders](README.md) - -### Methods - -#### Fail - -```csharp -public static StoreFinderResult Fail() -``` - - ---- - -#### Succeed - -```csharp -public static StoreFinderResult Succeed(StoreReadOnly store) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/README.md deleted file mode 100644 index 57ab279b05b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Generators -description: API reference for Umbraco.Commerce.Core.Generators in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Generators namespace - -| Public Type | Description | -| --- | --- | -| class [DateHashOrderNumberGenerator](datehashordernumbergenerator.md) | | -| class [DefaultGiftCardCodeGenerator](defaultgiftcardcodegenerator.md) | | -| interface [IGiftCardCodeGenerator](igiftcardcodegenerator.md) | | -| interface [IOrderNumberGenerator](iordernumbergenerator.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/datehashordernumbergenerator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/datehashordernumbergenerator.md deleted file mode 100644 index 4e3a098f351..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/datehashordernumbergenerator.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: DateHashOrderNumberGenerator -description: API reference for DateHashOrderNumberGenerator in Umbraco Commerce ---- -## DateHashOrderNumberGenerator - -```csharp -public class DateHashOrderNumberGenerator : IOrderNumberGenerator -``` - -**Inheritance** - -* interface [IOrderNumberGenerator](iordernumbergenerator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Generators](README.md) - -### Constructors - -#### DateHashOrderNumberGenerator - -```csharp -public DateHashOrderNumberGenerator(IStoreService storeService) -``` - - -### Methods - -#### GenerateCartNumber - -```csharp -public string GenerateCartNumber(Guid storeId) -``` - - ---- - -#### GenerateOrderNumber - -```csharp -public string GenerateOrderNumber(Guid storeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/defaultgiftcardcodegenerator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/defaultgiftcardcodegenerator.md deleted file mode 100644 index a8ece5aa239..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/defaultgiftcardcodegenerator.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: DefaultGiftCardCodeGenerator -description: API reference for DefaultGiftCardCodeGenerator in Umbraco Commerce ---- -## DefaultGiftCardCodeGenerator - -```csharp -public class DefaultGiftCardCodeGenerator : IGiftCardCodeGenerator -``` - -**Inheritance** - -* interface [IGiftCardCodeGenerator](igiftcardcodegenerator.md) - -**Namespace** -* [Umbraco.Commerce.Core.Generators](README.md) - -### Constructors - -#### DefaultGiftCardCodeGenerator - -```csharp -public DefaultGiftCardCodeGenerator(IStoreService storeService) -``` - - -### Methods - -#### GenerateGiftCardCode - -```csharp -public string GenerateGiftCardCode(Guid storeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/igiftcardcodegenerator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/igiftcardcodegenerator.md deleted file mode 100644 index 90f55c2c3e6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/igiftcardcodegenerator.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IGiftCardCodeGenerator -description: API reference for IGiftCardCodeGenerator in Umbraco Commerce ---- -## IGiftCardCodeGenerator - -```csharp -public interface IGiftCardCodeGenerator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Generators](README.md) - -### Methods - -#### GenerateGiftCardCode - -```csharp -public string GenerateGiftCardCode(Guid storeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/iordernumbergenerator.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/iordernumbergenerator.md deleted file mode 100644 index 1ea4e06efac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-generators/iordernumbergenerator.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IOrderNumberGenerator -description: API reference for IOrderNumberGenerator in Umbraco Commerce ---- -## IOrderNumberGenerator - -```csharp -public interface IOrderNumberGenerator -``` - -**Namespace** -* [Umbraco.Commerce.Core.Generators](README.md) - -### Methods - -#### GenerateCartNumber - -```csharp -public string GenerateCartNumber(Guid storeId) -``` - - ---- - -#### GenerateOrderNumber - -```csharp -public string GenerateOrderNumber(Guid storeId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/README.md deleted file mode 100644 index 044d2bbf9b0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Json -description: API reference for Umbraco.Commerce.Core.Json in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Json namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceAdjustmentContractResolver](umbracocommerceadjustmentcontractresolver.md) | | -| class [UmbracoCommerceSettingContractResolver](umbracocommercesettingcontractresolver.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/umbracocommerceadjustmentcontractresolver.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/umbracocommerceadjustmentcontractresolver.md deleted file mode 100644 index c0445adbfa0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/umbracocommerceadjustmentcontractresolver.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: UmbracoCommerceAdjustmentContractResolver -description: API reference for UmbracoCommerceAdjustmentContractResolver in Umbraco Commerce ---- -## UmbracoCommerceAdjustmentContractResolver - -```csharp -public class UmbracoCommerceAdjustmentContractResolver : DefaultContractResolver -``` - -**Namespace** -* [Umbraco.Commerce.Core.Json](README.md) - -### Constructors - -#### UmbracoCommerceAdjustmentContractResolver - -```csharp -public UmbracoCommerceAdjustmentContractResolver(Type baseType) -``` - - -### Methods - -#### Create - -```csharp -public static UmbracoCommerceAdjustmentContractResolver Create(Type baseType) -``` - - ---- - -#### Create<T> - -```csharp -public static UmbracoCommerceAdjustmentContractResolver Create() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/umbracocommercesettingcontractresolver.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/umbracocommercesettingcontractresolver.md deleted file mode 100644 index 26694a03374..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-json/umbracocommercesettingcontractresolver.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceSettingContractResolver -description: API reference for UmbracoCommerceSettingContractResolver in Umbraco Commerce ---- -## UmbracoCommerceSettingContractResolver - -```csharp -public class UmbracoCommerceSettingContractResolver : DefaultContractResolver -``` - -**Namespace** -* [Umbraco.Commerce.Core.Json](README.md) - -### Constructors - -#### UmbracoCommerceSettingContractResolver - -The default constructor. - -```csharp -public UmbracoCommerceSettingContractResolver() -``` - - -### Fields - -#### Instance - -```csharp -public static readonly UmbracoCommerceSettingContractResolver Instance; -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-mail/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-mail/README.md deleted file mode 100644 index dfb075e7ab8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-mail/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Mail -description: API reference for Umbraco.Commerce.Core.Mail in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Mail namespace - -| Public Type | Description | -| --- | --- | -| interface [IEmailSender](iemailsender.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-mail/iemailsender.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-mail/iemailsender.md deleted file mode 100644 index 90d1ebad6a4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-mail/iemailsender.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IEmailSender -description: API reference for IEmailSender in Umbraco Commerce ---- -## IEmailSender - -```csharp -public interface IEmailSender -``` - -**Namespace** -* [Umbraco.Commerce.Core.Mail](README.md) - -### Methods - -#### SendAsync - -```csharp -public Task SendAsync(MailMessage message) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/README.md deleted file mode 100644 index 7d67c549713..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/README.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Models.Reporting -description: API reference for Umbraco.Commerce.Core.Models.Reporting in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Models.Reporting namespace - -| Public Type | Description | -| --- | --- | -| class [CartConversionRateData](cartconversionratedata.md) | | -| class [CartConversionRatesReportData](cartconversionratesreportdata.md) | | -| class [CartTotals](carttotals.md) | | -| class [DateRecord<TValue>](daterecord-1.md) | | -| class [DateReportData<TValue>](datereportdata-1.md) | | -| class [ProductData](productdata.md) | | -| class [ProductSalesData](productsalesdata.md) | | -| class [ProductSalesReportData](productsalesreportdata.md) | | -| class [RepeatCustomerRates](repeatcustomerrates.md) | | -| class [RepeatCustomerRatesReportData](repeatcustomerratesreportdata.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/cartconversionratedata.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/cartconversionratedata.md deleted file mode 100644 index f415e809c39..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/cartconversionratedata.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: CartConversionRateData -description: API reference for CartConversionRateData in Umbraco Commerce ---- -## CartConversionRateData - -```csharp -public class CartConversionRateData -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### CartConversionRateData - -The default constructor. - -```csharp -public CartConversionRateData() -``` - - -### Properties - -#### CurrentCarts - -```csharp -public long CurrentCarts { get; set; } -``` - - ---- - -#### CurrentPercentageOfTotalCarts - -```csharp -public decimal CurrentPercentageOfTotalCarts { get; set; } -``` - - ---- - -#### PercentageChange - -```csharp -public decimal? PercentageChange { get; set; } -``` - - ---- - -#### PercentagePointChange - -```csharp -public decimal? PercentagePointChange { get; set; } -``` - - ---- - -#### PreviousCarts - -```csharp -public long? PreviousCarts { get; set; } -``` - - ---- - -#### PreviousPercentageOfTotalCarts - -```csharp -public decimal? PreviousPercentageOfTotalCarts { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/cartconversionratesreportdata.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/cartconversionratesreportdata.md deleted file mode 100644 index 2042e4e322f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/cartconversionratesreportdata.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: CartConversionRatesReportData -description: API reference for CartConversionRatesReportData in Umbraco Commerce ---- -## CartConversionRatesReportData - -```csharp -public class CartConversionRatesReportData -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### CartConversionRatesReportData - -The default constructor. - -```csharp -public CartConversionRatesReportData() -``` - - -### Properties - -#### CurrentTotalCarts - -```csharp -public long CurrentTotalCarts { get; set; } -``` - - ---- - -#### PreviousTotalCarts - -```csharp -public long? PreviousTotalCarts { get; set; } -``` - - ---- - -#### TotalCartsFinalized - -```csharp -public CartConversionRateData TotalCartsFinalized { get; set; } -``` - - ---- - -#### TotalCartsReachedCheckout - -```csharp -public CartConversionRateData TotalCartsReachedCheckout { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/carttotals.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/carttotals.md deleted file mode 100644 index 24b2a6a131d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/carttotals.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: CartTotals -description: API reference for CartTotals in Umbraco Commerce ---- -## CartTotals - -```csharp -public class CartTotals -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### CartTotals - -The default constructor. - -```csharp -public CartTotals() -``` - - -### Properties - -#### TotalCarts - -```csharp -public long TotalCarts { get; set; } -``` - - ---- - -#### TotalCartsFinalized - -```csharp -public long TotalCartsFinalized { get; set; } -``` - - ---- - -#### TotalCartsReachedCheckout - -```csharp -public long TotalCartsReachedCheckout { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/daterecord-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/daterecord-1.md deleted file mode 100644 index e8869625131..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/daterecord-1.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: DateRecord -description: API reference for DateRecord in Umbraco Commerce ---- -## DateRecord<TValue> - -```csharp -public class DateRecord -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### DateRecord<TValue> - -The default constructor. - -```csharp -public DateRecord() -``` - - -### Properties - -#### Date - -```csharp -public DateTime Date { get; set; } -``` - - ---- - -#### Value - -```csharp -public TValue Value { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/datereportdata-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/datereportdata-1.md deleted file mode 100644 index 1aa3c208104..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/datereportdata-1.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: DateReportData -description: API reference for DateReportData in Umbraco Commerce ---- -## DateReportData<TValue> - -```csharp -public class DateReportData -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### DateReportData<TValue> - -The default constructor. - -```csharp -public DateReportData() -``` - - -### Properties - -#### CurrentTotalsOverTime - -```csharp -public IEnumerable> CurrentTotalsOverTime { get; set; } -``` - - ---- - -#### PercentageChange - -```csharp -public decimal? PercentageChange { get; set; } -``` - - ---- - -#### PercentagePointChange - -```csharp -public decimal? PercentagePointChange { get; set; } -``` - - ---- - -#### PreviousTotalsOverTime - -```csharp -public IEnumerable> PreviousTotalsOverTime { get; set; } -``` - - ---- - -#### Total - -```csharp -public TValue Total { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productdata.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productdata.md deleted file mode 100644 index 4ee07d34f27..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productdata.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: ProductData -description: API reference for ProductData in Umbraco Commerce ---- -## ProductData - -```csharp -public class ProductData -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### ProductData - -The default constructor. - -```csharp -public ProductData() -``` - - -### Properties - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; set; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; set; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; set; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productsalesdata.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productsalesdata.md deleted file mode 100644 index ef42c3ea0eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productsalesdata.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: ProductSalesData -description: API reference for ProductSalesData in Umbraco Commerce ---- -## ProductSalesData - -```csharp -public class ProductSalesData : ProductData -``` - -**Inheritance** - -* Class [ProductData](productdata.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### ProductSalesData - -The default constructor. - -```csharp -public ProductSalesData() -``` - - -### Properties - -#### PercentageChange - -```csharp -public decimal? PercentageChange { get; set; } -``` - - ---- - -#### TotalQuantity - -```csharp -public decimal TotalQuantity { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productsalesreportdata.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productsalesreportdata.md deleted file mode 100644 index 4ec16f619bc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/productsalesreportdata.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ProductSalesReportData -description: API reference for ProductSalesReportData in Umbraco Commerce ---- -## ProductSalesReportData - -```csharp -public class ProductSalesReportData -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### ProductSalesReportData - -The default constructor. - -```csharp -public ProductSalesReportData() -``` - - -### Properties - -#### Products - -```csharp -public IEnumerable Products { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/repeatcustomerrates.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/repeatcustomerrates.md deleted file mode 100644 index ef468715ce2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/repeatcustomerrates.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: RepeatCustomerRates -description: API reference for RepeatCustomerRates in Umbraco Commerce ---- -## RepeatCustomerRates - -```csharp -public class RepeatCustomerRates -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### RepeatCustomerRates - -The default constructor. - -```csharp -public RepeatCustomerRates() -``` - - -### Properties - -#### RepeatCustomers - -```csharp -public long RepeatCustomers { get; set; } -``` - - ---- - -#### TotalCustomers - -```csharp -public long TotalCustomers { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/repeatcustomerratesreportdata.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/repeatcustomerratesreportdata.md deleted file mode 100644 index 295d6ae0cbb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models-reporting/repeatcustomerratesreportdata.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: RepeatCustomerRatesReportData -description: API reference for RepeatCustomerRatesReportData in Umbraco Commerce ---- -## RepeatCustomerRatesReportData - -```csharp -public class RepeatCustomerRatesReportData -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models.Reporting](README.md) - -### Constructors - -#### RepeatCustomerRatesReportData - -The default constructor. - -```csharp -public RepeatCustomerRatesReportData() -``` - - -### Properties - -#### PercentageChange - -```csharp -public decimal? PercentageChange { get; set; } -``` - - ---- - -#### PercentagePointChange - -```csharp -public decimal? PercentagePointChange { get; set; } -``` - - ---- - -#### RepeatCustomerRate - -```csharp -public decimal RepeatCustomerRate { get; set; } -``` - - ---- - -#### RepeatCustomerRatesOverTime - -```csharp -public IEnumerable> RepeatCustomerRatesOverTime { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/README.md deleted file mode 100644 index 94b02c0911a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/README.md +++ /dev/null @@ -1,184 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Models -description: API reference for Umbraco.Commerce.Core.Models in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Models namespace - -| Public Type | Description | -| --- | --- | -| class [ActivityLogEntry](activitylogentry.md) | | -| class [AdjustedAmount](adjustedamount.md) | | -| class [AdjustedPrice](adjustedprice.md) | | -| enum [AdjustmentType](adjustmenttype.md) | | -| abstract class [AggregateBase<TReadOnlySelf,TWritableSelf,TState>](aggregatebase-3.md) | The base class of an aggregate entity | -| abstract class [AggregateStateBase](aggregatestatebase.md) | | -| abstract class [AliasNamePair](aliasnamepair.md) | Represents an Alias + Name combination | -| class [AllowedCountry](allowedcountry.md) | | -| class [AllowedCountryRegion](allowedcountryregion.md) | | -| class [AllowedProductAttribute](allowedproductattribute.md) | | -| class [AllowedUser](alloweduser.md) | | -| class [AllowedUserRole](alloweduserrole.md) | | -| class [Amount](amount.md) | An amount object | -| abstract class [AmountAdjustment<TSelf>](amountadjustment-1.md) | | -| abstract class [AmountAdjustment](amountadjustment.md) | | -| class [AppliedDiscountCode](applieddiscountcode.md) | | -| class [AppliedGiftCard](appliedgiftcard.md) | | -| class [Attribute](attribute.md) | | -| class [AttributeCombination](attributecombination.md) | | -| class [AttributeName](attributename.md) | | -| class [AttributeValue](attributevalue.md) | | -| class [BundledOrderLineReadOnly](bundledorderlinereadonly.md) | | -| class [BundleOrderLineReadOnly](bundleorderlinereadonly.md) | | -| class [Country](country.md) | | -| class [CountryReadOnly](countryreadonly.md) | | -| class [CountryRegionTaxRate](countryregiontaxrate.md) | | -| class [Currency](currency.md) | | -| class [CurrencyFormatter](currencyformatter.md) | | -| class [CurrencyReadOnly](currencyreadonly.md) | | -| class [Discount](discount.md) | | -| class [DiscountAdjustment](discountadjustment.md) | | -| class [DiscountCode](discountcode.md) | | -| class [DiscountReadOnly](discountreadonly.md) | | -| class [DiscountRewardConfig](discountrewardconfig.md) | | -| class [DiscountRuleConfig](discountruleconfig.md) | | -| enum [DiscountStatus](discountstatus.md) | | -| enum [DiscountType](discounttype.md) | | -| class [EmailContext](emailcontext.md) | | -| class [EmailTemplate](emailtemplate.md) | | -| class [EmailTemplateReadOnly](emailtemplatereadonly.md) | | -| abstract class [EntityBase<TState>](entitybase-1.md) | Base class for an entity | -| abstract class [EntityBase](entitybase.md) | Base class for an entity | -| class [EntityCacheIntegrityCheckOptions](entitycacheintegritycheckoptions.md) | | -| class [EntityCacheIntegrityCheckResult](entitycacheintegritycheckresult.md) | | -| class [EntityCacheIntegrityCheckResultEntry](entitycacheintegritycheckresultentry.md) | | -| abstract class [EntityStateBase](entitystatebase.md) | | -| enum [ExportStrategy](exportstrategy.md) | | -| class [ExportTemplate](exporttemplate.md) | | -| class [ExportTemplateReadOnly](exporttemplatereadonly.md) | | -| class [FormattedAmount](formattedamount.md) | An amount formatted for the given amount [`Currency`](umbraco-commerce-core-models/currency.md) | -| class [FormattedPrice](formattedprice.md) | A price formatted for the given prices [`Currency`](umbraco-commerce-core-models/currency.md) | -| class [FormattedValue<TValue>](formattedvalue-1.md) | | -| class [FreezablePrice](freezableprice.md) | | -| class [FrozenPrice](frozenprice.md) | | -| class [FulfilledDiscount](fulfilleddiscount.md) | | -| class [GiftCard](giftcard.md) | | -| enum [GiftCardActivationMethod](giftcardactivationmethod.md) | | -| class [GiftCardAdjustment](giftcardadjustment.md) | | -| class [GiftCardReadOnly](giftcardreadonly.md) | | -| enum [GiftCardStatus](giftcardstatus.md) | | -| interface [IAmount](iamount.md) | | -| interface [IHasAlias](ihasalias.md) | | -| interface [IHasCode](ihascode.md) | | -| interface [IHasName](ihasname.md) | | -| interface [IHasReadableAllowedCountries](ihasreadableallowedcountries.md) | | -| interface [IHasReadableAllowedCountryRegions](ihasreadableallowedcountryregions.md) | | -| interface [IHasReadableOrderLines<T>](ihasreadableorderlines-1.md) | | -| interface [IHasReadableOrderLines](ihasreadableorderlines.md) | | -| interface [IHasReadableProperties](ihasreadableproperties.md) | | -| interface [IHasReadableServicePrices](ihasreadableserviceprices.md) | | -| interface [IHasSortOrder](ihassortorder.md) | | -| interface [IHasStore](ihasstore.md) | | -| interface [IHasWritableServicePrices<TAggregate>](ihaswritableserviceprices-1.md) | | -| interface [IHasWrtiableAllowedCountries<TAggregate>](ihaswrtiableallowedcountries-1.md) | | -| interface [IHasWrtiableAllowedCountryRegions<TAggregate>](ihaswrtiableallowedcountryregions-1.md) | | -| class [InUseProductAttribute](inuseproductattribute.md) | | -| class [InUseProductAttributeValue](inuseproductattributevalue.md) | | -| interface [IPrice](iprice.md) | | -| interface [IProductSnapshot](iproductsnapshot.md) | | -| interface [IProductSummary](iproductsummary.md) | | -| interface [IProductSummaryCommon](iproductsummarycommon.md) | | -| interface [IProductVariantSummary](iproductvariantsummary.md) | | -| class [Iso3166Country](iso3166country.md) | | -| class [Iso3166CountryRegion](iso3166countryregion.md) | | -| static class [Iso4217](iso4217.md) | | -| interface [ISoftDeletable](isoftdeletable.md) | | -| interface [ISortable](isortable.md) | | -| interface [ITaggableReadOnlyEntity](itaggablereadonlyentity.md) | | -| interface [ITaggableWritableEntity<TEntity>](itaggablewritableentity-1.md) | | -| class [LazyProperty](lazyproperty.md) | | -| enum [MatchType](matchtype.md) | | -| class [Order](order.md) | A writable Order entity | -| class [OrderCalculation](ordercalculation.md) | | -| class [OrderCustomerInfo](ordercustomerinfo.md) | The customer information for an order | -| class [OrderExchangeRateLookup](orderexchangeratelookup.md) | | -| class [OrderLineBasePrice](orderlinebaseprice.md) | | -| class [OrderLineCalculation](orderlinecalculation.md) | | -| enum [OrderLinePriceType](orderlinepricetype.md) | | -| class [OrderLineReadOnly](orderlinereadonly.md) | A read only Order Line entity | -| enum [OrderLineSource](orderlinesource.md) | | -| class [OrderLineTotalPrice](orderlinetotalprice.md) | | -| class [OrderLineUnitPrice](orderlineunitprice.md) | | -| class [OrderPaymentInfo](orderpaymentinfo.md) | The payment information for an order | -| enum [OrderPriceType](orderpricetype.md) | | -| class [OrderReadOnly](orderreadonly.md) | A read only Order entity | -| class [OrderReference](orderreference.md) | | -| enum [OrderRoundingMethod](orderroundingmethod.md) | | -| class [OrderShippingInfo](ordershippinginfo.md) | The shipping information for an order | -| class [OrderStatus](orderstatus.md) | | -| enum [OrderStatusCode](orderstatuscode.md) | | -| class [OrderStatusReadOnly](orderstatusreadonly.md) | | -| class [OrderSubtotalPrice](ordersubtotalprice.md) | | -| class [OrderTotalPrice](ordertotalprice.md) | | -| class [OrderTransactionAmount](ordertransactionamount.md) | | -| class [OrderTransactionInfo](ordertransactioninfo.md) | The transaction information for an order | -| class [PaymentMethod](paymentmethod.md) | | -| class [PaymentMethodReadOnly](paymentmethodreadonly.md) | | -| class [PaymentResult](paymentresult.md) | | -| class [PaymentResultTransactionInfo](paymentresulttransactioninfo.md) | | -| enum [PaymentStatus](paymentstatus.md) | | -| class [Price](price.md) | A price object | -| abstract class [PriceAdjustment<TSelf>](priceadjustment-1.md) | | -| abstract class [PriceAdjustment](priceadjustment.md) | | -| enum [PriceAmountType](priceamounttype.md) | | -| class [PrintTemplate](printtemplate.md) | | -| class [PrintTemplateReadOnly](printtemplatereadonly.md) | | -| class [ProductAttribute](productattribute.md) | A Product Attribute entity | -| class [ProductAttributePreset](productattributepreset.md) | | -| class [ProductAttributePresetReadOnly](productattributepresetreadonly.md) | A read only Product Attribute Preset entity | -| class [ProductAttributeReadOnly](productattributereadonly.md) | A read only Product Attribute entity | -| class [ProductAttributeValueReadOnly](productattributevaluereadonly.md) | | -| class [ProductPrice](productprice.md) | | -| abstract class [ProductSnapshotBase](productsnapshotbase.md) | | -| abstract class [ProductSummaryBase](productsummarybase.md) | | -| abstract class [ProductSummaryCommonBase](productsummarycommonbase.md) | | -| abstract class [ProductVariantSummaryBase](productvariantsummarybase.md) | | -| class [Property](property.md) | | -| enum [PropertySource](propertysource.md) | | -| class [PropertyValue](propertyvalue.md) | | -| class [ReadOnlyAdjustedAmount](readonlyadjustedamount.md) | | -| class [ReadOnlyAdjustedPrice](readonlyadjustedprice.md) | | -| class [ReadOnlyOrderLineBasePrice](readonlyorderlinebaseprice.md) | | -| class [ReadOnlyOrderLineTotalPrice](readonlyorderlinetotalprice.md) | | -| class [ReadOnlyOrderLineUnitPrice](readonlyorderlineunitprice.md) | | -| class [ReadOnlyOrderSubtotalPrice](readonlyordersubtotalprice.md) | | -| class [ReadOnlyOrderTotalPrice](readonlyordertotalprice.md) | | -| class [ReadOnlyOrderTransactionAmount](readonlyordertransactionamount.md) | | -| class [ReadOnlyTotalPrice](readonlytotalprice.md) | | -| class [ReadOnlyTotalPriceWithPreviousAdjustment](readonlytotalpricewithpreviousadjustment.md) | | -| class [ReadOnlyTranslatedValue<T>](readonlytranslatedvalue-1.md) | | -| class [Region](region.md) | | -| class [RegionReadOnly](regionreadonly.md) | | -| class [RegisteredCustomerInfo](registeredcustomerinfo.md) | | -| class [RegisteredCustomerInfoBuilder](registeredcustomerinfobuilder.md) | | -| class [ServicePrice](serviceprice.md) | | -| enum [SetBehavior](setbehavior.md) | | -| class [ShippingMethod](shippingmethod.md) | | -| class [ShippingMethodReadOnly](shippingmethodreadonly.md) | | -| class [Store](store.md) | | -| abstract class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) | The base class of [`Store`](umbraco-commerce-core-models/store.md) based aggregate entity | -| abstract class [StoreAggregateStateBase](storeaggregatestatebase.md) | | -| abstract class [StoreEntityStateBase](storeentitystatebase.md) | | -| class [StoreReadOnly](storereadonly.md) | | -| class [StoreStats](storestats.md) | | -| class [StoreSummary](storesummary.md) | | -| class [TaxClass](taxclass.md) | | -| class [TaxClassReadOnly](taxclassreadonly.md) | | -| class [TaxRate](taxrate.md) | | -| class [TaxSource](taxsource.md) | | -| enum [TemplateCategory](templatecategory.md) | | -| class [TotalPrice](totalprice.md) | | -| class [TotalPriceWithPreviousAdjustment](totalpricewithpreviousadjustment.md) | | -| class [TranslatedValue<T>](translatedvalue-1.md) | | -| abstract class [UmbracoCommerceSettingDefinition](umbracocommercesettingdefinition.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/activitylogentry.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/activitylogentry.md deleted file mode 100644 index 509e5e4c118..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/activitylogentry.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -title: ActivityLogEntry -description: API reference for ActivityLogEntry in Umbraco Commerce ---- -## ActivityLogEntry - -```csharp -public class ActivityLogEntry : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### EntityId - -```csharp -public Guid EntityId { get; } -``` - - ---- - -#### EntitySummary - -```csharp -public string EntitySummary { get; } -``` - - ---- - -#### EntityType - -```csharp -public string EntityType { get; } -``` - - ---- - -#### EventDateUtc - -```csharp -public DateTime EventDateUtc { get; } -``` - - ---- - -#### EventSummary - -```csharp -public string EventSummary { get; } -``` - - ---- - -#### EventType - -```csharp -public string EventType { get; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - ---- - -#### UserId - -```csharp -public int UserId { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustedamount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustedamount.md deleted file mode 100644 index 09da25f10c5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustedamount.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -title: AdjustedAmount -description: API reference for AdjustedAmount in Umbraco Commerce ---- -## AdjustedAmount - -```csharp -public class AdjustedAmount : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Adjustment - -```csharp -public virtual Amount Adjustment { get; set; } -``` - - ---- - -#### Adjustments - -```csharp -public virtual List Adjustments { get; } -``` - - ---- - -#### Value - -```csharp -public virtual Amount Value { get; set; } -``` - - ---- - -#### WithoutAdjustments - -```csharp -public virtual Amount WithoutAdjustments { get; set; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static AdjustedAmount ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyAdjustedAmount AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public virtual object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### AdjustedAmount Implicit (1 of 2) - -```csharp -public static implicit operator Amount(AdjustedAmount adjustedAmount) -``` - ---- - -#### AdjustedAmount Implicit (2 of 2) - -```csharp -public static implicit operator decimal(AdjustedAmount adjustedAmount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustedprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustedprice.md deleted file mode 100644 index 642cdfc0640..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustedprice.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -title: AdjustedPrice -description: API reference for AdjustedPrice in Umbraco Commerce ---- -## AdjustedPrice - -```csharp -public class AdjustedPrice : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Adjustment - -```csharp -public virtual Price Adjustment { get; set; } -``` - - ---- - -#### Adjustments - -```csharp -public virtual List Adjustments { get; } -``` - - ---- - -#### Value - -```csharp -public virtual Price Value { get; set; } -``` - - ---- - -#### WithoutAdjustments - -```csharp -public virtual Price WithoutAdjustments { get; set; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static AdjustedPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyAdjustedPrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public virtual object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### AdjustedPrice Implicit (1 of 2) - -```csharp -public static implicit operator Price(AdjustedPrice adjustedPrice) -``` - ---- - -#### AdjustedPrice Implicit (2 of 2) - -```csharp -public static implicit operator decimal(AdjustedPrice adjustedPrice) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustmenttype.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustmenttype.md deleted file mode 100644 index 991fd9ea180..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/adjustmenttype.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: AdjustmentType -description: API reference for AdjustmentType in Umbraco Commerce ---- -## AdjustmentType - -```csharp -public enum AdjustmentType -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Amount | `0` | | -| Percentage | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aggregatebase-3.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aggregatebase-3.md deleted file mode 100644 index cc4cf98e459..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aggregatebase-3.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: AggregateBase -description: API reference for AggregateBase in Umbraco Commerce ---- -## AggregateBase<TReadOnlySelf,TWritableSelf,TState> - -The base class of an aggregate entity - -```csharp -public abstract class AggregateBase : EntityBase - where TReadOnlySelf : AggregateBase - where TWritableSelf : TReadOnlySelf - where TState : AggregateStateBase -``` - -**Inheritance** - -* Class [EntityBase<TState>](entitybase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TReadOnlySelf | The Type of the read only aggregate entity | -| TWritableSelf | The Type of the writable aggregate entity | -| TState | The Type of the shared state of the aggregate entities | - -### Properties - -#### IsNew - -Gets a boolean flag to indicate whether the entity is new and therefore has not yet been persisted to the database - -```csharp -public bool IsNew { get; } -``` - - -### Methods - -#### AsReadOnly - -Converts the entity into it's read only counterpart - -```csharp -public virtual TReadOnlySelf AsReadOnly() -``` - -**Returns** - -The read only entity - - ---- - -#### AsWritable - -Converts the entity into it's writable counterpart - -```csharp -public virtual TWritableSelf AsWritable(IUnitOfWork uow) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| uow | An active IUnitOfWork to use for write operations | - -**Returns** - -The writable entity - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aggregatestatebase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aggregatestatebase.md deleted file mode 100644 index 7f4ca7e5c9f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aggregatestatebase.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: AggregateStateBase -description: API reference for AggregateStateBase in Umbraco Commerce ---- -## AggregateStateBase - -```csharp -public abstract class AggregateStateBase : EntityStateBase -``` - -**Inheritance** - -* Class [EntityStateBase](entitystatebase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### IsNew - -```csharp -public bool IsNew { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aliasnamepair.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aliasnamepair.md deleted file mode 100644 index b1e0fe0f5d8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/aliasnamepair.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: AliasNamePair -description: API reference for AliasNamePair in Umbraco Commerce ---- -## AliasNamePair - -Represents an Alias + Name combination - -```csharp -public abstract class AliasNamePair : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -Gets the alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Name - -Gets the name - -```csharp -public string Name { get; set; } -``` - - -### Methods - -#### ToString - -Converts the alias name pair to a string - -```csharp -public override string ToString() -``` - - -### Operators - -#### AliasNamePair Implicit - -Explicit string conversion operator - -```csharp -public static implicit operator string(AliasNamePair anp) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| anp | The alias name pair to convert | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedcountry.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedcountry.md deleted file mode 100644 index fc4e29beb48..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedcountry.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: AllowedCountry -description: API reference for AllowedCountry in Umbraco Commerce ---- -## AllowedCountry - -```csharp -public class AllowedCountry : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AllowedCountry - -```csharp -public AllowedCountry(Guid countryId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedcountryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedcountryregion.md deleted file mode 100644 index 30ea50abb3e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedcountryregion.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: AllowedCountryRegion -description: API reference for AllowedCountryRegion in Umbraco Commerce ---- -## AllowedCountryRegion - -```csharp -public class AllowedCountryRegion : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AllowedCountryRegion - -```csharp -public AllowedCountryRegion(Guid countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedproductattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedproductattribute.md deleted file mode 100644 index 3ef6e2980d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/allowedproductattribute.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: AllowedProductAttribute -description: API reference for AllowedProductAttribute in Umbraco Commerce ---- -## AllowedProductAttribute - -```csharp -public class AllowedProductAttribute : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AllowedProductAttribute (1 of 2) - -```csharp -public AllowedProductAttribute(string productAttributeAlias) -``` - ---- - -#### AllowedProductAttribute (2 of 2) - -```csharp -public AllowedProductAttribute(string productAttributeAlias, - IEnumerable allowedValueAliases) -``` - - -### Properties - -#### AllowedValueAliases - -```csharp -public IEnumerable AllowedValueAliases { get; } -``` - - ---- - -#### ProductAttributeAlias - -```csharp -public string ProductAttributeAlias { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/alloweduser.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/alloweduser.md deleted file mode 100644 index 1dced080a1f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/alloweduser.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: AllowedUser -description: API reference for AllowedUser in Umbraco Commerce ---- -## AllowedUser - -```csharp -public class AllowedUser : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AllowedUser - -```csharp -public AllowedUser(string userId) -``` - - -### Properties - -#### UserId - -```csharp -public string UserId { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/alloweduserrole.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/alloweduserrole.md deleted file mode 100644 index bbf3479d190..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/alloweduserrole.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: AllowedUserRole -description: API reference for AllowedUserRole in Umbraco Commerce ---- -## AllowedUserRole - -```csharp -public class AllowedUserRole : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AllowedUserRole - -```csharp -public AllowedUserRole(string role) -``` - - -### Properties - -#### Role - -```csharp -public string Role { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amount.md deleted file mode 100644 index e47193c05b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amount.md +++ /dev/null @@ -1,172 +0,0 @@ ---- -title: Amount -description: API reference for Amount in Umbraco Commerce ---- -## Amount - -An amount object - -```csharp -public class Amount : ValueObjectBase, IAmount -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) -* interface [IAmount](iamount.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### Amount (1 of 2) - -Instantiates a new [`Amount`](amount.md) instance - -```csharp -public Amount(decimal value, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value of the amount | -| currencyId | The ID of the [`Currency`](currency.md) of the amount | - ---- - -#### Amount (2 of 2) - -Instantiates a new [`Amount`](amount.md) instance - -```csharp -public Amount(decimal value, CurrencyReadOnly currency) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value of the amount | -| currency | The [`Currency`](currency.md) of the amount | - - -### Properties - -#### CurrencyId - -Gets the ID of the [`Currency`](currency.md) of the amount - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Value - -Gets the value of the amount - -```csharp -public decimal Value { get; } -``` - - -### Methods - -#### OfSameCurrency - -Create a new [`Amount`](amount.md) of the same [`Currency`](currency.md) as an existing amount - -```csharp -public static Amount OfSameCurrency(Amount existingAmount, decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| existingAmount | The existing [`Amount`](amount.md) instance | -| value | The value of the new amount | - -**Returns** - -A new [`Amount`](amount.md) instance - - ---- - -#### ZeroValue - -Instantiates a new [`Amount`](amount.md) instance with a zero value - -```csharp -public static Amount ZeroValue(Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| currencyId | The ID of the [`Currency`](currency.md) of the amount | - -**Returns** - -A zero value [`Amount`](amount.md) instance - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### Rounded - -Round the price to the given preceission - -```csharp -public Amount Rounded(int decimalPlaces) -``` - -**Returns** - -A rounded price value - - -### Operators - -#### Amount Addition - -```csharp -public static Amount operator +(Amount amount1, Amount amount2) -``` - - ---- - -#### Amount Implicit - -```csharp -public static implicit operator decimal(Amount amount) -``` - - ---- - -#### Amount Subtraction - -```csharp -public static Amount operator -(Amount amount1, Amount amount2) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amountadjustment-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amountadjustment-1.md deleted file mode 100644 index 9f573a55151..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amountadjustment-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: AmountAdjustment -description: API reference for AmountAdjustment in Umbraco Commerce ---- -## AmountAdjustment<TSelf> - -```csharp -public abstract class AmountAdjustment : AmountAdjustment - where TSelf : AmountAdjustment, new() -``` - -**Inheritance** - -* Class [AmountAdjustment](amountadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### CreateDerivativeAdjustment - -```csharp -public override AmountAdjustment CreateDerivativeAdjustment(Amount limitedAmount) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amountadjustment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amountadjustment.md deleted file mode 100644 index 7d6f52f9f54..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/amountadjustment.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: AmountAdjustment -description: API reference for AmountAdjustment in Umbraco Commerce ---- -## AmountAdjustment - -```csharp -public abstract class AmountAdjustment : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Amount - -```csharp -public Amount Amount { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### OriginalAmount - -```csharp -public Amount OriginalAmount { get; } -``` - - ---- - -#### Type - -```csharp -public Type Type { get; } -``` - - -### Methods - -#### CreateDerivativeAdjustment - -```csharp -public abstract AmountAdjustment CreateDerivativeAdjustment(Amount limitedAmount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/applieddiscountcode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/applieddiscountcode.md deleted file mode 100644 index 0cbf39dcefc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/applieddiscountcode.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: AppliedDiscountCode -description: API reference for AppliedDiscountCode in Umbraco Commerce ---- -## AppliedDiscountCode - -```csharp -public class AppliedDiscountCode : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AppliedDiscountCode (1 of 2) - -```csharp -public AppliedDiscountCode(Guid discountId, string code) -``` - ---- - -#### AppliedDiscountCode (2 of 2) - -```csharp -public AppliedDiscountCode(Guid discountId, string code, bool isFullfilled) -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### DiscountId - -```csharp -public Guid DiscountId { get; } -``` - - ---- - -#### IsFulfilled - -```csharp -public bool IsFulfilled { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/appliedgiftcard.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/appliedgiftcard.md deleted file mode 100644 index f790fd36f95..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/appliedgiftcard.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: AppliedGiftCard -description: API reference for AppliedGiftCard in Umbraco Commerce ---- -## AppliedGiftCard - -```csharp -public class AppliedGiftCard : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AppliedGiftCard - -```csharp -public AppliedGiftCard(Guid giftCardId, string code) -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### GiftCardId - -```csharp -public Guid GiftCardId { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attribute.md deleted file mode 100644 index 58fb945d187..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attribute.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: Attribute -description: API reference for Attribute in Umbraco Commerce ---- -## Attribute - -```csharp -public class Attribute : AliasNamePair -``` - -**Inheritance** - -* Class [AliasNamePair](aliasnamepair.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### Attribute (1 of 2) - -```csharp -public Attribute(string alias, string name) -``` - ---- - -#### Attribute (2 of 2) - -```csharp -public Attribute(string alias, string name, IEnumerable values) -``` - - -### Properties - -#### Values - -```csharp -public IEnumerable Values { get; set; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributecombination.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributecombination.md deleted file mode 100644 index 904ea67dd5a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributecombination.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: AttributeCombination -description: API reference for AttributeCombination in Umbraco Commerce ---- -## AttributeCombination - -```csharp -public class AttributeCombination : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AttributeCombination - -```csharp -public AttributeCombination(AttributeName name, AttributeValue value) -``` - - -### Properties - -#### Name - -```csharp -public AttributeName Name { get; set; } -``` - - ---- - -#### Value - -```csharp -public AttributeValue Value { get; set; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributename.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributename.md deleted file mode 100644 index bcae91df09e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributename.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: AttributeName -description: API reference for AttributeName in Umbraco Commerce ---- -## AttributeName - -```csharp -public class AttributeName : AliasNamePair -``` - -**Inheritance** - -* Class [AliasNamePair](aliasnamepair.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AttributeName - -```csharp -public AttributeName(string alias, string name) -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributevalue.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributevalue.md deleted file mode 100644 index d99a3e5f9c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/attributevalue.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: AttributeValue -description: API reference for AttributeValue in Umbraco Commerce ---- -## AttributeValue - -```csharp -public class AttributeValue : AliasNamePair -``` - -**Inheritance** - -* Class [AliasNamePair](aliasnamepair.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### AttributeValue - -```csharp -public AttributeValue(string alias, string name) -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/bundledorderlinereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/bundledorderlinereadonly.md deleted file mode 100644 index 38a9805a2e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/bundledorderlinereadonly.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: BundledOrderLineReadOnly -description: API reference for BundledOrderLineReadOnly in Umbraco Commerce ---- -## BundledOrderLineReadOnly - -```csharp -public class BundledOrderLineReadOnly : OrderLineReadOnly -``` - -**Inheritance** - -* Class [OrderLineReadOnly](orderlinereadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### ParentBundleId - -Gets the bundle ID of the parent order line to this order line - -```csharp -public string ParentBundleId { get; } -``` - - ---- - -#### ParentOrderLineId - -Gets the ID of the parent [`OrderLineReadOnly`](orderlinereadonly.md) this entity belongs to - -```csharp -public Guid ParentOrderLineId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/bundleorderlinereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/bundleorderlinereadonly.md deleted file mode 100644 index 99a411aaa18..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/bundleorderlinereadonly.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: BundleOrderLineReadOnly -description: API reference for BundleOrderLineReadOnly in Umbraco Commerce ---- -## BundleOrderLineReadOnly - -```csharp -public class BundleOrderLineReadOnly : OrderLineReadOnly, - IHasReadableOrderLines -``` - -**Inheritance** - -* Class [OrderLineReadOnly](orderlinereadonly.md) -* interface [IHasReadableOrderLines<T>](ihasreadableorderlines-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### BundleId - -Gets the bundle ID of the order line - -```csharp -public string BundleId { get; } -``` - - ---- - -#### OrderLines - -Gets the child order lines of the order line - -```csharp -public IReadOnlyCollection OrderLines { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/country.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/country.md deleted file mode 100644 index a79d7f2564b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/country.md +++ /dev/null @@ -1,142 +0,0 @@ ---- -title: Country -description: API reference for Country in Umbraco Commerce ---- -## Country - -```csharp -public class Country : CountryReadOnly -``` - -**Inheritance** - -* Class [CountryReadOnly](countryreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static Country Create(IUnitOfWork uow, Guid storeId, string code, string name, - bool autoCreateRegions = false) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static Country Create(IUnitOfWork uow, Guid id, Guid storeId, string code, string name, - bool autoCreateRegions = false) -``` - - ---- - -#### ClearDefaultCurrency - -```csharp -public Country ClearDefaultCurrency() -``` - - ---- - -#### ClearDefaultPaymentMethod - -```csharp -public Country ClearDefaultPaymentMethod() -``` - - ---- - -#### ClearDefaultShippingMethod - -```csharp -public Country ClearDefaultShippingMethod() -``` - - ---- - -#### SetCode - -```csharp -public Country SetCode(string code) -``` - - ---- - -#### SetDefaultCurrency (1 of 2) - -```csharp -public Country SetDefaultCurrency(CurrencyReadOnly currency) -``` - ---- - -#### SetDefaultCurrency (2 of 2) - -```csharp -public Country SetDefaultCurrency(Guid? currencyId) -``` - - ---- - -#### SetDefaultPaymentMethod (1 of 2) - -```csharp -public Country SetDefaultPaymentMethod(PaymentMethodReadOnly paymentMethod) -``` - ---- - -#### SetDefaultPaymentMethod (2 of 2) - -```csharp -public Country SetDefaultPaymentMethod(Guid? paymentMethodId) -``` - - ---- - -#### SetDefaultShippingMethod (1 of 2) - -```csharp -public Country SetDefaultShippingMethod(ShippingMethodReadOnly shippingMethod) -``` - ---- - -#### SetDefaultShippingMethod (2 of 2) - -```csharp -public Country SetDefaultShippingMethod(Guid? shippingMethodId) -``` - - ---- - -#### SetName - -```csharp -public Country SetName(string name) -``` - - ---- - -#### SetSortOrder - -```csharp -public Country SetSortOrder(int sortOrder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/countryreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/countryreadonly.md deleted file mode 100644 index d72a63544ae..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/countryreadonly.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: CountryReadOnly -description: API reference for CountryReadOnly in Umbraco Commerce ---- -## CountryReadOnly - -```csharp -public class CountryReadOnly : StoreAggregateBase, IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### DefaultCurrencyId - -```csharp -public Guid? DefaultCurrencyId { get; } -``` - - ---- - -#### DefaultPaymentMethodId - -```csharp -public Guid? DefaultPaymentMethodId { get; } -``` - - ---- - -#### DefaultShippingMethodId - -```csharp -public Guid? DefaultShippingMethodId { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/countryregiontaxrate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/countryregiontaxrate.md deleted file mode 100644 index b6befc6258e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/countryregiontaxrate.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: CountryRegionTaxRate -description: API reference for CountryRegionTaxRate in Umbraco Commerce ---- -## CountryRegionTaxRate - -```csharp -public class CountryRegionTaxRate : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### CountryRegionTaxRate - -```csharp -public CountryRegionTaxRate(TaxRate taxRate, Guid countryId, Guid? regionId) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### TaxRate - -```csharp -public TaxRate TaxRate { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currency.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currency.md deleted file mode 100644 index c57a651f40b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currency.md +++ /dev/null @@ -1,117 +0,0 @@ ---- -title: Currency -description: API reference for Currency in Umbraco Commerce ---- -## Currency - -```csharp -public class Currency : CurrencyReadOnly, IHasWrtiableAllowedCountries -``` - -**Inheritance** - -* Class [CurrencyReadOnly](currencyreadonly.md) -* interface [IHasWrtiableAllowedCountries<TAggregate>](ihaswrtiableallowedcountries-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static Currency Create(IUnitOfWork uow, Guid storeId, string code, string name, - string cultureName) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static Currency Create(IUnitOfWork uow, Guid id, Guid storeId, string code, string name, - string cultureName) -``` - - ---- - -#### AllowInCountry (1 of 2) - -```csharp -public Currency AllowInCountry(CountryReadOnly country) -``` - ---- - -#### AllowInCountry (2 of 2) - -```csharp -public Currency AllowInCountry(Guid countryId) -``` - - ---- - -#### DisallowInCountry (1 of 2) - -```csharp -public Currency DisallowInCountry(CountryReadOnly country) -``` - ---- - -#### DisallowInCountry (2 of 2) - -```csharp -public Currency DisallowInCountry(Guid countryId) -``` - - ---- - -#### SetCode - -```csharp -public Currency SetCode(string code) -``` - - ---- - -#### SetCulture - -```csharp -public Currency SetCulture(string cultureName) -``` - - ---- - -#### SetCustomFormatTemplate - -```csharp -public Currency SetCustomFormatTemplate(string formatTemplate) -``` - - ---- - -#### SetName - -```csharp -public Currency SetName(string name) -``` - - ---- - -#### SetSortOrder - -```csharp -public Currency SetSortOrder(int sortOrder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currencyformatter.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currencyformatter.md deleted file mode 100644 index 1055fa4a7ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currencyformatter.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: CurrencyFormatter -description: API reference for CurrencyFormatter in Umbraco Commerce ---- -## CurrencyFormatter - -```csharp -public class CurrencyFormatter -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### CurrencyFormatter (1 of 2) - -```csharp -public CurrencyFormatter(string cultureName) -``` - ---- - -#### CurrencyFormatter (2 of 2) - -```csharp -public CurrencyFormatter(string cultureName, string formatTemplate) -``` - - -### Properties - -#### CultureName - -```csharp -public string CultureName { get; } -``` - - ---- - -#### FormatTemplate - -```csharp -public string FormatTemplate { get; } -``` - - -### Methods - -#### FormatValue (1 of 2) - -```csharp -public string FormatValue(decimal value, bool includeSymbol = true) -``` - ---- - -#### FormatValue (2 of 2) - -```csharp -public string FormatValue(decimal value, int decimalPlaces, bool includeSymbol = true) -``` - - ---- - -#### RoundValue - -```csharp -public decimal RoundValue(decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currencyreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currencyreadonly.md deleted file mode 100644 index e3b4b8399a7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/currencyreadonly.md +++ /dev/null @@ -1,101 +0,0 @@ ---- -title: CurrencyReadOnly -description: API reference for CurrencyReadOnly in Umbraco Commerce ---- -## CurrencyReadOnly - -```csharp -public class CurrencyReadOnly : StoreAggregateBase, - IHasName, IHasReadableAllowedCountries -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) -* interface [IHasReadableAllowedCountries](ihasreadableallowedcountries.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### AllowedCountries - -```csharp -public IReadOnlyCollection AllowedCountries { get; } -``` - - ---- - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### CultureName - -```csharp -public string CultureName { get; } -``` - - ---- - -#### FormatTemplate - -```csharp -public string FormatTemplate { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - -### Methods - -#### IsAllowedInCountry (1 of 2) - -```csharp -public bool IsAllowedInCountry(CountryReadOnly country) -``` - ---- - -#### IsAllowedInCountry (2 of 2) - -```csharp -public bool IsAllowedInCountry(Guid countryId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discount.md deleted file mode 100644 index 86d4fbac787..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discount.md +++ /dev/null @@ -1,256 +0,0 @@ ---- -title: Discount -description: API reference for Discount in Umbraco Commerce ---- -## Discount - -```csharp -public class Discount : DiscountReadOnly -``` - -**Inheritance** - -* Class [DiscountReadOnly](discountreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static Discount Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static Discount Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, string name) -``` - - ---- - -#### AddCode (1 of 2) - -```csharp -public Discount AddCode(string code, int? usageLimit = null, bool isUnlimited = false) -``` - ---- - -#### AddCode (2 of 2) - -```csharp -public Discount AddCode(DiscountCode code) -``` - - ---- - -#### AddCodes - -```csharp -public Discount AddCodes(IEnumerable codes) -``` - - ---- - -#### ClearCodes - -```csharp -public Discount ClearCodes() -``` - - ---- - -#### RemoveCode (1 of 3) - -```csharp -public Discount RemoveCode(string code) -``` - ---- - -#### RemoveCode (2 of 3) - -```csharp -public Discount RemoveCode(Guid id) -``` - ---- - -#### RemoveCode (3 of 3) - -```csharp -public Discount RemoveCode(DiscountCode code) -``` - - ---- - -#### RemoveCodes - -```csharp -public Discount RemoveCodes(IEnumerable codes) -``` - - ---- - -#### SetActive - -```csharp -public Discount SetActive(bool isActive) -``` - - ---- - -#### SetAlias - -```csharp -public Discount SetAlias(string alias) -``` - - ---- - -#### SetBlockFurtherDiscounts - -```csharp -public Discount SetBlockFurtherDiscounts(bool blockFurtherDiscounts) -``` - - ---- - -#### SetBlockIfPreviousDiscounts - -```csharp -public Discount SetBlockIfPreviousDiscounts(bool blockIfPreviousDiscounts) -``` - - ---- - -#### SetCodes - -```csharp -public Discount SetCodes(IEnumerable codes, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetDateRange - -```csharp -public Discount SetDateRange(DateTime? startDate, DateTime? expiryDate) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public Discount SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public Discount SetName(string name, string alias) -``` - - ---- - -#### SetRewards - -```csharp -public Discount SetRewards(IEnumerable rewards) -``` - - ---- - -#### SetRules (1 of 2) - -```csharp -public Discount SetRules(DiscountRuleConfig rules, bool blockFurtherDiscounts, - bool blockIfPreviousDiscounts) -``` - ---- - -#### SetRules (2 of 2) - -```csharp -public Discount SetRules(DiscountRuleConfig rules) -``` - - ---- - -#### SetSortOrder - -```csharp -public Discount SetSortOrder(int sortOrder) -``` - - ---- - -#### SetType - -```csharp -public Discount SetType(DiscountType type) -``` - - ---- - -#### UpdateCode (1 of 3) - -```csharp -public Discount UpdateCode(string oldCode, string newCode, int? usageLimit = null, - bool? isUnlimited = null) -``` - ---- - -#### UpdateCode (2 of 3) - -```csharp -public Discount UpdateCode(Guid id, string code, int? usageLimit = null, bool? isUnlimited = null) -``` - ---- - -#### UpdateCode (3 of 3) - -```csharp -public Discount UpdateCode(DiscountCode code) -``` - - ---- - -#### UpdateCodes - -```csharp -public Discount UpdateCodes(IEnumerable codes) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountadjustment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountadjustment.md deleted file mode 100644 index 383df701bb6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountadjustment.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: DiscountAdjustment -description: API reference for DiscountAdjustment in Umbraco Commerce ---- -## DiscountAdjustment - -```csharp -public class DiscountAdjustment : PriceAdjustment -``` - -**Inheritance** - -* Class [PriceAdjustment<TSelf>](priceadjustment-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### DiscountAdjustment - -The default constructor. - -```csharp -public DiscountAdjustment() -``` - - ---- - -#### DiscountAdjustment (1 of 2) - -```csharp -public DiscountAdjustment(DiscountReadOnly discount, Price price) -``` - ---- - -#### DiscountAdjustment (2 of 2) - -```csharp -public DiscountAdjustment(Guid discountId, string discountName, Price price) -``` - - -### Properties - -#### DiscountId - -```csharp -public Guid DiscountId { get; } -``` - - ---- - -#### DiscountName - -```csharp -public string DiscountName { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountcode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountcode.md deleted file mode 100644 index 603fa26bcb2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountcode.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: DiscountCode -description: API reference for DiscountCode in Umbraco Commerce ---- -## DiscountCode - -```csharp -public class DiscountCode : EntityBase -``` - -**Inheritance** - -* Class [EntityBase](entitybase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### DiscountCode (1 of 2) - -```csharp -public DiscountCode(string code, int? usageLimit = null, bool isUnlimited = false) -``` - ---- - -#### DiscountCode (2 of 2) - -```csharp -public DiscountCode(Guid id, string code, int? usageLimit = null, bool isUnlimited = false) -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### Id - -```csharp -public override Guid Id { get; } -``` - - ---- - -#### IsUnlimited - -```csharp -public bool IsUnlimited { get; } -``` - - ---- - -#### UsageLimit - -```csharp -public int? UsageLimit { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountreadonly.md deleted file mode 100644 index b6e192ea87e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountreadonly.md +++ /dev/null @@ -1,156 +0,0 @@ ---- -title: DiscountReadOnly -description: API reference for DiscountReadOnly in Umbraco Commerce ---- -## DiscountReadOnly - -```csharp -public class DiscountReadOnly : StoreAggregateBase, - IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### BlockFurtherDiscounts - -```csharp -public bool BlockFurtherDiscounts { get; } -``` - - ---- - -#### BlockIfPreviousDiscounts - -```csharp -public bool BlockIfPreviousDiscounts { get; } -``` - - ---- - -#### Codes - -```csharp -public IReadOnlyCollection Codes { get; } -``` - - ---- - -#### ExpiryDate - -```csharp -public DateTime? ExpiryDate { get; } -``` - - ---- - -#### IsActive - -```csharp -public bool IsActive { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### Rewards - -```csharp -public IReadOnlyCollection Rewards { get; } -``` - - ---- - -#### Rules - -```csharp -public DiscountRuleConfig Rules { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### StartDate - -```csharp -public DateTime? StartDate { get; } -``` - - ---- - -#### Status - -```csharp -public DiscountStatus Status { get; } -``` - - ---- - -#### Type - -```csharp -public DiscountType Type { get; } -``` - - -### Methods - -#### TryFindDiscountCodes - -```csharp -public bool TryFindDiscountCodes(IEnumerable codesToFind, - out IEnumerable foundCodes) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountrewardconfig.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountrewardconfig.md deleted file mode 100644 index b186e5a3837..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountrewardconfig.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: DiscountRewardConfig -description: API reference for DiscountRewardConfig in Umbraco Commerce ---- -## DiscountRewardConfig - -```csharp -public class DiscountRewardConfig : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### DiscountRewardConfig - -```csharp -public DiscountRewardConfig(string rewardProviderAlias, - IEnumerable> settings) -``` - - -### Properties - -#### RewardProviderAlias - -```csharp -public string RewardProviderAlias { get; } -``` - - ---- - -#### Settings - -```csharp -public IReadOnlyDictionary Settings { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountruleconfig.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountruleconfig.md deleted file mode 100644 index 0d2c26d6dd1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountruleconfig.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: DiscountRuleConfig -description: API reference for DiscountRuleConfig in Umbraco Commerce ---- -## DiscountRuleConfig - -```csharp -public class DiscountRuleConfig : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### DiscountRuleConfig (1 of 2) - -```csharp -public DiscountRuleConfig(string ruleProviderAlias, - IEnumerable> settings) -``` - ---- - -#### DiscountRuleConfig (2 of 2) - -```csharp -public DiscountRuleConfig(string ruleProviderAlias, - IEnumerable> settings, IEnumerable children) -``` - - -### Properties - -#### Children - -```csharp -public IReadOnlyCollection Children { get; } -``` - - ---- - -#### RuleProviderAlias - -```csharp -public string RuleProviderAlias { get; } -``` - - ---- - -#### Settings - -```csharp -public IReadOnlyDictionary Settings { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountstatus.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountstatus.md deleted file mode 100644 index c7c5867fcc9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discountstatus.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: DiscountStatus -description: API reference for DiscountStatus in Umbraco Commerce ---- -## DiscountStatus - -```csharp -public enum DiscountStatus -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Active | `0` | | -| Inactive | `1` | | -| Scheduled | `2` | | -| Expired | `3` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discounttype.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discounttype.md deleted file mode 100644 index 72836bc9634..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/discounttype.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: DiscountType -description: API reference for DiscountType in Umbraco Commerce ---- -## DiscountType - -```csharp -public enum DiscountType -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Automatic | `0` | | -| Code | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailcontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailcontext.md deleted file mode 100644 index e62ed15d724..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailcontext.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: EmailContext -description: API reference for EmailContext in Umbraco Commerce ---- -## EmailContext - -```csharp -public class EmailContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### EmailContext (1 of 2) - -```csharp -public EmailContext(EmailTemplateReadOnly emailTemplate, Order order, - MailMessage mailMessage = null) -``` - ---- - -#### EmailContext (2 of 2) - -```csharp -public EmailContext(EmailTemplateReadOnly emailTemplate, object model, string toEmailAddress, - string languageIsoCode, MailMessage mailMessage = null) -``` - - -### Properties - -#### EmailTemplate - -```csharp -public EmailTemplateReadOnly EmailTemplate { get; set; } -``` - - ---- - -#### LanguageIsoCode - -```csharp -public string LanguageIsoCode { get; set; } -``` - - ---- - -#### MailMessage - -```csharp -public MailMessage MailMessage { get; set; } -``` - - ---- - -#### Model - -```csharp -public object Model { get; set; } -``` - - ---- - -#### ToEmailAddress - -```csharp -public string ToEmailAddress { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailtemplate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailtemplate.md deleted file mode 100644 index a0d1bc3de71..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailtemplate.md +++ /dev/null @@ -1,238 +0,0 @@ ---- -title: EmailTemplate -description: API reference for EmailTemplate in Umbraco Commerce ---- -## EmailTemplate - -```csharp -public class EmailTemplate : EmailTemplateReadOnly -``` - -**Inheritance** - -* Class [EmailTemplateReadOnly](emailtemplatereadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static EmailTemplate Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static EmailTemplate Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name) -``` - - ---- - -#### SetAlias - -```csharp -public EmailTemplate SetAlias(string alias) -``` - - ---- - -#### SetBccAddress - -```csharp -public EmailTemplate SetBccAddress(string emailAddress) -``` - - ---- - -#### SetBccAddresses (1 of 2) - -```csharp -public EmailTemplate SetBccAddresses(IEnumerable emailAddresses) -``` - ---- - -#### SetBccAddresses (2 of 2) - -```csharp -public EmailTemplate SetBccAddresses(string emailAddresses) -``` - - ---- - -#### SetCategory - -```csharp -public EmailTemplate SetCategory(TemplateCategory category) -``` - - ---- - -#### SetCcAddress - -```csharp -public EmailTemplate SetCcAddress(string emailAddress) -``` - - ---- - -#### SetCcAddresses (1 of 2) - -```csharp -public EmailTemplate SetCcAddresses(IEnumerable emailAddresses) -``` - ---- - -#### SetCcAddresses (2 of 2) - -```csharp -public EmailTemplate SetCcAddresses(string emailAddresses) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public EmailTemplate SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public EmailTemplate SetName(string name, string alias) -``` - - ---- - -#### SetReplyToAddress - -```csharp -public EmailTemplate SetReplyToAddress(string emailAddress) -``` - - ---- - -#### SetReplyToAddresses (1 of 2) - -```csharp -public EmailTemplate SetReplyToAddresses(IEnumerable emailAddresses) -``` - ---- - -#### SetReplyToAddresses (2 of 2) - -```csharp -public EmailTemplate SetReplyToAddresses(string emailAddresses) -``` - - ---- - -#### SetSender - -```csharp -public EmailTemplate SetSender(string name, string emailAddress) -``` - - ---- - -#### SetSenderAddress - -```csharp -public EmailTemplate SetSenderAddress(string emailAddress) -``` - - ---- - -#### SetSenderName - -```csharp -public EmailTemplate SetSenderName(string name) -``` - - ---- - -#### SetSendToCustomer - -```csharp -public EmailTemplate SetSendToCustomer(bool sendToCustomer) -``` - - ---- - -#### SetSortOrder - -```csharp -public EmailTemplate SetSortOrder(int sortOrder) -``` - - ---- - -#### SetSubject - -```csharp -public EmailTemplate SetSubject(string subject) -``` - - ---- - -#### SetTemplateView - -```csharp -public EmailTemplate SetTemplateView(string templateViewPath) -``` - - ---- - -#### SetToAddress - -```csharp -public EmailTemplate SetToAddress(string emailAddress) -``` - - ---- - -#### SetToAddresses (1 of 2) - -```csharp -public EmailTemplate SetToAddresses(IEnumerable emailAddresses) -``` - ---- - -#### SetToAddresses (2 of 2) - -```csharp -public EmailTemplate SetToAddresses(string emailAddresses) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailtemplatereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailtemplatereadonly.md deleted file mode 100644 index 2d835cee7ff..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/emailtemplatereadonly.md +++ /dev/null @@ -1,146 +0,0 @@ ---- -title: EmailTemplateReadOnly -description: API reference for EmailTemplateReadOnly in Umbraco Commerce ---- -## EmailTemplateReadOnly - -```csharp -public class EmailTemplateReadOnly : - StoreAggregateBase, IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### BccAddresses - -```csharp -public IEnumerable BccAddresses { get; } -``` - - ---- - -#### Category - -```csharp -public TemplateCategory Category { get; } -``` - - ---- - -#### CcAddresses - -```csharp -public IEnumerable CcAddresses { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### ReplyToAddresses - -```csharp -public IEnumerable ReplyToAddresses { get; } -``` - - ---- - -#### SenderAddress - -```csharp -public string SenderAddress { get; } -``` - - ---- - -#### SenderName - -```csharp -public string SenderName { get; } -``` - - ---- - -#### SendToCustomer - -```csharp -public bool SendToCustomer { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### Subject - -```csharp -public string Subject { get; } -``` - - ---- - -#### TemplateView - -```csharp -public string TemplateView { get; } -``` - - ---- - -#### ToAddresses - -```csharp -public IEnumerable ToAddresses { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitybase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitybase-1.md deleted file mode 100644 index d73fc5ff10e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitybase-1.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: EntityBase -description: API reference for EntityBase in Umbraco Commerce ---- -## EntityBase<TState> - -Base class for an entity - -```csharp -public abstract class EntityBase : EntityBase - where TState : EntityStateBase -``` - -**Inheritance** - -* Class [EntityBase](entitybase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Id - -```csharp -public override Guid Id { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitybase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitybase.md deleted file mode 100644 index 1d901955937..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitybase.md +++ /dev/null @@ -1,103 +0,0 @@ ---- -title: EntityBase -description: API reference for EntityBase in Umbraco Commerce ---- -## EntityBase - -Base class for an entity - -```csharp -public abstract class EntityBase : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Id - -Gets the ID of the entity - -```csharp -public abstract Guid Id { get; } -``` - - -### Methods - -#### DeepClone - -Deep clones the entity and all of it's child entities - -```csharp -public abstract object DeepClone() -``` - -**Returns** - -A deep clones entity instance - - ---- - -#### Equals - -Compares the entity against another entity for equality - -```csharp -public override bool Equals(object obj) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| obj | The entity to compare against | - -**Returns** - -Returns `true` if the two entities are equal, otherwise returns `false`. - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - -### Operators - -#### EntityBase Equality - -```csharp -public static bool operator ==(EntityBase a, EntityBase b) -``` - - ---- - -#### EntityBase Explicit - -```csharp -public static explicit operator Guid(EntityBase entity) -``` - - ---- - -#### EntityBase Inequality - -```csharp -public static bool operator !=(EntityBase a, EntityBase b) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckoptions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckoptions.md deleted file mode 100644 index b2e032ea52c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckoptions.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EntityCacheIntegrityCheckOptions -description: API reference for EntityCacheIntegrityCheckOptions in Umbraco Commerce ---- -## EntityCacheIntegrityCheckOptions - -```csharp -public class EntityCacheIntegrityCheckOptions -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### EntityCacheIntegrityCheckOptions - -The default constructor. - -```csharp -public EntityCacheIntegrityCheckOptions() -``` - - -### Properties - -#### FixIssues - -Set to true to try to automatically resolve data integrity issues - -```csharp -public bool FixIssues { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckresult.md deleted file mode 100644 index b9068122dec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckresult.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: EntityCacheIntegrityCheckResult -description: API reference for EntityCacheIntegrityCheckResult in Umbraco Commerce ---- -## EntityCacheIntegrityCheckResult - -```csharp -public class EntityCacheIntegrityCheckResult -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### EntityCacheIntegrityCheckResult - -```csharp -public EntityCacheIntegrityCheckResult( - IReadOnlyCollection detectedIssues) -``` - - -### Properties - -#### DetectedIssues - -```csharp -public IReadOnlyCollection DetectedIssues { get; } -``` - - ---- - -#### FixedIssues - -```csharp -public IReadOnlyCollection FixedIssues { get; } -``` - - ---- - -#### Ok - -```csharp -public bool Ok { get; } -``` - - -### Enumerations - -#### EntityCacheIntegrityCheckResult.IssueType - -```csharp -public enum IssueType -``` - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| InconsistentCacheCount | `0` | The number of items in the entity cache is inconsistent with the number items in the database | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckresultentry.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckresultentry.md deleted file mode 100644 index 40ffe4334ee..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitycacheintegritycheckresultentry.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: EntityCacheIntegrityCheckResultEntry -description: API reference for EntityCacheIntegrityCheckResultEntry in Umbraco Commerce ---- -## EntityCacheIntegrityCheckResultEntry - -```csharp -public class EntityCacheIntegrityCheckResultEntry -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### EntityCacheIntegrityCheckResultEntry - -```csharp -public EntityCacheIntegrityCheckResultEntry(IssueType issueType) -``` - - -### Properties - -#### Fixed - -```csharp -public bool Fixed { get; set; } -``` - - ---- - -#### IssueType - -```csharp -public IssueType IssueType { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitystatebase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitystatebase.md deleted file mode 100644 index 3c1e9384cfd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/entitystatebase.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EntityStateBase -description: API reference for EntityStateBase in Umbraco Commerce ---- -## EntityStateBase - -```csharp -public abstract class EntityStateBase : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Id - -```csharp -public virtual Guid Id { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public abstract object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exportstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exportstrategy.md deleted file mode 100644 index 0e7b8b0e4c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exportstrategy.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: ExportStrategy -description: API reference for ExportStrategy in Umbraco Commerce ---- -## ExportStrategy - -```csharp -public enum ExportStrategy -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| SingleFile | `0` | | -| MultiFile | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exporttemplate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exporttemplate.md deleted file mode 100644 index d73794fec1e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exporttemplate.md +++ /dev/null @@ -1,116 +0,0 @@ ---- -title: ExportTemplate -description: API reference for ExportTemplate in Umbraco Commerce ---- -## ExportTemplate - -```csharp -public class ExportTemplate : ExportTemplateReadOnly -``` - -**Inheritance** - -* Class [ExportTemplateReadOnly](exporttemplatereadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static ExportTemplate Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static ExportTemplate Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name) -``` - - ---- - -#### SetAlias - -```csharp -public ExportTemplate SetAlias(string alias) -``` - - ---- - -#### SetCategory - -```csharp -public ExportTemplate SetCategory(TemplateCategory category) -``` - - ---- - -#### SetExportStrategy - -```csharp -public ExportTemplate SetExportStrategy(ExportStrategy exportStrategy) -``` - - ---- - -#### SetFileExtension - -```csharp -public ExportTemplate SetFileExtension(string fileExtension) -``` - - ---- - -#### SetFileMimeType - -```csharp -public ExportTemplate SetFileMimeType(string fileMimeType) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public ExportTemplate SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public ExportTemplate SetName(string name, string alias) -``` - - ---- - -#### SetSortOrder - -```csharp -public ExportTemplate SetSortOrder(int sortOrder) -``` - - ---- - -#### SetTemplateView - -```csharp -public ExportTemplate SetTemplateView(string templateViewPath) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exporttemplatereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exporttemplatereadonly.md deleted file mode 100644 index 697a32ec791..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/exporttemplatereadonly.md +++ /dev/null @@ -1,101 +0,0 @@ ---- -title: ExportTemplateReadOnly -description: API reference for ExportTemplateReadOnly in Umbraco Commerce ---- -## ExportTemplateReadOnly - -```csharp -public class ExportTemplateReadOnly : - StoreAggregateBase, IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Category - -```csharp -public TemplateCategory Category { get; set; } -``` - - ---- - -#### ExportStrategy - -```csharp -public ExportStrategy ExportStrategy { get; set; } -``` - - ---- - -#### FileExtension - -```csharp -public string FileExtension { get; set; } -``` - - ---- - -#### FileMimeType - -```csharp -public string FileMimeType { get; set; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### TemplateView - -```csharp -public string TemplateView { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedamount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedamount.md deleted file mode 100644 index aedcaecad78..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedamount.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: FormattedAmount -description: API reference for FormattedAmount in Umbraco Commerce ---- -## FormattedAmount - -An amount formatted for the given amount [`Currency`](currency.md) - -```csharp -public sealed class FormattedAmount : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CurrencyId - -Gets the ID of the [`Currency`](currency.md) of the price - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Value - -Gets the value of the amount formatted with a currency symbol - -```csharp -public string Value { get; } -``` - - ---- - -#### ValueNoSymbol - -Gets the value of the amount formatted without a currency symbol - -```csharp -public string ValueNoSymbol { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### FormattedAmount Implicit - -```csharp -public static implicit operator string(FormattedAmount amount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedprice.md deleted file mode 100644 index 993bc315375..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedprice.md +++ /dev/null @@ -1,124 +0,0 @@ ---- -title: FormattedPrice -description: API reference for FormattedPrice in Umbraco Commerce ---- -## FormattedPrice - -A price formatted for the given prices [`Currency`](currency.md) - -```csharp -public sealed class FormattedPrice : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CurrencyId - -Gets the ID of the [`Currency`](currency.md) of the price - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Tax - -Gets the tax value of the price formatted with a currency symbol - -```csharp -public string Tax { get; } -``` - - ---- - -#### TaxNoSymbol - -Gets the tax value of the price formatted without a currency symbol - -```csharp -public string TaxNoSymbol { get; } -``` - - ---- - -#### WithoutTax - -Gets the value of the price without tax formatted with a currency symbol - -```csharp -public string WithoutTax { get; } -``` - - ---- - -#### WithoutTaxNoSymbol - -Gets the value of the price without tax formatted without a currency symbol - -```csharp -public string WithoutTaxNoSymbol { get; } -``` - - ---- - -#### WithTax - -Gets the value of the price with tax formatted with a currency symbol - -```csharp -public string WithTax { get; } -``` - - ---- - -#### WithTaxNoSymbol - -Gets the value of the price with tax formatted without a currency symbol - -```csharp -public string WithTaxNoSymbol { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### FormattedPrice Implicit - -```csharp -public static implicit operator string(FormattedPrice price) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedvalue-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedvalue-1.md deleted file mode 100644 index a97faf00a81..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/formattedvalue-1.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: FormattedValue -description: API reference for FormattedValue in Umbraco Commerce ---- -## FormattedValue<TValue> - -```csharp -public class FormattedValue : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### FormattedValue<TValue> - -```csharp -public FormattedValue(TValue value, string valueFormatted) -``` - - -### Properties - -#### Value - -```csharp -public TValue Value { get; } -``` - - ---- - -#### ValueFormatted - -```csharp -public string ValueFormatted { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/freezableprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/freezableprice.md deleted file mode 100644 index 3c33d2a0700..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/freezableprice.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -title: FreezablePrice -description: API reference for FreezablePrice in Umbraco Commerce ---- -## FreezablePrice - -```csharp -public class FreezablePrice : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### FreezablePrice (1 of 2) - -```csharp -public FreezablePrice(decimal value, Guid currencyId) -``` - ---- - -#### FreezablePrice (2 of 2) - -```csharp -public FreezablePrice(decimal value, Guid currencyId, Guid? countryId, - Guid? regionId = default(Guid?)) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### Value - -```csharp -public decimal Value { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - -### Operators - -#### FreezablePrice Implicit (1 of 4) - -```csharp -public static implicit operator FreezablePrice(ProductPrice p) -``` - ---- - -#### FreezablePrice Implicit (2 of 4) - -```csharp -public static implicit operator ProductPrice(FreezablePrice p) -``` - ---- - -#### FreezablePrice Implicit (3 of 4) - -```csharp -public static implicit operator FreezablePrice(ServicePrice p) -``` - ---- - -#### FreezablePrice Implicit (4 of 4) - -```csharp -public static implicit operator ServicePrice(FreezablePrice p) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/frozenprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/frozenprice.md deleted file mode 100644 index 94c6ce60d3d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/frozenprice.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -title: FrozenPrice -description: API reference for FrozenPrice in Umbraco Commerce ---- -## FrozenPrice - -```csharp -public class FrozenPrice : EntityBase -``` - -**Inheritance** - -* Class [EntityBase](entitybase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### FrozenPrice (1 of 2) - -```csharp -public FrozenPrice(Guid orderId, string key, FreezablePrice price) -``` - ---- - -#### FrozenPrice (2 of 2) - -```csharp -public FrozenPrice(Guid id, Guid orderId, string key, FreezablePrice price, DateTime created) -``` - - -### Properties - -#### CreateDate - -```csharp -public DateTime CreateDate { get; set; } -``` - - ---- - -#### Id - -```csharp -public override Guid Id { get; } -``` - - ---- - -#### Key - -```csharp -public string Key { get; } -``` - - ---- - -#### OrderId - -```csharp -public Guid OrderId { get; } -``` - - ---- - -#### Price - -```csharp -public FreezablePrice Price { get; set; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/fulfilleddiscount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/fulfilleddiscount.md deleted file mode 100644 index ed3084e8fc4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/fulfilleddiscount.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: FulfilledDiscount -description: API reference for FulfilledDiscount in Umbraco Commerce ---- -## FulfilledDiscount - -```csharp -public class FulfilledDiscount : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### FulfilledDiscount (1 of 2) - -```csharp -public FulfilledDiscount(DiscountReadOnly discount) -``` - ---- - -#### FulfilledDiscount (2 of 2) - -```csharp -public FulfilledDiscount(Guid discountId, string discountName) -``` - - -### Properties - -#### DiscountId - -```csharp -public Guid DiscountId { get; } -``` - - ---- - -#### DiscountName - -```csharp -public string DiscountName { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcard.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcard.md deleted file mode 100644 index b3455b37386..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcard.md +++ /dev/null @@ -1,246 +0,0 @@ ---- -title: GiftCard -description: API reference for GiftCard in Umbraco Commerce ---- -## GiftCard - -```csharp -public class GiftCard : GiftCardReadOnly -``` - -**Inheritance** - -* Class [GiftCardReadOnly](giftcardreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static GiftCard Create(IUnitOfWork uow, Guid storeId, string code, Guid currencyId, - decimal originalAmount, Guid? orderId = default(Guid?)) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static GiftCard Create(IUnitOfWork uow, Guid id, Guid storeId, string code, Guid currencyId, - decimal originalAmount, Guid? orderId = default(Guid?)) -``` - - ---- - -#### RemoveProperties - -Removes a series of properties from the order - -```csharp -public GiftCard RemoveProperties(IEnumerable aliases) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| aliases | The aliases of the properties to remove | - -**Returns** - -The updated [`GiftCard`](giftcard.md) entity - - ---- - -#### RemoveProperty - -Removes a property from the order - -```csharp -public GiftCard RemoveProperty(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to remove | - -**Returns** - -The updated [`GiftCard`](giftcard.md) entity - - ---- - -#### SetActive - -```csharp -public GiftCard SetActive(bool isActive) -``` - - ---- - -#### SetCode - -```csharp -public GiftCard SetCode(string code) -``` - - ---- - -#### SetCurrency (1 of 2) - -```csharp -public GiftCard SetCurrency(CurrencyReadOnly currency) -``` - ---- - -#### SetCurrency (2 of 2) - -```csharp -public GiftCard SetCurrency(Guid currencyId) -``` - - ---- - -#### SetExpiryDate - -```csharp -public GiftCard SetExpiryDate(DateTime? expiryDate) -``` - - ---- - -#### SetOrder (1 of 2) - -```csharp -public GiftCard SetOrder(OrderReadOnly order) -``` - ---- - -#### SetOrder (2 of 2) - -```csharp -public GiftCard SetOrder(Guid? orderId) -``` - - ---- - -#### SetOriginalAmount - -```csharp -public GiftCard SetOriginalAmount(decimal amount, bool resetRemainingAmount = false) -``` - - ---- - -#### SetProperties (1 of 2) - -Sets a series of properties on the order - -```csharp -public GiftCard SetProperties(IDictionary properties, - SetBehavior setBehavior = SetBehavior.Merge) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| properties | The properties to set | -| setBehavior | The behavior of the set operation, whether to `Merge` the properties into the orders existing properties collection or `Replace` the orders property collection entirely | - -**Returns** - -The updated [`GiftCard`](giftcard.md) entity - ---- - -#### SetProperties (2 of 2) - -Sets a series of properties on the order - -```csharp -public GiftCard SetProperties(IDictionary properties, - SetBehavior setBehavior = SetBehavior.Merge) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| properties | The properties to set | -| setBehavior | The behavior of the set operation, whether to `Merge` the properties into the orders existing properties collection or `Replace` the orders property collection entirely | - -**Returns** - -The updated [`GiftCard`](giftcard.md) entity - - ---- - -#### SetProperty (1 of 2) - -Sets a property on the order - -```csharp -public GiftCard SetProperty(string alias, string value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to set | -| value | The value of the property | - -**Returns** - -The updated [`GiftCard`](giftcard.md) entity - ---- - -#### SetProperty (2 of 2) - -Sets a property on the order - -```csharp -public GiftCard SetProperty(string alias, PropertyValue value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to set | -| value | The [`PropertyValue`](propertyvalue.md) of the property | - -**Returns** - -The updated [`GiftCard`](giftcard.md) entity - - ---- - -#### SetRemainingAmount - -```csharp -public GiftCard SetRemainingAmount(decimal amount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardactivationmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardactivationmethod.md deleted file mode 100644 index c04066b90c7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardactivationmethod.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: GiftCardActivationMethod -description: API reference for GiftCardActivationMethod in Umbraco Commerce ---- -## GiftCardActivationMethod - -```csharp -public enum GiftCardActivationMethod -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Manual | `0` | | -| Automatic | `1` | | -| OrderStatus | `2` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardadjustment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardadjustment.md deleted file mode 100644 index 43ebe827641..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardadjustment.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: GiftCardAdjustment -description: API reference for GiftCardAdjustment in Umbraco Commerce ---- -## GiftCardAdjustment - -```csharp -public class GiftCardAdjustment : AmountAdjustment -``` - -**Inheritance** - -* Class [AmountAdjustment<TSelf>](amountadjustment-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### GiftCardAdjustment - -The default constructor. - -```csharp -public GiftCardAdjustment() -``` - - ---- - -#### GiftCardAdjustment (1 of 2) - -```csharp -public GiftCardAdjustment(GiftCardReadOnly giftCard, Amount amount) -``` - ---- - -#### GiftCardAdjustment (2 of 2) - -```csharp -public GiftCardAdjustment(Guid giftCardId, string giftCardCode, Amount amount) -``` - - -### Properties - -#### GiftCardCode - -```csharp -public string GiftCardCode { get; } -``` - - ---- - -#### GiftCardId - -```csharp -public Guid GiftCardId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardreadonly.md deleted file mode 100644 index 97e388ce58c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardreadonly.md +++ /dev/null @@ -1,128 +0,0 @@ ---- -title: GiftCardReadOnly -description: API reference for GiftCardReadOnly in Umbraco Commerce ---- -## GiftCardReadOnly - -```csharp -public class GiftCardReadOnly : StoreAggregateBase, - IHasReadableProperties -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasReadableProperties](ihasreadableproperties.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### CreateDate - -```csharp -public DateTime CreateDate { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### ExpiryDate - -```csharp -public DateTime? ExpiryDate { get; } -``` - - ---- - -#### IsActive - -```csharp -public bool IsActive { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### OrderId - -```csharp -public Guid? OrderId { get; } -``` - - ---- - -#### OrderNumber - -```csharp -public string OrderNumber { get; } -``` - - ---- - -#### OriginalAmount - -```csharp -public Amount OriginalAmount { get; } -``` - - ---- - -#### Properties - -```csharp -public IReadOnlyDictionary Properties { get; } -``` - - ---- - -#### RemainingAmount - -```csharp -public Amount RemainingAmount { get; } -``` - - ---- - -#### Status - -```csharp -public GiftCardStatus Status { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardstatus.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardstatus.md deleted file mode 100644 index 0ac312eef80..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/giftcardstatus.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: GiftCardStatus -description: API reference for GiftCardStatus in Umbraco Commerce ---- -## GiftCardStatus - -```csharp -public enum GiftCardStatus -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Active | `0` | | -| Inactive | `1` | | -| Expired | `2` | | -| Redeemed | `3` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iamount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iamount.md deleted file mode 100644 index 448d5cdf258..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iamount.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IAmount -description: API reference for IAmount in Umbraco Commerce ---- -## IAmount - -```csharp -public interface IAmount -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Value - -```csharp -public decimal Value { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasalias.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasalias.md deleted file mode 100644 index b594e5b8e66..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasalias.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasAlias -description: API reference for IHasAlias in Umbraco Commerce ---- -## IHasAlias - -```csharp -public interface IHasAlias -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihascode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihascode.md deleted file mode 100644 index 4f16536390a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihascode.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasCode -description: API reference for IHasCode in Umbraco Commerce ---- -## IHasCode - -```csharp -public interface IHasCode -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasname.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasname.md deleted file mode 100644 index 26705b8dc32..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasname.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasName -description: API reference for IHasName in Umbraco Commerce ---- -## IHasName - -```csharp -public interface IHasName -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Name - -```csharp -public string Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableallowedcountries.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableallowedcountries.md deleted file mode 100644 index 736188d0265..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableallowedcountries.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: IHasReadableAllowedCountries -description: API reference for IHasReadableAllowedCountries in Umbraco Commerce ---- -## IHasReadableAllowedCountries - -```csharp -public interface IHasReadableAllowedCountries -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### IsAllowedInCountry (1 of 2) - -```csharp -public bool IsAllowedInCountry(CountryReadOnly country) -``` - ---- - -#### IsAllowedInCountry (2 of 2) - -```csharp -public bool IsAllowedInCountry(Guid countryId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableallowedcountryregions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableallowedcountryregions.md deleted file mode 100644 index 569ee068b49..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableallowedcountryregions.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: IHasReadableAllowedCountryRegions -description: API reference for IHasReadableAllowedCountryRegions in Umbraco Commerce ---- -## IHasReadableAllowedCountryRegions - -```csharp -public interface IHasReadableAllowedCountryRegions : IHasReadableAllowedCountries -``` - -**Inheritance** - -* interface [IHasReadableAllowedCountries](ihasreadableallowedcountries.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### IsAllowedInRegion (1 of 2) - -```csharp -public bool IsAllowedInRegion(RegionReadOnly region) -``` - ---- - -#### IsAllowedInRegion (2 of 2) - -```csharp -public bool IsAllowedInRegion(Guid countryId, Guid regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableorderlines-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableorderlines-1.md deleted file mode 100644 index 3452c0f0381..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableorderlines-1.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: IHasReadableOrderLines -description: API reference for IHasReadableOrderLines in Umbraco Commerce ---- -## IHasReadableOrderLines<T> - -```csharp -public interface IHasReadableOrderLines - where T : OrderLineReadOnly -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### OrderLines - -```csharp -public IReadOnlyCollection OrderLines { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableorderlines.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableorderlines.md deleted file mode 100644 index 7a1c65aee80..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableorderlines.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -title: IHasReadableOrderLines -description: API reference for IHasReadableOrderLines in Umbraco Commerce ---- -## IHasReadableOrderLines - -```csharp -public interface IHasReadableOrderLines : IHasReadableOrderLines -``` - -**Inheritance** - -* interface [IHasReadableOrderLines<T>](ihasreadableorderlines-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableproperties.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableproperties.md deleted file mode 100644 index 09f4c4a5274..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableproperties.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasReadableProperties -description: API reference for IHasReadableProperties in Umbraco Commerce ---- -## IHasReadableProperties - -```csharp -public interface IHasReadableProperties -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Properties - -```csharp -public IReadOnlyDictionary Properties { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableserviceprices.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableserviceprices.md deleted file mode 100644 index c10466c33bd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasreadableserviceprices.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: IHasReadableServicePrices -description: API reference for IHasReadableServicePrices in Umbraco Commerce ---- -## IHasReadableServicePrices - -```csharp -public interface IHasReadableServicePrices -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### GetCountryPriceForCurrency (1 of 2) - -```csharp -public decimal GetCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency) -``` - ---- - -#### GetCountryPriceForCurrency (2 of 2) - -```csharp -public decimal GetCountryPriceForCurrency(Guid countryId, Guid currencyId) -``` - - ---- - -#### GetDefaultPriceForCurrency (1 of 2) - -```csharp -public decimal GetDefaultPriceForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### GetDefaultPriceForCurrency (2 of 2) - -```csharp -public decimal GetDefaultPriceForCurrency(Guid currencyId) -``` - - ---- - -#### GetRegionPriceForCurrency (1 of 2) - -```csharp -public decimal GetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency) -``` - ---- - -#### GetRegionPriceForCurrency (2 of 2) - -```csharp -public decimal GetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihassortorder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihassortorder.md deleted file mode 100644 index 56f3089d861..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihassortorder.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasSortOrder -description: API reference for IHasSortOrder in Umbraco Commerce ---- -## IHasSortOrder - -```csharp -public interface IHasSortOrder -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasstore.md deleted file mode 100644 index d782d9d66fa..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihasstore.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IHasStore -description: API reference for IHasStore in Umbraco Commerce ---- -## IHasStore - -```csharp -public interface IHasStore -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswritableserviceprices-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswritableserviceprices-1.md deleted file mode 100644 index 0ccf8c24753..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswritableserviceprices-1.md +++ /dev/null @@ -1,175 +0,0 @@ ---- -title: IHasWritableServicePrices -description: API reference for IHasWritableServicePrices in Umbraco Commerce ---- -## IHasWritableServicePrices<TAggregate> - -```csharp -public interface IHasWritableServicePrices : IHasReadableServicePrices -``` - -**Inheritance** - -* interface [IHasReadableServicePrices](ihasreadableserviceprices.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ClearCountryPriceForCurrency (1 of 2) - -```csharp -public TAggregate ClearCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency) -``` - ---- - -#### ClearCountryPriceForCurrency (2 of 2) - -```csharp -public TAggregate ClearCountryPriceForCurrency(Guid countryId, Guid currencyId) -``` - - ---- - -#### ClearDefaultPriceForCurrency (1 of 2) - -```csharp -public TAggregate ClearDefaultPriceForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### ClearDefaultPriceForCurrency (2 of 2) - -```csharp -public TAggregate ClearDefaultPriceForCurrency(Guid currencyId) -``` - - ---- - -#### ClearPricesForCountry (1 of 2) - -```csharp -public TAggregate ClearPricesForCountry(CountryReadOnly country, CurrencyReadOnly currency = null) -``` - ---- - -#### ClearPricesForCountry (2 of 2) - -```csharp -public TAggregate ClearPricesForCountry(Guid countryId, Guid? currencyId = default(Guid?)) -``` - - ---- - -#### ClearPricesForCurrency (1 of 2) - -```csharp -public TAggregate ClearPricesForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### ClearPricesForCurrency (2 of 2) - -```csharp -public TAggregate ClearPricesForCurrency(Guid currencyId) -``` - - ---- - -#### ClearPricesForRegion (1 of 2) - -```csharp -public TAggregate ClearPricesForRegion(RegionReadOnly region, CurrencyReadOnly currency = null) -``` - ---- - -#### ClearPricesForRegion (2 of 2) - -```csharp -public TAggregate ClearPricesForRegion(Guid countryId, Guid regionId, - Guid? currencyId = default(Guid?)) -``` - - ---- - -#### ClearRegionPriceForCurrency (1 of 2) - -```csharp -public TAggregate ClearRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency) -``` - ---- - -#### ClearRegionPriceForCurrency (2 of 2) - -```csharp -public TAggregate ClearRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId) -``` - - ---- - -#### SetCountryPriceForCurrency (1 of 2) - -```csharp -public TAggregate SetCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency, - decimal value) -``` - ---- - -#### SetCountryPriceForCurrency (2 of 2) - -```csharp -public TAggregate SetCountryPriceForCurrency(Guid countryId, Guid currencyId, decimal value) -``` - - ---- - -#### SetDefaultPriceForCurrency (1 of 2) - -```csharp -public TAggregate SetDefaultPriceForCurrency(CurrencyReadOnly currency, decimal value) -``` - ---- - -#### SetDefaultPriceForCurrency (2 of 2) - -```csharp -public TAggregate SetDefaultPriceForCurrency(Guid currencyId, decimal value) -``` - - ---- - -#### SetRegionPriceForCurrency (1 of 2) - -```csharp -public TAggregate SetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency, - decimal value) -``` - ---- - -#### SetRegionPriceForCurrency (2 of 2) - -```csharp -public TAggregate SetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId, - decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswrtiableallowedcountries-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswrtiableallowedcountries-1.md deleted file mode 100644 index c6987e3f94f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswrtiableallowedcountries-1.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: IHasWrtiableAllowedCountries -description: API reference for IHasWrtiableAllowedCountries in Umbraco Commerce ---- -## IHasWrtiableAllowedCountries<TAggregate> - -```csharp -public interface IHasWrtiableAllowedCountries : IHasReadableAllowedCountries -``` - -**Inheritance** - -* interface [IHasReadableAllowedCountries](ihasreadableallowedcountries.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### AllowInCountry (1 of 2) - -```csharp -public TAggregate AllowInCountry(CountryReadOnly country) -``` - ---- - -#### AllowInCountry (2 of 2) - -```csharp -public TAggregate AllowInCountry(Guid countryId) -``` - - ---- - -#### DisallowInCountry (1 of 2) - -```csharp -public TAggregate DisallowInCountry(CountryReadOnly country) -``` - ---- - -#### DisallowInCountry (2 of 2) - -```csharp -public TAggregate DisallowInCountry(Guid countryId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswrtiableallowedcountryregions-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswrtiableallowedcountryregions-1.md deleted file mode 100644 index 1472875c12c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ihaswrtiableallowedcountryregions-1.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: IHasWrtiableAllowedCountryRegions -description: API reference for IHasWrtiableAllowedCountryRegions in Umbraco Commerce ---- -## IHasWrtiableAllowedCountryRegions<TAggregate> - -```csharp -public interface IHasWrtiableAllowedCountryRegions : IHasReadableAllowedCountryRegions, - IHasWrtiableAllowedCountries -``` - -**Inheritance** - -* interface [IHasReadableAllowedCountryRegions](ihasreadableallowedcountryregions.md) -* interface [IHasWrtiableAllowedCountries<TAggregate>](ihaswrtiableallowedcountries-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### AllowInRegion (1 of 2) - -```csharp -public TAggregate AllowInRegion(RegionReadOnly region) -``` - ---- - -#### AllowInRegion (2 of 2) - -```csharp -public TAggregate AllowInRegion(Guid countryId, Guid regionId) -``` - - ---- - -#### DisallowInRegion (1 of 2) - -```csharp -public TAggregate DisallowInRegion(RegionReadOnly region) -``` - ---- - -#### DisallowInRegion (2 of 2) - -```csharp -public TAggregate DisallowInRegion(Guid countryId, Guid regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/inuseproductattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/inuseproductattribute.md deleted file mode 100644 index 7a376bd2d02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/inuseproductattribute.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: InUseProductAttribute -description: API reference for InUseProductAttribute in Umbraco Commerce ---- -## InUseProductAttribute - -```csharp -public class InUseProductAttribute -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Name - -```csharp -public ReadOnlyTranslatedValue Name { get; } -``` - - ---- - -#### Values - -```csharp -public IReadOnlyCollection Values { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/inuseproductattributevalue.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/inuseproductattributevalue.md deleted file mode 100644 index 0601a9048b9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/inuseproductattributevalue.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: InUseProductAttributeValue -description: API reference for InUseProductAttributeValue in Umbraco Commerce ---- -## InUseProductAttributeValue - -```csharp -public class InUseProductAttributeValue -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Name - -```csharp -public ReadOnlyTranslatedValue Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iprice.md deleted file mode 100644 index 2905a9d3a5c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iprice.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: IPrice -description: API reference for IPrice in Umbraco Commerce ---- -## IPrice - -```csharp -public interface IPrice -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Tax - -```csharp -public decimal Tax { get; } -``` - - ---- - -#### WithoutTax - -```csharp -public decimal WithoutTax { get; } -``` - - ---- - -#### WithTax - -```csharp -public decimal WithTax { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsnapshot.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsnapshot.md deleted file mode 100644 index 0a6e265d7dd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsnapshot.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: IProductSnapshot -description: API reference for IProductSnapshot in Umbraco Commerce ---- -## IProductSnapshot - -```csharp -public interface IProductSnapshot -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Attributes - -```csharp -public IEnumerable Attributes { get; } -``` - - ---- - -#### IsGiftCard - -```csharp -public bool IsGiftCard { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public IEnumerable Prices { get; } -``` - - ---- - -#### ProductReference - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### Properties - -```csharp -public IDictionary Properties { get; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; } -``` - - ---- - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public Guid? TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsummary.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsummary.md deleted file mode 100644 index 23ead24cb0b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsummary.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: IProductSummary -description: API reference for IProductSummary in Umbraco Commerce ---- -## IProductSummary - -```csharp -public interface IProductSummary : IProductSummaryCommon -``` - -**Inheritance** - -* interface [IProductSummaryCommon](iproductsummarycommon.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### HasVariants - -```csharp -public bool HasVariants { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsummarycommon.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsummarycommon.md deleted file mode 100644 index 802feab57d8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductsummarycommon.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: IProductSummaryCommon -description: API reference for IProductSummaryCommon in Umbraco Commerce ---- -## IProductSummaryCommon - -```csharp -public interface IProductSummaryCommon -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public IEnumerable Prices { get; } -``` - - ---- - -#### Reference - -```csharp -public string Reference { get; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductvariantsummary.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductvariantsummary.md deleted file mode 100644 index c422529993f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iproductvariantsummary.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: IProductVariantSummary -description: API reference for IProductVariantSummary in Umbraco Commerce ---- -## IProductVariantSummary - -```csharp -public interface IProductVariantSummary : IProductSummaryCommon -``` - -**Inheritance** - -* interface [IProductSummaryCommon](iproductsummarycommon.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Attributes - -```csharp -public IReadOnlyDictionary Attributes { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso3166country.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso3166country.md deleted file mode 100644 index ffc73672ca0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso3166country.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Iso3166Country -description: API reference for Iso3166Country in Umbraco Commerce ---- -## Iso3166Country - -```csharp -public class Iso3166Country -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### Iso3166Country - -The default constructor. - -```csharp -public Iso3166Country() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### Regions - -```csharp -public Iso3166CountryRegion[] Regions { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso3166countryregion.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso3166countryregion.md deleted file mode 100644 index a9073be1309..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso3166countryregion.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: Iso3166CountryRegion -description: API reference for Iso3166CountryRegion in Umbraco Commerce ---- -## Iso3166CountryRegion - -```csharp -public class Iso3166CountryRegion -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### Iso3166CountryRegion - -The default constructor. - -```csharp -public Iso3166CountryRegion() -``` - - -### Properties - -#### Code - -```csharp -public string Code { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso4217.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso4217.md deleted file mode 100644 index fa61d491822..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/iso4217.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Iso4217 -description: API reference for Iso4217 in Umbraco Commerce ---- -## Iso4217 - -```csharp -public static class Iso4217 -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Fields - -#### CurrencyCodes - -```csharp -public static IReadOnlyDictionary CurrencyCodes; -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/isoftdeletable.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/isoftdeletable.md deleted file mode 100644 index 568e68f27e5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/isoftdeletable.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ISoftDeletable -description: API reference for ISoftDeletable in Umbraco Commerce ---- -## ISoftDeletable - -```csharp -public interface ISoftDeletable -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### DeletedTimestamp - -```csharp -public long DeletedTimestamp { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/isortable.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/isortable.md deleted file mode 100644 index ae7f296b4a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/isortable.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ISortable -description: API reference for ISortable in Umbraco Commerce ---- -## ISortable - -```csharp -public interface ISortable -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/itaggablereadonlyentity.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/itaggablereadonlyentity.md deleted file mode 100644 index c9d257d1c53..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/itaggablereadonlyentity.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: ITaggableReadOnlyEntity -description: API reference for ITaggableReadOnlyEntity in Umbraco Commerce ---- -## ITaggableReadOnlyEntity - -```csharp -public interface ITaggableReadOnlyEntity -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Tags - -```csharp -public IReadOnlyCollection Tags { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/itaggablewritableentity-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/itaggablewritableentity-1.md deleted file mode 100644 index caed4e66551..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/itaggablewritableentity-1.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: ITaggableWritableEntity -description: API reference for ITaggableWritableEntity in Umbraco Commerce ---- -## ITaggableWritableEntity<TEntity> - -```csharp -public interface ITaggableWritableEntity -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### AddTag - -```csharp -public TEntity AddTag(string tag) -``` - - ---- - -#### AddTags - -```csharp -public TEntity AddTags(IEnumerable tags) -``` - - ---- - -#### ClearTags - -```csharp -public TEntity ClearTags() -``` - - ---- - -#### RemoveTag - -```csharp -public TEntity RemoveTag(string tag) -``` - - ---- - -#### RemoveTags - -```csharp -public TEntity RemoveTags(IEnumerable tags) -``` - - ---- - -#### SetTags - -```csharp -public TEntity SetTags(IEnumerable tags, SetBehavior setBehavior = SetBehavior.Replace) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/lazyproperty.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/lazyproperty.md deleted file mode 100644 index 8b78cc2ba25..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/lazyproperty.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: LazyProperty -description: API reference for LazyProperty in Umbraco Commerce ---- -## LazyProperty - -```csharp -public class LazyProperty -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### LazyProperty (1 of 2) - -```csharp -public LazyProperty(Func getter) -``` - ---- - -#### LazyProperty (2 of 2) - -```csharp -public LazyProperty(Lazy getter) -``` - - -### Properties - -#### HasSetValue - -```csharp -public bool HasSetValue { get; } -``` - - ---- - -#### Value - -```csharp -public object Value { get; set; } -``` - - -### Methods - -#### Reset (1 of 2) - -```csharp -public void Reset(Func getter) -``` - ---- - -#### Reset (2 of 2) - -```csharp -public void Reset(Lazy getter) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/matchtype.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/matchtype.md deleted file mode 100644 index 157a8d74748..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/matchtype.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: MatchType -description: API reference for MatchType in Umbraco Commerce ---- -## MatchType - -```csharp -public enum MatchType -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| All | `0` | | -| Any | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/order.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/order.md deleted file mode 100644 index f7454c04db0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/order.md +++ /dev/null @@ -1,1433 +0,0 @@ ---- -title: Order -description: API reference for Order in Umbraco Commerce ---- -## Order - -A writable Order entity - -```csharp -public class Order : OrderReadOnly, ITaggableWritableEntity -``` - -**Inheritance** - -* Class [OrderReadOnly](orderreadonly.md) -* interface [ITaggableWritableEntity<TEntity>](itaggablewritableentity-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### IsFinalized - -```csharp -public override bool IsFinalized { get; } -``` - - ---- - -#### IsFinalizing - -```csharp -public override bool IsFinalizing { get; } -``` - - -### Methods - -#### Create (1 of 2) - -Creates a new instance of an [`Order`](order.md) - -```csharp -public static Order Create(IUnitOfWork uow, Guid storeId, string languageIsoCode, Guid currencyId, - Guid taxClassId, Guid orderStatusId, Guid? paymentMethodId = default(Guid?), - Guid? paymentCountryId = default(Guid?), Guid? paymentRegionId = default(Guid?), - Guid? shippingMethodId = default(Guid?), Guid? shippingCountryId = default(Guid?), - Guid? shippingRegionId = default(Guid?), string customerReference = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| uow | An active IUnitOfWork to use for write operations | -| storeId | The ID of the [`Store`](store.md) the order belongs to | -| languageIsoCode | The ISO Code of the language of the order | -| currencyId | The ID of the [`Currency`](currency.md) of the order | -| taxClassId | The ID of the [`TaxClass`](taxclass.md) of the order | -| orderStatusId | The ID of the [`OrderStatus`](orderstatus.md) of the order | -| paymentMethodId | The ID of the [`PaymentMethod`](paymentmethod.md) of the order | -| paymentCountryId | The ID of the payment [`Country`](country.md) of the order | -| paymentRegionId | The ID of the payment [`Region`](region.md) of the order | -| shippingMethodId | The ID of the [`ShippingMethod`](shippingmethod.md) of the order | -| shippingCountryId | The ID of the shipping [`Country`](country.md) of the order | -| shippingRegionId | The ID of the shipping [`Region`](region.md) of the order | -| customerReference | The unique reference of the customer the order belongs to | - -**Returns** - -A new [`Order`](order.md) instance - ---- - -#### Create (2 of 2) - -Creates a new instance of an [`Order`](order.md) - -```csharp -public static Order Create(IUnitOfWork uow, Guid id, Guid storeId, string languageIsoCode, - Guid currencyId, Guid taxClassId, Guid orderStatusId, Guid? paymentMethodId = default(Guid?), - Guid? paymentCountryId = default(Guid?), Guid? paymentRegionId = default(Guid?), - Guid? shippingMethodId = default(Guid?), Guid? shippingCountryId = default(Guid?), - Guid? shippingRegionId = default(Guid?), string customerReference = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| uow | An active IUnitOfWork to use for write operations | -| id | And explicit ID to assign to the [`Order`](order.md) | -| storeId | The ID of the [`Store`](store.md) the order belongs to | -| languageIsoCode | The ISO Code of the language of the order | -| currencyId | The ID of the [`Currency`](currency.md) of the order | -| taxClassId | The ID of the [`TaxClass`](taxclass.md) of the order | -| orderStatusId | The ID of the [`OrderStatus`](orderstatus.md) of the order | -| paymentMethodId | The ID of the [`PaymentMethod`](paymentmethod.md) of the order | -| paymentCountryId | The ID of the payment [`Country`](country.md) of the order | -| paymentRegionId | The ID of the payment [`Region`](region.md) of the order | -| shippingMethodId | The ID of the [`ShippingMethod`](shippingmethod.md) of the order | -| shippingCountryId | The ID of the shipping [`Country`](country.md) of the order | -| shippingRegionId | The ID of the shipping [`Region`](region.md) of the order | -| customerReference | The unique reference of the customer the order belongs to | - -**Returns** - -A new [`Order`](order.md) instance - - ---- - -#### AddProduct (1 of 3) - -Adds a product to the order - -```csharp -public Order AddProduct(string productReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId, - IEnumerable uniquenessPropertyAliases, IProductService productService) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | -| parentBundleId | The bundle ID of an existing bundle to assign the product order line to as a bundle item | -| uniquenessPropertyAliases | A collection of property aliases to use to identify product uniqueness when adding the product to the order | -| productService | A [`IProductService`](../umbraco-commerce-core-services/iproductservice.md) instance to fetch the product information from | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### AddProduct (2 of 3) - -Adds a product variant to the order - -```csharp -public Order AddProduct(string productReference, string productVariantReference, decimal qty, - IDictionary properties, string bundleId, string parentBundleId, - IEnumerable uniquenessPropertyAliases, IProductService productService) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | -| parentBundleId | The bundle ID of an existing bundle to assign the product order line to as a bundle item | -| uniquenessPropertyAliases | A collection of property aliases to use to identify product uniqueness when adding the product to the order | -| productService | A [`IProductService`](../umbraco-commerce-core-services/iproductservice.md) instance to fetch the product information from | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### AddProduct (3 of 3) - -Adds a product to the order - -```csharp -public Order AddProduct(IProductSnapshot productSnapshot, decimal qty, - IDictionary properties, string bundleId, string parentBundleId, - IEnumerable uniquenessPropertyAliases) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| uniquenessPropertyAliases | A collection of property aliases to use to identify product uniqueness when adding the product to the order | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### AddTag - -Adds a tag to the order - -```csharp -public Order AddTag(string tag) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| tag | The tag to add | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### AddTags - -Adds a series of tag to the order - -```csharp -public Order AddTags(IEnumerable tags) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| tags | The tags to add | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### AssignToCustomer - -Assigns the order to a customer - -```csharp -public Order AssignToCustomer(string customerReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| customerReference | The unique reference of the customer to assign the order to, for Umbraco members this should be `member.Key.ToString()` | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### ClearPaymentCountryRegion - -Clears the payment [`Country`](country.md) and [`Region`](region.md) of the order - -```csharp -public Order ClearPaymentCountryRegion() -``` - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### ClearPaymentMethod - -Clears the current [`PaymentMethod`](paymentmethod.md) of the order - -```csharp -public Order ClearPaymentMethod() -``` - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### ClearShippingCountryRegion - -Clears the shipping [`Country`](country.md) and [`Region`](region.md) of the order - -```csharp -public Order ClearShippingCountryRegion() -``` - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### ClearShippingMethod - -Clears the current [`ShippingMethod`](shippingmethod.md) of the order - -```csharp -public Order ClearShippingMethod() -``` - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### ClearTags - -Clears all the tags assigned to this order - -```csharp -public Order ClearTags() -``` - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### Finalize (1 of 2) - -Finalizes the order - -```csharp -public Order Finalize(decimal amountAuthorized, string transactionId, PaymentStatus paymentStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| amountAuthorized | The amount authorized by the payment gateway | -| transactionId | The ID of the transaction from the payment gateway | -| paymentStatus | The status of the payment | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### Finalize (2 of 2) - -Finalizes the order - -```csharp -public Order Finalize(decimal amountAuthorized, decimal transactionFee, string transactionId, - PaymentStatus paymentStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| amountAuthorized | The amount authorized by the payment gateway | -| transactionFee | The transaction fee charged by the payment gateway | -| transactionId | The ID of the transaction from the payment gateway | -| paymentStatus | The status of the payment | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### InitializeTransaction - -Initializes a transaction ready to send to the payment gateway - -```csharp -public Order InitializeTransaction(IOrderNumberGenerator orderNumberGenerator) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderNumberGenerator | The [`IOrderNumberGenerator`](../umbraco-commerce-core-generators/iordernumbergenerator.md) to use to generate and order number with | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### Recalculate (1 of 2) - -Recalculates the order - -```csharp -public Order Recalculate(IOrderCalculator orderCalculator) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderCalculator | A [`IOrderCalculator`](../umbraco-commerce-core-calculators/iordercalculator.md) instance to use for the calculation | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### Recalculate (2 of 2) - -Recalculates the order - -```csharp -public Order Recalculate(bool force, IOrderCalculator orderCalculator) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| force | A boolean flag indicating whether to force recalculation whether the order needs recalculating or not | -| orderCalculator | A [`IOrderCalculator`](../umbraco-commerce-core-calculators/iordercalculator.md) instance to use for the calculation | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### Redeem - -Redeems a [`Discount`](discount.md) or [`GiftCard`](giftcard.md) against the order - -```csharp -public Order Redeem(string discountOrGiftCardCode, IDiscountService discountService, - IGiftCardService giftCardService) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| discountOrGiftCardCode | The [`Discount`](discount.md) or [`GiftCard`](giftcard.md) code | -| discountService | A [`IDiscountService`](../umbraco-commerce-core-services/idiscountservice.md) instance to fetch discounts from | -| giftCardService | A [`IGiftCardService`](../umbraco-commerce-core-services/igiftcardservice.md) instance to fetch gift cards from | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### RemoveOrderLine (1 of 2) - -Removes an order line from the order - -```csharp -public Order RemoveOrderLine(OrderLineReadOnly orderLine) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderLine | The order line to remove | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### RemoveOrderLine (2 of 2) - -Removes an order line from the order - -```csharp -public Order RemoveOrderLine(Guid orderLineId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderLineId | The ID of the order line to remove | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### RemoveProperties - -Removes a series of properties from the order - -```csharp -public Order RemoveProperties(IEnumerable aliases) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| aliases | The aliases of the properties to remove | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### RemoveProperty - -Removes a property from the order - -```csharp -public Order RemoveProperty(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to remove | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### RemoveTag - -Removes a tag from the order - -```csharp -public Order RemoveTag(string tag) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| tag | The tags to remove | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### RemoveTags - -Removes a series of from the order - -```csharp -public Order RemoveTags(IEnumerable tags) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| tags | The tags to remove | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetCurrency (1 of 2) - -Sets the [`Currency`](currency.md) of the order - -```csharp -public Order SetCurrency(CurrencyReadOnly currency) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| currency | The [`Currency`](currency.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetCurrency (2 of 2) - -Sets the [`Currency`](currency.md) of the order - -```csharp -public Order SetCurrency(Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| currencyId | The ID of the [`Currency`](currency.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetLanguage - -Sets the language of the order - -```csharp -public Order SetLanguage(string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| languageIsoCode | The ISO Code of the language to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetOrderStatus (1 of 4) - -Sets the [`OrderStatus`](orderstatus.md) of the order - -```csharp -public Order SetOrderStatus(OrderStatusReadOnly orderStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderStatus | The [`OrderStatus`](orderstatus.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetOrderStatus (2 of 4) - -Sets the [`OrderStatus`](orderstatus.md) of the order - -```csharp -public Order SetOrderStatus(Guid orderStatusId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderStatusId | The ID of the [`OrderStatus`](orderstatus.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetOrderStatus (3 of 4) - -Sets the [`OrderStatus`](orderstatus.md) of the order - -```csharp -public Order SetOrderStatus(OrderStatusReadOnly orderStatus, OrderStatusCode orderStatusCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderStatus | The [`OrderStatus`](orderstatus.md) to set the order to | -| orderStatusCode | An [`OrderStatusCode`](orderstatuscode.md) to set on the order for additional order status context | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetOrderStatus (4 of 4) - -Sets the [`OrderStatus`](orderstatus.md) of the order - -```csharp -public Order SetOrderStatus(Guid orderStatusId, OrderStatusCode orderStatusCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderStatusId | The ID of the [`OrderStatus`](orderstatus.md) to set the order to | -| orderStatusCode | An [`OrderStatusCode`](orderstatuscode.md) to set on the order for additional order status context | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetPaymentCountryRegion (1 of 2) - -Sets the payment [`Country`](country.md) and [`Region`](region.md) of the order - -```csharp -public Order SetPaymentCountryRegion(CountryReadOnly country, RegionReadOnly region = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| country | The payment [`Country`](country.md) to set the order to | -| region | The payment [`Region`](region.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetPaymentCountryRegion (2 of 2) - -Sets the payment [`Country`](country.md) and [`Region`](region.md) of the order - -```csharp -public Order SetPaymentCountryRegion(Guid? countryId, Guid? regionId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| countryId | The ID of the payment [`Country`](country.md) to set the order to | -| regionId | The ID of the payment [`Region`](region.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetPaymentMethod (1 of 2) - -Sets the [`PaymentMethod`](paymentmethod.md) of the order - -```csharp -public Order SetPaymentMethod(PaymentMethodReadOnly paymentMethod) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| paymentMethod | The [`PaymentMethod`](paymentmethod.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetPaymentMethod (2 of 2) - -Sets the [`PaymentMethod`](paymentmethod.md) of the order - -```csharp -public Order SetPaymentMethod(Guid? paymentMethodId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| paymentMethodId | The ID of the [`PaymentMethod`](paymentmethod.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetProperties (1 of 2) - -Sets a series of properties on the order - -```csharp -public Order SetProperties(IDictionary properties, - SetBehavior setBehavior = SetBehavior.Merge) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| properties | The properties to set | -| setBehavior | The behavior of the set operation, whether to `Merge` the properties into the orders existing properties collection or `Replace` the orders property collection entirely | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetProperties (2 of 2) - -Sets a series of properties on the order - -```csharp -public Order SetProperties(IDictionary properties, - SetBehavior setBehavior = SetBehavior.Merge) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| properties | The properties to set | -| setBehavior | The behavior of the set operation, whether to `Merge` the properties into the orders existing properties collection or `Replace` the orders property collection entirely | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetProperty (1 of 2) - -Sets a property on the order - -```csharp -public Order SetProperty(string alias, string value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to set | -| value | The value of the property | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetProperty (2 of 2) - -Sets a property on the order - -```csharp -public Order SetProperty(string alias, PropertyValue value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to set | -| value | The [`PropertyValue`](propertyvalue.md) of the property | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetShippingCountryRegion (1 of 2) - -Sets the shipping [`Country`](country.md) and [`Region`](region.md) of the order - -```csharp -public Order SetShippingCountryRegion(CountryReadOnly country, RegionReadOnly region = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| country | The shipping [`Country`](country.md) to set the order to | -| region | The shipping [`Region`](region.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetShippingCountryRegion (2 of 2) - -Sets the shipping [`Country`](country.md) and [`Region`](region.md) of the order - -```csharp -public Order SetShippingCountryRegion(Guid? countryId, Guid? regionId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| countryId | The ID of the shipping [`Country`](country.md) to set the order to | -| regionId | The ID of the shipping [`Region`](region.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetShippingMethod (1 of 2) - -Sets the [`ShippingMethod`](shippingmethod.md) of the order - -```csharp -public Order SetShippingMethod(ShippingMethodReadOnly shippingMethod) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| shippingMethod | The [`ShippingMethod`](shippingmethod.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetShippingMethod (2 of 2) - -Sets the [`ShippingMethod`](shippingmethod.md) of the order - -```csharp -public Order SetShippingMethod(Guid? shippingMethodId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| shippingMethodId | The ID of the [`ShippingMethod`](shippingmethod.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetTags - -Sets the rags of the order - -```csharp -public Order SetTags(IEnumerable tags, SetBehavior setBehavior = SetBehavior.Replace) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| tags | The tags to remove | -| setBehavior | The behavior of the set operation, whether to `Merge` the tags into the orders existing tags collection or `Replace` the orders tags collection entirely | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### SetTaxClass (1 of 2) - -Sets the [`TaxClass`](taxclass.md) of the order - -```csharp -public Order SetTaxClass(TaxClassReadOnly taxClass) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| taxClass | The [`TaxClass`](taxclass.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### SetTaxClass (2 of 2) - -Sets the [`TaxClass`](taxclass.md) of the order - -```csharp -public Order SetTaxClass(Guid taxClassId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| taxClassId | The ID of the [`TaxClass`](taxclass.md) to set the order to | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### UnassignFromCustomer - -Unassigns the order from a customer - -```csharp -public Order UnassignFromCustomer() -``` - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### Unredeem - -Unredeems a [`Discount`](discount.md) or [`GiftCard`](giftcard.md) from the order - -```csharp -public Order Unredeem(string discountOrGiftCardCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| discountOrGiftCardCode | The [`Discount`](discount.md) or [`GiftCard`](giftcard.md) code | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### UpdateTransaction (1 of 2) - -Updates the transaction info of the order - -```csharp -public Order UpdateTransaction(decimal amountAuthorized, string transactionId, - PaymentStatus paymentStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| amountAuthorized | The amount authorized by the payment gateway | -| transactionId | The ID of the transaction from the payment gateway | -| paymentStatus | The status of the payment | - -**Returns** - -The updated [`Order`](order.md) entity - ---- - -#### UpdateTransaction (2 of 2) - -Updates the transaction info of the order - -```csharp -public Order UpdateTransaction(decimal amountAuthorized, decimal transactionFee, - string transactionId, PaymentStatus paymentStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| amountAuthorized | The amount authorized by the payment gateway | -| transactionFee | The transaction fee charged by the payment gateway | -| transactionId | The ID of the transaction from the payment gateway | -| paymentStatus | The status of the payment | - -**Returns** - -The updated [`Order`](order.md) entity - - ---- - -#### WithOrderLine (1 of 2) - -Gets the fluent write context of an order line - -```csharp -public OrderLineContext WithOrderLine(OrderLineReadOnly orderLine) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderLine | The order line to get the fluent write context for | - -**Returns** - -An [`OrderLineContext`](order-orderlinecontext.md) - ---- - -#### WithOrderLine (2 of 2) - -Gets the fluent write context of an order line - -```csharp -public OrderLineContext WithOrderLine(Guid orderLineId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderLineId | The ID of an order line to get the fluent write context for | - -**Returns** - -An [`OrderLineContext`](order-orderlinecontext.md) - - -### Classes - -#### Order.OrderLineContext - -The fluent write context for an order line - -```csharp -public class OrderLineContext -``` - -##### Methods - -#### DecrementQuantity - -Decrements the quantity of the order line - -```csharp -public OrderLineContext DecrementQuantity(decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| qty | The amount to decrement the order line quantity by | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### IncrementQuantity - -Increments the quantity of the order line - -```csharp -public OrderLineContext IncrementQuantity(decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| qty | The amount to increment the order line quantity by | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### RemoveProperties - -Removes a series of properties from the order line - -```csharp -public OrderLineContext RemoveProperties(IEnumerable aliases) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| aliases | The aliases of the properties to remove | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### RemoveProperty - -Removes a property from the order line - -```csharp -public OrderLineContext RemoveProperty(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to remove | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### SetProperties (1 of 2) - -Sets a series of properties on the order line - -```csharp -public OrderLineContext SetProperties(IDictionary properties, - SetBehavior setBehavior = SetBehavior.Merge) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| properties | The properties to set | -| setBehavior | The behavior of the set operation, whether to `Merge` the properties into the orders existing properties collection or `Replace` the orders property collection entirely | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - ---- - -#### SetProperties (2 of 2) - -Sets a series of properties on the order line - -```csharp -public OrderLineContext SetProperties(IDictionary properties, - SetBehavior setBehavior = SetBehavior.Merge) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| properties | The properties to set | -| setBehavior | The behavior of the set operation, whether to `Merge` the properties into the orders existing properties collection or `Replace` the orders property collection entirely | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### SetProperty (1 of 2) - -Sets a property on the order line - -```csharp -public OrderLineContext SetProperty(string alias, string value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to set | -| value | The value of the property | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - ---- - -#### SetProperty (2 of 2) - -Sets a property on the order line - -```csharp -public OrderLineContext SetProperty(string alias, PropertyValue value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The alias of the property to set | -| value | The [`PropertyValue`](propertyvalue.md) of the property | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### SetQuantity - -Sets the quantity of the order line - -```csharp -public OrderLineContext SetQuantity(decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| qty | The amount to set the order line quantity to | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - ---- - -#### SetTaxClass (1 of 2) - -Sets the [`TaxClass`](taxclass.md) of the order line - -```csharp -public OrderLineContext SetTaxClass(TaxClassReadOnly taxClass) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| taxClass | The [`TaxClass`](taxclass.md) to set the order to | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - ---- - -#### SetTaxClass (2 of 2) - -Sets the [`TaxClass`](taxclass.md) of the order line - -```csharp -public OrderLineContext SetTaxClass(Guid taxClassId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| taxClassId | The ID of the [`TaxClass`](taxclass.md) to set the order to | - -**Returns** - -The updated [`OrderLineContext`](order-orderlinecontext.md) instance - - - -**Remarks** - -See [`OrderExtensions`](../umbraco-commerce-extensions/orderextensions.md) for additional Order methods - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordercalculation.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordercalculation.md deleted file mode 100644 index 8206ee93b4a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordercalculation.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: OrderCalculation -description: API reference for OrderCalculation in Umbraco Commerce ---- -## OrderCalculation - -```csharp -public class OrderCalculation -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### OrderCalculation - -```csharp -public OrderCalculation(Guid currencyId) -``` - - -### Properties - -#### OrderLines - -```csharp -public Dictionary OrderLines { get; } -``` - - ---- - -#### PaymentTaxRate - -```csharp -public TaxRate PaymentTaxRate { get; set; } -``` - - ---- - -#### PaymentTotalPrice - -```csharp -public TotalPrice PaymentTotalPrice { get; set; } -``` - - ---- - -#### ShippingTaxRate - -```csharp -public TaxRate ShippingTaxRate { get; set; } -``` - - ---- - -#### ShippingTotalPrice - -```csharp -public TotalPrice ShippingTotalPrice { get; set; } -``` - - ---- - -#### SubtotalPrice - -```csharp -public OrderSubtotalPrice SubtotalPrice { get; set; } -``` - - ---- - -#### TaxRate - -```csharp -public TaxRate TaxRate { get; set; } -``` - - ---- - -#### TotalPrice - -```csharp -public OrderTotalPrice TotalPrice { get; set; } -``` - - ---- - -#### TransactionAmount - -```csharp -public OrderTransactionAmount TransactionAmount { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordercustomerinfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordercustomerinfo.md deleted file mode 100644 index fffeade5759..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordercustomerinfo.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: OrderCustomerInfo -description: API reference for OrderCustomerInfo in Umbraco Commerce ---- -## OrderCustomerInfo - -The customer information for an order - -```csharp -public class OrderCustomerInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CustomerReference - -Gets the unique reference of the customer of the order - -```csharp -public string CustomerReference { get; } -``` - - ---- - -#### Email - -Gets the email address of the customer of the order - -```csharp -public string Email { get; } -``` - - ---- - -#### FirstName - -Gets the first name of the customer of the order - -```csharp -public string FirstName { get; } -``` - - ---- - -#### LastName - -Gets the last name of the customer of the order - -```csharp -public string LastName { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderexchangeratelookup.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderexchangeratelookup.md deleted file mode 100644 index 3128202e81a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderexchangeratelookup.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: OrderExchangeRateLookup -description: API reference for OrderExchangeRateLookup in Umbraco Commerce ---- -## OrderExchangeRateLookup - -```csharp -public class OrderExchangeRateLookup -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### OrderExchangeRateLookup - -The default constructor. - -```csharp -public OrderExchangeRateLookup() -``` - - -### Properties - -#### BaseCurrencyCode - -```csharp -public string BaseCurrencyCode { get; set; } -``` - - ---- - -#### CurrencyCode - -```csharp -public string CurrencyCode { get; set; } -``` - - ---- - -#### FinalizedDate - -```csharp -public DateTime FinalizedDate { get; set; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinebaseprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinebaseprice.md deleted file mode 100644 index e89609b14cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinebaseprice.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: OrderLineBasePrice -description: API reference for OrderLineBasePrice in Umbraco Commerce ---- -## OrderLineBasePrice - -```csharp -public class OrderLineBasePrice : AdjustedPrice -``` - -**Inheritance** - -* Class [AdjustedPrice](adjustedprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static OrderLineBasePrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyOrderLineBasePrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinecalculation.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinecalculation.md deleted file mode 100644 index fb71be5380e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinecalculation.md +++ /dev/null @@ -1,86 +0,0 @@ ---- -title: OrderLineCalculation -description: API reference for OrderLineCalculation in Umbraco Commerce ---- -## OrderLineCalculation - -```csharp -public class OrderLineCalculation -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### OrderLineCalculation - -```csharp -public OrderLineCalculation(Guid currencyId) -``` - - -### Properties - -#### BasePrice - -```csharp -public OrderLineBasePrice BasePrice { get; set; } -``` - - ---- - -#### OrderLines - -```csharp -public Dictionary OrderLines { get; } -``` - - ---- - -#### RollingSubOrderLinesTotalAdjustedPrice - -```csharp -public Price RollingSubOrderLinesTotalAdjustedPrice { get; set; } -``` - - ---- - -#### RollingSubOrderLinesTotalPrice - -```csharp -public Price RollingSubOrderLinesTotalPrice { get; set; } -``` - - ---- - -#### TaxRate - -```csharp -public TaxRate TaxRate { get; set; } -``` - - ---- - -#### TotalPrice - -```csharp -public OrderLineTotalPrice TotalPrice { get; set; } -``` - - ---- - -#### UnitPrice - -```csharp -public OrderLineUnitPrice UnitPrice { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinepricetype.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinepricetype.md deleted file mode 100644 index cb53d5349b6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinepricetype.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: OrderLinePriceType -description: API reference for OrderLinePriceType in Umbraco Commerce ---- -## OrderLinePriceType - -```csharp -public enum OrderLinePriceType -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| BasePrice | `0` | | -| UnitPrice | `10` | | -| TotalPrice | `20` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinereadonly.md deleted file mode 100644 index c90aff17e53..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinereadonly.md +++ /dev/null @@ -1,234 +0,0 @@ ---- -title: OrderLineReadOnly -description: API reference for OrderLineReadOnly in Umbraco Commerce ---- -## OrderLineReadOnly - -A read only Order Line entity - -```csharp -public class OrderLineReadOnly : EntityBase, IHasReadableOrderLines, - IHasReadableOrderLines, IHasReadableProperties -``` - -**Inheritance** - -* Class [EntityBase<TState>](entitybase-1.md) -* interface [IHasReadableOrderLines](ihasreadableorderlines.md) -* interface [IHasReadableOrderLines<T>](ihasreadableorderlines-1.md) -* interface [IHasReadableProperties](ihasreadableproperties.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Attributes - -Gets the attributes of the order line - -```csharp -public IReadOnlyCollection Attributes { get; } -``` - - ---- - -#### BasePrice - -Gets the base price of the order line - -```csharp -public ReadOnlyOrderLineBasePrice BasePrice { get; } -``` - - ---- - -#### CopiedFromOrderLineId - -Gets the ID of a parent order line this order line was copied from - -```csharp -public Guid? CopiedFromOrderLineId { get; } -``` - - ---- - -#### Name - -Gets the name of the product of the order line - -```csharp -public string Name { get; } -``` - - ---- - -#### OrderId - -Gets the ID of the [`Order`](order.md) this entity belongs to - -```csharp -public Guid OrderId { get; } -``` - - ---- - -#### ProductReference - -Gets the unique product reference of the product of the order line - -```csharp -public string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -Gets the unique product variant reference of the product of the order line, if it is a product variant order line - -```csharp -public string ProductVariantReference { get; } -``` - - ---- - -#### Properties - -Gets the properties of the order line - -```csharp -public IReadOnlyDictionary Properties { get; } -``` - - ---- - -#### Quantity - -Gets the quantity of the product of the order line - -```csharp -public decimal Quantity { get; } -``` - - ---- - -#### Sku - -Gets the unique SKU of the product of the order line - -```csharp -public string Sku { get; } -``` - - ---- - -#### StoreId - -Gets the ID of the [`Store`](store.md) this entity belongs to - -```csharp -public Guid StoreId { get; } -``` - - ---- - -#### TaxClassId - -Gets ID of the [`TaxClass`](taxclass.md) of the order line - -```csharp -public Guid? TaxClassId { get; } -``` - - ---- - -#### TaxRate - -Gets the `TaxRate` of the order line - -```csharp -public TaxRate TaxRate { get; } -``` - - ---- - -#### TotalPrice - -Gets the total price of the order line - -```csharp -public ReadOnlyOrderLineTotalPrice TotalPrice { get; } -``` - - ---- - -#### UnitPrice - -Gets the unit price of the order line - -```csharp -public ReadOnlyOrderLineUnitPrice UnitPrice { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### IsBundle - -Gets a flag indicating if this order line is a bundle order line or not. - -```csharp -public bool IsBundle() -``` - -**Returns** - -True if the order line is a bundle, otherwise False - - ---- - -#### IsBundle - -Gets a flag indicating if this order line is a bundle order line or not. - -```csharp -public bool IsBundle(out BundleOrderLineReadOnly bundle) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| bundle | The [`BundleOrderLineReadOnly`](bundleorderlinereadonly.md) instance if the order line is a bundle | - -**Returns** - -True if the order line is a bundle, otherwise False - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinesource.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinesource.md deleted file mode 100644 index 795cfabe977..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinesource.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: OrderLineSource -description: API reference for OrderLineSource in Umbraco Commerce ---- -## OrderLineSource - -```csharp -public enum OrderLineSource -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| MatchingRules | `0` | | -| WholeOrder | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinetotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinetotalprice.md deleted file mode 100644 index f3acb4ec0c6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlinetotalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: OrderLineTotalPrice -description: API reference for OrderLineTotalPrice in Umbraco Commerce ---- -## OrderLineTotalPrice - -```csharp -public class OrderLineTotalPrice : TotalPriceWithPreviousAdjustment -``` - -**Inheritance** - -* Class [TotalPriceWithPreviousAdjustment](totalpricewithpreviousadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static OrderLineTotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyOrderLineTotalPrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlineunitprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlineunitprice.md deleted file mode 100644 index 38edc2715f9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderlineunitprice.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: OrderLineUnitPrice -description: API reference for OrderLineUnitPrice in Umbraco Commerce ---- -## OrderLineUnitPrice - -```csharp -public class OrderLineUnitPrice : TotalPriceWithPreviousAdjustment -``` - -**Inheritance** - -* Class [TotalPriceWithPreviousAdjustment](totalpricewithpreviousadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static OrderLineUnitPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyOrderLineUnitPrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderpaymentinfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderpaymentinfo.md deleted file mode 100644 index e1579cdcbfb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderpaymentinfo.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: OrderPaymentInfo -description: API reference for OrderPaymentInfo in Umbraco Commerce ---- -## OrderPaymentInfo - -The payment information for an order - -```csharp -public class OrderPaymentInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CountryId - -Gets the ID of the payment [`Country`](country.md) of the order - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### PaymentMethodId - -Gets the ID of the [`PaymentMethod`](paymentmethod.md) of the order - -```csharp -public Guid? PaymentMethodId { get; } -``` - - ---- - -#### RegionId - -Gets the ID of the payment [`Region`](region.md) of the order - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### TaxRate - -Gets the `TaxRate` of the payment of the order - -```csharp -public TaxRate TaxRate { get; } -``` - - ---- - -#### TotalPrice - -Gets the total price of the payment of the order - -```csharp -public ReadOnlyTotalPrice TotalPrice { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderpricetype.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderpricetype.md deleted file mode 100644 index 46b6440c712..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderpricetype.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: OrderPriceType -description: API reference for OrderPriceType in Umbraco Commerce ---- -## OrderPriceType - -```csharp -public enum OrderPriceType -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| SubtotalPrice | `0` | | -| ShipmentPrice | `1` | | -| PaymentPrice | `2` | | -| TotalPrice | `3` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderreadonly.md deleted file mode 100644 index 2909a2dd5db..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderreadonly.md +++ /dev/null @@ -1,402 +0,0 @@ ---- -title: OrderReadOnly -description: API reference for OrderReadOnly in Umbraco Commerce ---- -## OrderReadOnly - -A read only Order entity - -```csharp -public class OrderReadOnly : StoreAggregateBase, - IHasReadableOrderLines, IHasReadableOrderLines, IHasReadableProperties, - ITaggableReadOnlyEntity -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasReadableOrderLines](ihasreadableorderlines.md) -* interface [IHasReadableOrderLines<T>](ihasreadableorderlines-1.md) -* interface [IHasReadableProperties](ihasreadableproperties.md) -* interface [ITaggableReadOnlyEntity](itaggablereadonlyentity.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CartNumber - -Gets the Cart Number of the order - -```csharp -public string CartNumber { get; } -``` - - ---- - -#### CopiedFromOrderId - -Gets the ID of a parent order this order was copied from - -```csharp -public Guid? CopiedFromOrderId { get; } -``` - - ---- - -#### CreateDate - -Gets the DateTime the order was created - -```csharp -public DateTime CreateDate { get; } -``` - - ---- - -#### CurrencyId - -Gets the ID of the [`Currency`](currency.md) of the order - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### CustomerInfo - -Gets the [`OrderCustomerInfo`](ordercustomerinfo.md) of the order - -```csharp -public OrderCustomerInfo CustomerInfo { get; } -``` - - ---- - -#### DiscountCodes - -Gets a list of discount codes applied to the order - -```csharp -public IReadOnlyCollection DiscountCodes { get; } -``` - - ---- - -#### Discounts - -Gets a list of discounts applies to the order - -```csharp -public IReadOnlyCollection Discounts { get; } -``` - - ---- - -#### FinalizedDate - -Gets the DateTime the order was finalized - -```csharp -public DateTime? FinalizedDate { get; } -``` - - ---- - -#### GiftCards - -Gets a list of gift cards applied to the order - -```csharp -public IReadOnlyCollection GiftCards { get; } -``` - - ---- - -#### IsFinalized - -Gets a boolean flag indicating whether the order is finalized - -```csharp -public virtual bool IsFinalized { get; } -``` - - ---- - -#### IsFinalizing - -Gets a boolean flag indicating whether the order is currently being finalized - -```csharp -public virtual bool IsFinalizing { get; } -``` - - ---- - -#### IsProcessing - -Gets a boolean flag indicating whether the order is currently being processed by a payment gateway - -```csharp -public virtual bool IsProcessing { get; } -``` - - ---- - -#### LanguageIsoCode - -Gets the ISO Code of the Language of the order - -```csharp -public string LanguageIsoCode { get; } -``` - - ---- - -#### OrderLines - -Gets the order lines of the order - -```csharp -public IReadOnlyCollection OrderLines { get; } -``` - - ---- - -#### OrderNumber - -Gets the order Number of the order - -```csharp -public string OrderNumber { get; } -``` - - ---- - -#### OrderStatusCode - -Gets the `OrderStatusCode` of the [`OrderStatus`](orderstatus.md) of the order - -```csharp -public OrderStatusCode OrderStatusCode { get; } -``` - - ---- - -#### OrderStatusId - -Gets the ID of the [`OrderStatus`](orderstatus.md) of the order - -```csharp -public Guid OrderStatusId { get; } -``` - - ---- - -#### PaymentInfo - -Gets the [`OrderPaymentInfo`](orderpaymentinfo.md) of the order - -```csharp -public OrderPaymentInfo PaymentInfo { get; } -``` - - ---- - -#### Properties - -Gets the properties collection of the order - -```csharp -public IReadOnlyDictionary Properties { get; } -``` - - ---- - -#### ShippingInfo - -Gets the [`OrderShippingInfo`](ordershippinginfo.md) of the order - -```csharp -public OrderShippingInfo ShippingInfo { get; } -``` - - ---- - -#### SubtotalPrice - -Gets the subtotal price of the order - -```csharp -public ReadOnlyOrderSubtotalPrice SubtotalPrice { get; } -``` - - ---- - -#### Tags - -Gets the list of tags assigned to this order - -```csharp -public virtual IReadOnlyCollection Tags { get; } -``` - - ---- - -#### TaxClassId - -Gets the ID of the [`TaxClass`](taxclass.md) of the order - -```csharp -public Guid TaxClassId { get; } -``` - - ---- - -#### TaxRate - -Gets the `TaxRate` of the order - -```csharp -public TaxRate TaxRate { get; } -``` - - ---- - -#### TotalPrice - -Gets the total price of the order - -```csharp -public ReadOnlyOrderTotalPrice TotalPrice { get; } -``` - - ---- - -#### TotalQuantity - -Gets the total quantity of all order line items in the order - -```csharp -public decimal TotalQuantity { get; } -``` - - ---- - -#### TransactionAmount - -Gets the calculated transaction amount for the order - -```csharp -public ReadOnlyOrderTransactionAmount TransactionAmount { get; } -``` - - ---- - -#### TransactionInfo - -Gets the [`OrderTransactionInfo`](ordertransactioninfo.md) of the order - -```csharp -public OrderTransactionInfo TransactionInfo { get; } -``` - - ---- - -#### UpdateDate - -Gets the DateTime the order was last updated - -```csharp -public DateTime UpdateDate { get; } -``` - - -### Methods - -#### GetBundle - -Gets a bundle order line by bundle ID - -```csharp -public BundleOrderLineReadOnly GetBundle(string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| bundleId | The bundle ID of the order line to fetch | - -**Returns** - -An [`BundleOrderLineReadOnly`](bundleorderlinereadonly.md) entity for the order line - - ---- - -#### GetBundles - -Gets a collection of all the bundle order lines present in this order - -```csharp -public IReadOnlyCollection GetBundles() -``` - -**Returns** - -An IReadOnlyCollection entity for the order line - - ---- - -#### GetOrderLine - -Get an order line by ID - -```csharp -public OrderLineReadOnly GetOrderLine(Guid orderLineId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderLineId | The ID of the order line to fetch | - -**Returns** - -An [`OrderLineReadOnly`](orderlinereadonly.md) entity for the order line - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderreference.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderreference.md deleted file mode 100644 index 0040761063c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderreference.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: OrderReference -description: API reference for OrderReference in Umbraco Commerce ---- -## OrderReference - -```csharp -public class OrderReference : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### OrderReference - -```csharp -public OrderReference(Guid orderId, string orderNumber) -``` - - -### Properties - -#### OrderId - -```csharp -public Guid OrderId { get; } -``` - - ---- - -#### OrderNumber - -```csharp -public string OrderNumber { get; } -``` - - -### Methods - -#### Parse - -```csharp -public static OrderReference Parse(string input) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - ---- - -#### TryParse - -```csharp -public static bool TryParse(string input, out OrderReference orderReference) -``` - - -### Operators - -#### OrderReference Implicit - -```csharp -public static implicit operator string(OrderReference or) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderroundingmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderroundingmethod.md deleted file mode 100644 index 2fcefc4fc1c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderroundingmethod.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -title: OrderRoundingMethod -description: API reference for OrderRoundingMethod in Umbraco Commerce ---- -## OrderRoundingMethod - -```csharp -public enum OrderRoundingMethod -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Unit | `0` | | -| Line | `1` | | -| Total | `2` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordershippinginfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordershippinginfo.md deleted file mode 100644 index 57ded09b3b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordershippinginfo.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: OrderShippingInfo -description: API reference for OrderShippingInfo in Umbraco Commerce ---- -## OrderShippingInfo - -The shipping information for an order - -```csharp -public class OrderShippingInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### CountryId - -Gets the ID of the shipping [`Country`](country.md) of the order - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### RegionId - -Gets the ID of the shipping [`Region`](region.md) of the order - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### ShippingMethodId - -Gets the ID of the [`ShippingMethod`](shippingmethod.md) of the order - -```csharp -public Guid? ShippingMethodId { get; } -``` - - ---- - -#### TaxRate - -Gets the `TaxRate` of the shipping of the order - -```csharp -public TaxRate TaxRate { get; } -``` - - ---- - -#### TotalPrice - -Gets the total price of the shipping of the order - -```csharp -public ReadOnlyTotalPrice TotalPrice { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatus.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatus.md deleted file mode 100644 index bfab259a754..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatus.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: OrderStatus -description: API reference for OrderStatus in Umbraco Commerce ---- -## OrderStatus - -```csharp -public class OrderStatus : OrderStatusReadOnly -``` - -**Inheritance** - -* Class [OrderStatusReadOnly](orderstatusreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static OrderStatus Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static OrderStatus Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, string name) -``` - - ---- - -#### SetAlias - -```csharp -public OrderStatus SetAlias(string alias) -``` - - ---- - -#### SetColor - -```csharp -public OrderStatus SetColor(string color) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public OrderStatus SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public OrderStatus SetName(string name, string alias) -``` - - ---- - -#### SetSortOrder - -```csharp -public OrderStatus SetSortOrder(int sortOrder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatuscode.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatuscode.md deleted file mode 100644 index 2d8fb63ba5e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatuscode.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: OrderStatusCode -description: API reference for OrderStatusCode in Umbraco Commerce ---- -## OrderStatusCode - -```csharp -public enum OrderStatusCode -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Ok | `200` | | -| InconsistentOrderReference | `401` | | -| InconsistentPayment | `402` | | -| ErrorAtPaymentGateway | `403` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatusreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatusreadonly.md deleted file mode 100644 index 9b756ac7426..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/orderstatusreadonly.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderStatusReadOnly -description: API reference for OrderStatusReadOnly in Umbraco Commerce ---- -## OrderStatusReadOnly - -```csharp -public class OrderStatusReadOnly : - StoreAggregateBase, IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Color - -```csharp -public string Color { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordersubtotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordersubtotalprice.md deleted file mode 100644 index cb6638e02ef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordersubtotalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: OrderSubtotalPrice -description: API reference for OrderSubtotalPrice in Umbraco Commerce ---- -## OrderSubtotalPrice - -```csharp -public class OrderSubtotalPrice : TotalPriceWithPreviousAdjustment -``` - -**Inheritance** - -* Class [TotalPriceWithPreviousAdjustment](totalpricewithpreviousadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static OrderSubtotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyOrderSubtotalPrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertotalprice.md deleted file mode 100644 index e27baae9996..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertotalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: OrderTotalPrice -description: API reference for OrderTotalPrice in Umbraco Commerce ---- -## OrderTotalPrice - -```csharp -public class OrderTotalPrice : OrderSubtotalPrice -``` - -**Inheritance** - -* Class [OrderSubtotalPrice](ordersubtotalprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static OrderTotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyOrderTotalPrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertransactionamount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertransactionamount.md deleted file mode 100644 index 782ba83da02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertransactionamount.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: OrderTransactionAmount -description: API reference for OrderTransactionAmount in Umbraco Commerce ---- -## OrderTransactionAmount - -```csharp -public class OrderTransactionAmount : AdjustedAmount -``` - -**Inheritance** - -* Class [AdjustedAmount](adjustedamount.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static OrderTransactionAmount ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyOrderTransactionAmount AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertransactioninfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertransactioninfo.md deleted file mode 100644 index 475e95111dd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/ordertransactioninfo.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: OrderTransactionInfo -description: API reference for OrderTransactionInfo in Umbraco Commerce ---- -## OrderTransactionInfo - -The transaction information for an order - -```csharp -public class OrderTransactionInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### AmountAuthorized - -Gets the amount authorized by the payment gateway for the order - -```csharp -public Amount AmountAuthorized { get; } -``` - - ---- - -#### BaseCurrencyExchangeRate - -Gets the base currency exchange rate the order transaction amount - -```csharp -public decimal? BaseCurrencyExchangeRate { get; } -``` - - ---- - -#### PaymentStatus - -Gets the `PaymentStatus` of the transaction for the order - -```csharp -public PaymentStatus? PaymentStatus { get; } -``` - - ---- - -#### TransactionFee - -Gets the transaction fee amount charged by the payment gateway for the order - -```csharp -public Amount TransactionFee { get; } -``` - - ---- - -#### TransactionId - -Gets the Transaction ID returned by the payment gateway for the order - -```csharp -public string TransactionId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentmethod.md deleted file mode 100644 index 987f61e0ae2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentmethod.md +++ /dev/null @@ -1,385 +0,0 @@ ---- -title: PaymentMethod -description: API reference for PaymentMethod in Umbraco Commerce ---- -## PaymentMethod - -```csharp -public class PaymentMethod : PaymentMethodReadOnly, IHasWritableServicePrices, - IHasWrtiableAllowedCountries, IHasWrtiableAllowedCountryRegions -``` - -**Inheritance** - -* Class [PaymentMethodReadOnly](paymentmethodreadonly.md) -* interface [IHasWritableServicePrices<TAggregate>](ihaswritableserviceprices-1.md) -* interface [IHasWrtiableAllowedCountries<TAggregate>](ihaswrtiableallowedcountries-1.md) -* interface [IHasWrtiableAllowedCountryRegions<TAggregate>](ihaswrtiableallowedcountryregions-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static PaymentMethod Create(IUnitOfWork uow, Guid storeId, string alias, string name, - string paymentProviderAlias) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static PaymentMethod Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name, string paymentProviderAlias) -``` - - ---- - -#### AllowInCountry (1 of 2) - -```csharp -public PaymentMethod AllowInCountry(CountryReadOnly country) -``` - ---- - -#### AllowInCountry (2 of 2) - -```csharp -public PaymentMethod AllowInCountry(Guid countryId) -``` - - ---- - -#### AllowInRegion (1 of 2) - -```csharp -public PaymentMethod AllowInRegion(RegionReadOnly region) -``` - ---- - -#### AllowInRegion (2 of 2) - -```csharp -public PaymentMethod AllowInRegion(Guid countryId, Guid regionId) -``` - - ---- - -#### ClearCountryPriceForCurrency (1 of 2) - -```csharp -public PaymentMethod ClearCountryPriceForCurrency(CountryReadOnly country, - CurrencyReadOnly currency) -``` - ---- - -#### ClearCountryPriceForCurrency (2 of 2) - -```csharp -public PaymentMethod ClearCountryPriceForCurrency(Guid countryId, Guid currencyId) -``` - - ---- - -#### ClearDefaultPriceForCurrency (1 of 2) - -```csharp -public PaymentMethod ClearDefaultPriceForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### ClearDefaultPriceForCurrency (2 of 2) - -```csharp -public PaymentMethod ClearDefaultPriceForCurrency(Guid currencyId) -``` - - ---- - -#### ClearPricesForCountry (1 of 2) - -```csharp -public PaymentMethod ClearPricesForCountry(CountryReadOnly country, - CurrencyReadOnly currency = null) -``` - ---- - -#### ClearPricesForCountry (2 of 2) - -```csharp -public PaymentMethod ClearPricesForCountry(Guid countryId, Guid? currencyId = default(Guid?)) -``` - - ---- - -#### ClearPricesForCurrency (1 of 2) - -```csharp -public PaymentMethod ClearPricesForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### ClearPricesForCurrency (2 of 2) - -```csharp -public PaymentMethod ClearPricesForCurrency(Guid currencyId) -``` - - ---- - -#### ClearPricesForRegion (1 of 2) - -```csharp -public PaymentMethod ClearPricesForRegion(RegionReadOnly region, CurrencyReadOnly currency = null) -``` - ---- - -#### ClearPricesForRegion (2 of 2) - -```csharp -public PaymentMethod ClearPricesForRegion(Guid countryId, Guid regionId, - Guid? currencyId = default(Guid?)) -``` - - ---- - -#### ClearRegionPriceForCurrency (1 of 2) - -```csharp -public PaymentMethod ClearRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency) -``` - ---- - -#### ClearRegionPriceForCurrency (2 of 2) - -```csharp -public PaymentMethod ClearRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId) -``` - - ---- - -#### ClearTaxClass - -```csharp -public PaymentMethod ClearTaxClass() -``` - - ---- - -#### DisallowInCountry (1 of 2) - -```csharp -public PaymentMethod DisallowInCountry(CountryReadOnly country) -``` - ---- - -#### DisallowInCountry (2 of 2) - -```csharp -public PaymentMethod DisallowInCountry(Guid countryId) -``` - - ---- - -#### DisallowInRegion (1 of 2) - -```csharp -public PaymentMethod DisallowInRegion(RegionReadOnly region) -``` - ---- - -#### DisallowInRegion (2 of 2) - -```csharp -public PaymentMethod DisallowInRegion(Guid countryId, Guid regionId) -``` - - ---- - -#### RemoveSetting - -```csharp -public PaymentMethod RemoveSetting(string alias) -``` - - ---- - -#### SetAlias - -```csharp -public PaymentMethod SetAlias(string alias) -``` - - ---- - -#### SetCountryPriceForCurrency (1 of 2) - -```csharp -public PaymentMethod SetCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency, - decimal value) -``` - ---- - -#### SetCountryPriceForCurrency (2 of 2) - -```csharp -public PaymentMethod SetCountryPriceForCurrency(Guid countryId, Guid currencyId, decimal value) -``` - - ---- - -#### SetDefaultPriceForCurrency (1 of 2) - -```csharp -public PaymentMethod SetDefaultPriceForCurrency(CurrencyReadOnly currency, decimal value) -``` - ---- - -#### SetDefaultPriceForCurrency (2 of 2) - -```csharp -public PaymentMethod SetDefaultPriceForCurrency(Guid currencyId, decimal value) -``` - - ---- - -#### SetImage - -```csharp -public PaymentMethod SetImage(string id) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public PaymentMethod SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public PaymentMethod SetName(string name, string alias) -``` - - ---- - -#### SetRegionPriceForCurrency (1 of 2) - -```csharp -public PaymentMethod SetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency, - decimal value) -``` - ---- - -#### SetRegionPriceForCurrency (2 of 2) - -```csharp -public PaymentMethod SetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId, - decimal value) -``` - - ---- - -#### SetSetting - -```csharp -public PaymentMethod SetSetting(string alias, string value) -``` - - ---- - -#### SetSettings - -```csharp -public PaymentMethod SetSettings(IDictionary settings, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetSku - -```csharp -public PaymentMethod SetSku(string sku) -``` - - ---- - -#### SetSortOrder - -```csharp -public PaymentMethod SetSortOrder(int sortOrder) -``` - - ---- - -#### SetTaxClass (1 of 2) - -```csharp -public PaymentMethod SetTaxClass(TaxClass taxClass) -``` - ---- - -#### SetTaxClass (2 of 2) - -```csharp -public PaymentMethod SetTaxClass(Guid? taxClassId) -``` - - ---- - -#### ToggleFeatures - -```csharp -public PaymentMethod ToggleFeatures(bool fetchPaymentStatuses, bool capturePayments, - bool cancelPayments, bool refundPayments) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentmethodreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentmethodreadonly.md deleted file mode 100644 index b2dd4d4e195..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentmethodreadonly.md +++ /dev/null @@ -1,253 +0,0 @@ ---- -title: PaymentMethodReadOnly -description: API reference for PaymentMethodReadOnly in Umbraco Commerce ---- -## PaymentMethodReadOnly - -```csharp -public class PaymentMethodReadOnly : - StoreAggregateBase, IHasName, - IHasReadableAllowedCountryRegions, IHasReadableServicePrices -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) -* interface [IHasReadableAllowedCountryRegions](ihasreadableallowedcountryregions.md) -* interface [IHasReadableServicePrices](ihasreadableserviceprices.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### AllowedCountryRegions - -```csharp -public IReadOnlyList AllowedCountryRegions { get; } -``` - - ---- - -#### CanCancelPayments - -```csharp -public bool CanCancelPayments { get; } -``` - - ---- - -#### CanCapturePayments - -```csharp -public bool CanCapturePayments { get; } -``` - - ---- - -#### CanFetchPaymentStatuses - -```csharp -public bool CanFetchPaymentStatuses { get; } -``` - - ---- - -#### CanRefundPayments - -```csharp -public bool CanRefundPayments { get; } -``` - - ---- - -#### ImageId - -```csharp -public string ImageId { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### PaymentProviderAlias - -```csharp -public string PaymentProviderAlias { get; } -``` - - ---- - -#### PaymentProviderSettings - -```csharp -public IReadOnlyDictionary PaymentProviderSettings { get; } -``` - - ---- - -#### Prices - -```csharp -public IReadOnlyList Prices { get; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public Guid? TaxClassId { get; } -``` - - -### Methods - -#### GetCountryPriceForCurrency (1 of 2) - -```csharp -public decimal GetCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency) -``` - ---- - -#### GetCountryPriceForCurrency (2 of 2) - -```csharp -public decimal GetCountryPriceForCurrency(Guid countryId, Guid currencyId) -``` - - ---- - -#### GetDefaultPriceForCurrency (1 of 2) - -```csharp -public decimal GetDefaultPriceForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### GetDefaultPriceForCurrency (2 of 2) - -```csharp -public decimal GetDefaultPriceForCurrency(Guid currencyId) -``` - - ---- - -#### GetPrice - -```csharp -public decimal GetPrice(Guid currencyId, Guid? countryId = default(Guid?), - Guid? regionId = default(Guid?)) -``` - - ---- - -#### GetRegionPriceForCurrency (1 of 2) - -```csharp -public decimal GetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency) -``` - ---- - -#### GetRegionPriceForCurrency (2 of 2) - -```csharp -public decimal GetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId) -``` - - ---- - -#### IsAllowedInCountry (1 of 2) - -```csharp -public bool IsAllowedInCountry(CountryReadOnly country) -``` - ---- - -#### IsAllowedInCountry (2 of 2) - -```csharp -public bool IsAllowedInCountry(Guid countryId) -``` - - ---- - -#### IsAllowedInRegion (1 of 2) - -```csharp -public bool IsAllowedInRegion(RegionReadOnly region) -``` - ---- - -#### IsAllowedInRegion (2 of 2) - -```csharp -public bool IsAllowedInRegion(Guid countryId, Guid regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentresult.md deleted file mode 100644 index f6c3e18b152..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentresult.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: PaymentResult -description: API reference for PaymentResult in Umbraco Commerce ---- -## PaymentResult - -```csharp -public class PaymentResult -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### PaymentResult - -The default constructor. - -```csharp -public PaymentResult() -``` - - -### Properties - -#### MetaData - -```csharp -public IDictionary MetaData { get; set; } -``` - - ---- - -#### Success - -```csharp -public bool Success { get; set; } -``` - - ---- - -#### TransactionInfo - -```csharp -public PaymentResultTransactionInfo TransactionInfo { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentresulttransactioninfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentresulttransactioninfo.md deleted file mode 100644 index 688a9294cf9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentresulttransactioninfo.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: PaymentResultTransactionInfo -description: API reference for PaymentResultTransactionInfo in Umbraco Commerce ---- -## PaymentResultTransactionInfo - -```csharp -public class PaymentResultTransactionInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### PaymentResultTransactionInfo - -The default constructor. - -```csharp -public PaymentResultTransactionInfo() -``` - - -### Properties - -#### PaymentStatus - -```csharp -public PaymentStatus PaymentStatus { get; set; } -``` - - ---- - -#### TransactionId - -```csharp -public string TransactionId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentstatus.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentstatus.md deleted file mode 100644 index b5b540b97c8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/paymentstatus.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -title: PaymentStatus -description: API reference for PaymentStatus in Umbraco Commerce ---- -## PaymentStatus - -```csharp -public enum PaymentStatus -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Initialized | `0` | | -| Authorized | `1` | | -| Captured | `2` | | -| Cancelled | `3` | | -| Refunded | `4` | | -| PendingExternalSystem | `5` | | -| Error | `200` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/price.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/price.md deleted file mode 100644 index 0fcedf1312e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/price.md +++ /dev/null @@ -1,255 +0,0 @@ ---- -title: Price -description: API reference for Price in Umbraco Commerce ---- -## Price - -A price object - -```csharp -public sealed class Price : ValueObjectBase, IPrice -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) -* interface [IPrice](iprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### Price (1 of 2) - -Instantiates a new [`Price`](price.md) instance - -```csharp -public Price(decimal valueWithoutTax, decimal tax, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| valueWithoutTax | The value of the price without tax | -| tax | The tax value of the price | -| currencyId | The ID of the [`Currency`](currency.md) of the price | - ---- - -#### Price (2 of 2) - -Instantiates a new [`Price`](price.md) instance - -```csharp -public Price(decimal value, decimal tax, CurrencyReadOnly currency) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value of the price | -| tax | The tax value of the price | -| currency | The [`Currency`](currency.md) of the price | - - -### Properties - -#### CurrencyId - -Gets the ID of the [`Currency`](currency.md) of the price - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Tax - -Gets the tax value of the price - -```csharp -public decimal Tax { get; } -``` - - ---- - -#### WithoutTax - -Gets the value of the price without tax - -```csharp -public decimal WithoutTax { get; } -``` - - ---- - -#### WithTax - -Gets the value of the price with tax - -```csharp -public decimal WithTax { get; } -``` - - -### Methods - -#### Calculate (1 of 2) - -Calculates a price from the given [`TaxRate`](taxrate.md) - -```csharp -public static Price Calculate(decimal value, TaxRate taxRate, Guid currencyId, - bool valueIncludesTax = false) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value of the price | -| taxRate | The [`TaxRate`](taxrate.md) of the price | -| currencyId | The ID of the [`Currency`](currency.md) of the price | -| valueIncludesTax | A boolean flag indicating whether the supplied price already includes tax | - -**Returns** - -A new [`Price`](price.md) instance - ---- - -#### Calculate (2 of 2) - -Calculates a price from the given [`TaxRate`](taxrate.md) - -```csharp -public static Price Calculate(decimal value, TaxRate taxRate, CurrencyReadOnly currency, - bool valueIncludesTax = false) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value of the price | -| taxRate | The [`TaxRate`](taxrate.md) of the price | -| currency | The [`Currency`](currency.md) of the price | -| valueIncludesTax | A boolean flag indicating whether the supplied price already includes tax | - -**Returns** - -A new [`Price`](price.md) instance - - ---- - -#### OfSameCurrency - -Create a new [`Price`](price.md) of the same [`Currency`](currency.md) as an existing price - -```csharp -public static Price OfSameCurrency(Price existingPrice, decimal valueWithoutTax, decimal tax) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| existingPrice | The existing [`Price`](price.md) instance | -| valueWithoutTax | The value of the new price without tax | -| tax | The tax value of the new price | - -**Returns** - -A new [`Price`](price.md) instance - - ---- - -#### ZeroValue - -Instantiates a new [`Price`](price.md) instance with a zero value - -```csharp -public static Price ZeroValue(Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| currencyId | The ID of the [`Currency`](currency.md) of the price | - -**Returns** - -A zero value [`Price`](price.md) instance - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### Rounded - -Round the price to the given preceission - -```csharp -public Price Rounded(int decimalPlaces) -``` - -**Returns** - -A rounded price value - - -### Operators - -#### Price Addition - -```csharp -public static Price operator +(Price price1, Price price2) -``` - - ---- - -#### Price Implicit - -```csharp -public static implicit operator decimal(Price price) -``` - - ---- - -#### Price Multiply - -```csharp -public static Price operator *(Price price, int multiplier) -``` - - ---- - -#### Price Subtraction - -```csharp -public static Price operator -(Price price1, Price price2) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceadjustment-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceadjustment-1.md deleted file mode 100644 index 4c1e48002eb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceadjustment-1.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: PriceAdjustment -description: API reference for PriceAdjustment in Umbraco Commerce ---- -## PriceAdjustment<TSelf> - -```csharp -public abstract class PriceAdjustment : PriceAdjustment - where TSelf : PriceAdjustment, new() -``` - -**Inheritance** - -* Class [PriceAdjustment](priceadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### CreateDerivativeAdjustment - -```csharp -public override PriceAdjustment CreateDerivativeAdjustment(Price limitedPrice) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceadjustment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceadjustment.md deleted file mode 100644 index 3a93203c2f6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceadjustment.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: PriceAdjustment -description: API reference for PriceAdjustment in Umbraco Commerce ---- -## PriceAdjustment - -```csharp -public abstract class PriceAdjustment : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### OriginalPrice - -```csharp -public Price OriginalPrice { get; } -``` - - ---- - -#### Price - -```csharp -public Price Price { get; } -``` - - ---- - -#### Type - -```csharp -public Type Type { get; } -``` - - -### Methods - -#### CreateDerivativeAdjustment - -```csharp -public abstract PriceAdjustment CreateDerivativeAdjustment(Price limitedPrice) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceamounttype.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceamounttype.md deleted file mode 100644 index b6357e37850..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/priceamounttype.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: PriceAmountType -description: API reference for PriceAmountType in Umbraco Commerce ---- -## PriceAmountType - -```csharp -public enum PriceAmountType -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| PreTaxAmount | `0` | | -| PostTaxAmount | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/printtemplate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/printtemplate.md deleted file mode 100644 index ea8d909e14f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/printtemplate.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -title: PrintTemplate -description: API reference for PrintTemplate in Umbraco Commerce ---- -## PrintTemplate - -```csharp -public class PrintTemplate : PrintTemplateReadOnly -``` - -**Inheritance** - -* Class [PrintTemplateReadOnly](printtemplatereadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static PrintTemplate Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static PrintTemplate Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name) -``` - - ---- - -#### SetAlias - -```csharp -public PrintTemplate SetAlias(string alias) -``` - - ---- - -#### SetCategory - -```csharp -public PrintTemplate SetCategory(TemplateCategory category) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public PrintTemplate SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public PrintTemplate SetName(string name, string alias) -``` - - ---- - -#### SetSortOrder - -```csharp -public PrintTemplate SetSortOrder(int sortOrder) -``` - - ---- - -#### SetTemplateView - -```csharp -public PrintTemplate SetTemplateView(string templateViewPath) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/printtemplatereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/printtemplatereadonly.md deleted file mode 100644 index 86f01f1e715..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/printtemplatereadonly.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: PrintTemplateReadOnly -description: API reference for PrintTemplateReadOnly in Umbraco Commerce ---- -## PrintTemplateReadOnly - -```csharp -public class PrintTemplateReadOnly : - StoreAggregateBase, IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Category - -```csharp -public TemplateCategory Category { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### TemplateView - -```csharp -public string TemplateView { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattribute.md deleted file mode 100644 index f97ed699c9e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattribute.md +++ /dev/null @@ -1,251 +0,0 @@ ---- -title: ProductAttribute -description: API reference for ProductAttribute in Umbraco Commerce ---- -## ProductAttribute - -A Product Attribute entity - -```csharp -public class ProductAttribute : ProductAttributeReadOnly -``` - -**Inheritance** - -* Class [ProductAttributeReadOnly](productattributereadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static ProductAttribute Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static ProductAttribute Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name) -``` - - ---- - -#### AddValue (1 of 2) - -Adds a Value with a default Name to the Product Attribute - -```csharp -public ProductAttribute AddValue(string alias, string name) -``` - ---- - -#### AddValue (2 of 2) - -Adds a Value with a translated Name to the Product Attribute - -```csharp -public ProductAttribute AddValue(string alias, TranslatedValue name) -``` - - ---- - -#### ClearValues - -Clears all Values from the Product Attribute - -```csharp -public ProductAttribute ClearValues() -``` - - ---- - -#### InsertValue (1 of 2) - -Inserts a Value with a default Name into the Product Attribute - -```csharp -public ProductAttribute InsertValue(int index, string alias, string name) -``` - ---- - -#### InsertValue (2 of 2) - -Inserts a Value with a translated Name into the Product Attribute - -```csharp -public ProductAttribute InsertValue(int index, string alias, TranslatedValue name) -``` - - ---- - -#### RemoveValue - -Removes a Value with the given Alias from the Product Attribute - -```csharp -public ProductAttribute RemoveValue(string alias) -``` - - ---- - -#### RemoveValueAt - -Removes a Value at the given index from the Product Attribute - -```csharp -public ProductAttribute RemoveValueAt(int index) -``` - - ---- - -#### SetAlias - -Sets the Alias of the Product Attribute - -```csharp -public ProductAttribute SetAlias(string alias) -``` - - ---- - -#### SetName (1 of 3) - -Sets the default Name of the Product Attribute - -```csharp -public ProductAttribute SetName(string name) -``` - ---- - -#### SetName (2 of 3) - -Sets the Name of the Product Attribute for the given language - -```csharp -public ProductAttribute SetName(string languageIsoCode, string name) -``` - ---- - -#### SetName (3 of 3) - -Sets the translated Name of the Product Attribute - -```csharp -public ProductAttribute SetName(TranslatedValue name, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetSortOrder - -Sets the sort order of the product attribute - -```csharp -public ProductAttribute SetSortOrder(int sortOrder) -``` - - ---- - -#### SetValues (1 of 2) - -Sets the Values of the Product Attribute - -```csharp -public ProductAttribute SetValues(IEnumerable> values) -``` - ---- - -#### SetValues (2 of 2) - -Sets the Values of the Product Attribute - -```csharp -public ProductAttribute SetValues(IEnumerable>> values) -``` - - ---- - -#### WithValue - -Gets the product attribute value context for the value with the given alias - -```csharp -public ProductAttributeValueContext WithValue(string alias) -``` - - ---- - -#### WithValueAt - -Gets the product attribute value context for the value at the given index - -```csharp -public ProductAttributeValueContext WithValueAt(int index) -``` - - -### Classes - -#### ProductAttribute.ProductAttributeValueContext - -```csharp -public class ProductAttributeValueContext -``` - -##### Methods - -#### SetName (1 of 3) - -Sets the default Name of the Product Attribute Value - -```csharp -public ProductAttributeValueContext SetName(string name) -``` - ---- - -#### SetName (2 of 3) - -Sets the Name of the Product Attribute Value for the given language - -```csharp -public ProductAttributeValueContext SetName(string languageIsoCode, string name) -``` - ---- - -#### SetName (3 of 3) - -Sets the translated Name of the Product Attribute Value - -```csharp -public ProductAttributeValueContext SetName(TranslatedValue name, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributepreset.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributepreset.md deleted file mode 100644 index 7a0486c771c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributepreset.md +++ /dev/null @@ -1,137 +0,0 @@ ---- -title: ProductAttributePreset -description: API reference for ProductAttributePreset in Umbraco Commerce ---- -## ProductAttributePreset - -```csharp -public class ProductAttributePreset : ProductAttributePresetReadOnly -``` - -**Inheritance** - -* Class [ProductAttributePresetReadOnly](productattributepresetreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 4) - -```csharp -public static ProductAttributePreset Create(IUnitOfWork uow, Guid storeId, string alias, - string name) -``` - ---- - -#### Create (2 of 4) - -```csharp -public static ProductAttributePreset Create(IUnitOfWork uow, Guid storeId, string alias, - string name, string description) -``` - ---- - -#### Create (3 of 4) - -```csharp -public static ProductAttributePreset Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name) -``` - ---- - -#### Create (4 of 4) - -```csharp -public static ProductAttributePreset Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name, string description) -``` - - ---- - -#### AllowAttribute - -```csharp -public ProductAttributePreset AllowAttribute(string alias, IEnumerable valueAliases) -``` - - ---- - -#### DisallowAttribute - -```csharp -public ProductAttributePreset DisallowAttribute(string alias) -``` - - ---- - -#### SetAlias - -```csharp -public ProductAttributePreset SetAlias(string alias) -``` - - ---- - -#### SetAllowedAttributes - -```csharp -public ProductAttributePreset SetAllowedAttributes( - IEnumerable allowedAttributes, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetDescription - -```csharp -public ProductAttributePreset SetDescription(string description) -``` - - ---- - -#### SetIcon - -```csharp -public ProductAttributePreset SetIcon(string icon) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public ProductAttributePreset SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public ProductAttributePreset SetName(string name, string alias) -``` - - ---- - -#### SetSortOrder - -```csharp -public ProductAttributePreset SetSortOrder(int sortOrder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributepresetreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributepresetreadonly.md deleted file mode 100644 index 1079b6cc273..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributepresetreadonly.md +++ /dev/null @@ -1,100 +0,0 @@ ---- -title: ProductAttributePresetReadOnly -description: API reference for ProductAttributePresetReadOnly in Umbraco Commerce ---- -## ProductAttributePresetReadOnly - -A read only Product Attribute Preset entity - -```csharp -public class ProductAttributePresetReadOnly : - StoreAggregateBase, - IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -Gets the Alias of the Product Attribute Preset - -```csharp -public string Alias { get; } -``` - - ---- - -#### AllowedAttributes - -Gets the list of allowed Product Attribtues for this Product Attribute Preset - -```csharp -public IReadOnlyCollection AllowedAttributes { get; } -``` - - ---- - -#### Description - -Gets the Description of the Product Attribute Preset - -```csharp -public string Description { get; } -``` - - ---- - -#### Icon - -Gets the Icon of the Product Attribute Preset - -```csharp -public string Icon { get; } -``` - - ---- - -#### IsDeleted - -Gets a flag indicating whether the Product Attribute Preset is deleted or not - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -Gets the Name of the Product Attribute Preset - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -Gets the Sort Order of the Product Attribute Preset - -```csharp -public int SortOrder { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributereadonly.md deleted file mode 100644 index aa1c128f307..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributereadonly.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: ProductAttributeReadOnly -description: API reference for ProductAttributeReadOnly in Umbraco Commerce ---- -## ProductAttributeReadOnly - -A read only Product Attribute entity - -```csharp -public class ProductAttributeReadOnly : - StoreAggregateBase -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -Gets the Alias of the Product Attribute - -```csharp -public string Alias { get; } -``` - - ---- - -#### IsDeleted - -Gets a flag indicating whether the Product Attribute is deleted or not - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -Gets the Name of the Product Attribute - -```csharp -public ReadOnlyTranslatedValue Name { get; } -``` - - ---- - -#### SortOrder - -Gets the Sort Order of the Product Attribute - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### Values - -Gets the Values of the Product Attribute - -```csharp -public IReadOnlyCollection Values { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributevaluereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributevaluereadonly.md deleted file mode 100644 index 057a9944d77..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productattributevaluereadonly.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: ProductAttributeValueReadOnly -description: API reference for ProductAttributeValueReadOnly in Umbraco Commerce ---- -## ProductAttributeValueReadOnly - -```csharp -public class ProductAttributeValueReadOnly : EntityBase -``` - -**Inheritance** - -* Class [EntityBase<TState>](entitybase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -Gets the Alias of the Product Attribute - -```csharp -public string Alias { get; } -``` - - ---- - -#### Name - -Gets the Name of the Product Attribute - -```csharp -public ReadOnlyTranslatedValue Name { get; } -``` - - ---- - -#### ProductAttributeId - -Gets the ID of the [`ProductAttribute`](productattribute.md) this entity belongs to - -```csharp -public Guid ProductAttributeId { get; } -``` - - ---- - -#### StoreId - -Gets the ID of the [`Store`](store.md) this entity belongs to - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productprice.md deleted file mode 100644 index 9e520a1a89e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productprice.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ProductPrice -description: API reference for ProductPrice in Umbraco Commerce ---- -## ProductPrice - -```csharp -public class ProductPrice : ValueObjectBase, IAmount -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) -* interface [IAmount](iamount.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### ProductPrice - -```csharp -public ProductPrice(decimal value, Guid currencyId) -``` - - -### Properties - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### Value - -```csharp -public decimal Value { get; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static ProductPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsnapshotbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsnapshotbase.md deleted file mode 100644 index ae46c1dfb28..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsnapshotbase.md +++ /dev/null @@ -1,119 +0,0 @@ ---- -title: ProductSnapshotBase -description: API reference for ProductSnapshotBase in Umbraco Commerce ---- -## ProductSnapshotBase - -```csharp -public abstract class ProductSnapshotBase : IProductSnapshot -``` - -**Inheritance** - -* interface [IProductSnapshot](iproductsnapshot.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### ProductSnapshotBase - -The default constructor. - -```csharp -public ProductSnapshotBase() -``` - - -### Properties - -#### Attributes - -```csharp -public virtual IEnumerable Attributes { get; } -``` - - ---- - -#### IsGiftCard - -```csharp -public abstract bool IsGiftCard { get; } -``` - - ---- - -#### Name - -```csharp -public abstract string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public abstract IEnumerable Prices { get; } -``` - - ---- - -#### ProductReference - -```csharp -public abstract string ProductReference { get; } -``` - - ---- - -#### ProductVariantReference - -```csharp -public abstract string ProductVariantReference { get; } -``` - - ---- - -#### Properties - -```csharp -public abstract IDictionary Properties { get; } -``` - - ---- - -#### Sku - -```csharp -public abstract string Sku { get; } -``` - - ---- - -#### StoreId - -```csharp -public abstract Guid StoreId { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public abstract Guid? TaxClassId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsummarybase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsummarybase.md deleted file mode 100644 index 8bd9df9a913..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsummarybase.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductSummaryBase -description: API reference for ProductSummaryBase in Umbraco Commerce ---- -## ProductSummaryBase - -```csharp -public abstract class ProductSummaryBase : ProductSummaryCommonBase, IProductSummary -``` - -**Inheritance** - -* Class [ProductSummaryCommonBase](productsummarycommonbase.md) -* interface [IProductSummary](iproductsummary.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### HasVariants - -```csharp -public abstract bool HasVariants { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsummarycommonbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsummarycommonbase.md deleted file mode 100644 index b8a99039a21..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productsummarycommonbase.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: ProductSummaryCommonBase -description: API reference for ProductSummaryCommonBase in Umbraco Commerce ---- -## ProductSummaryCommonBase - -```csharp -public abstract class ProductSummaryCommonBase : IProductSummaryCommon -``` - -**Inheritance** - -* interface [IProductSummaryCommon](iproductsummarycommon.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Name - -```csharp -public abstract string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public abstract IEnumerable Prices { get; } -``` - - ---- - -#### Reference - -```csharp -public abstract string Reference { get; } -``` - - ---- - -#### Sku - -```csharp -public abstract string Sku { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productvariantsummarybase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productvariantsummarybase.md deleted file mode 100644 index a978aec6002..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/productvariantsummarybase.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: ProductVariantSummaryBase -description: API reference for ProductVariantSummaryBase in Umbraco Commerce ---- -## ProductVariantSummaryBase - -```csharp -public abstract class ProductVariantSummaryBase : ProductSummaryCommonBase, IProductVariantSummary -``` - -**Inheritance** - -* Class [ProductSummaryCommonBase](productsummarycommonbase.md) -* interface [IProductVariantSummary](iproductvariantsummary.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Attributes - -```csharp -public abstract IReadOnlyDictionary Attributes { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/property.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/property.md deleted file mode 100644 index f600660ae8e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/property.md +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: Property -description: API reference for Property in Umbraco Commerce ---- -## Property - -```csharp -public class Property : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### Property (1 of 2) - -```csharp -public Property(string alias, string name, string value) -``` - ---- - -#### Property (2 of 2) - -```csharp -public Property(string alias, string name, string description, string value) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### Value - -```csharp -public string Value { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/propertysource.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/propertysource.md deleted file mode 100644 index ba039c66562..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/propertysource.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: PropertySource -description: API reference for PropertySource in Umbraco Commerce ---- -## PropertySource - -```csharp -public enum PropertySource -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Order | `0` | | -| OrderLine | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/propertyvalue.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/propertyvalue.md deleted file mode 100644 index 8b31db77cc6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/propertyvalue.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: PropertyValue -description: API reference for PropertyValue in Umbraco Commerce ---- -## PropertyValue - -```csharp -public sealed class PropertyValue : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### PropertyValue - -```csharp -public PropertyValue(string value, bool isServerSideOnly = false, bool isReadOnly = false) -``` - - -### Properties - -#### IsReadOnly - -```csharp -public bool IsReadOnly { get; } -``` - - ---- - -#### IsServerSideOnly - -```csharp -public bool IsServerSideOnly { get; } -``` - - ---- - -#### Value - -```csharp -public string Value { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### PropertyValue Implicit - -```csharp -public static implicit operator string(PropertyValue propertyValue) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyadjustedamount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyadjustedamount.md deleted file mode 100644 index 8497e0cadc8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyadjustedamount.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: ReadOnlyAdjustedAmount -description: API reference for ReadOnlyAdjustedAmount in Umbraco Commerce ---- -## ReadOnlyAdjustedAmount - -```csharp -public class ReadOnlyAdjustedAmount : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Adjustment - -```csharp -public virtual Amount Adjustment { get; } -``` - - ---- - -#### Adjustments - -```csharp -public virtual IReadOnlyCollection Adjustments { get; } -``` - - ---- - -#### Value - -```csharp -public virtual Amount Value { get; } -``` - - ---- - -#### WithoutAdjustments - -```csharp -public virtual Amount WithoutAdjustments { get; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyAdjustedAmount ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public virtual object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### ReadOnlyAdjustedAmount Implicit (1 of 2) - -```csharp -public static implicit operator Amount(ReadOnlyAdjustedAmount adjustedAmount) -``` - ---- - -#### ReadOnlyAdjustedAmount Implicit (2 of 2) - -```csharp -public static implicit operator decimal(ReadOnlyAdjustedAmount adjustedAmount) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyadjustedprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyadjustedprice.md deleted file mode 100644 index 2bf7659b16b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyadjustedprice.md +++ /dev/null @@ -1,107 +0,0 @@ ---- -title: ReadOnlyAdjustedPrice -description: API reference for ReadOnlyAdjustedPrice in Umbraco Commerce ---- -## ReadOnlyAdjustedPrice - -```csharp -public class ReadOnlyAdjustedPrice : IDeepCloneable -``` - -**Inheritance** - -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Adjustment - -```csharp -public virtual Price Adjustment { get; } -``` - - ---- - -#### Adjustments - -```csharp -public virtual IReadOnlyCollection Adjustments { get; } -``` - - ---- - -#### Value - -```csharp -public virtual Price Value { get; } -``` - - ---- - -#### WithoutAdjustments - -```csharp -public virtual Price WithoutAdjustments { get; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyAdjustedPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public virtual object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### ReadOnlyAdjustedPrice Implicit (1 of 2) - -```csharp -public static implicit operator Price(ReadOnlyAdjustedPrice adjustedPrice) -``` - ---- - -#### ReadOnlyAdjustedPrice Implicit (2 of 2) - -```csharp -public static implicit operator decimal(ReadOnlyAdjustedPrice adjustedPrice) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlinebaseprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlinebaseprice.md deleted file mode 100644 index 143ad0be3d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlinebaseprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ReadOnlyOrderLineBasePrice -description: API reference for ReadOnlyOrderLineBasePrice in Umbraco Commerce ---- -## ReadOnlyOrderLineBasePrice - -```csharp -public class ReadOnlyOrderLineBasePrice : ReadOnlyAdjustedPrice -``` - -**Inheritance** - -* Class [ReadOnlyAdjustedPrice](readonlyadjustedprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyOrderLineBasePrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlinetotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlinetotalprice.md deleted file mode 100644 index 29408d42d1a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlinetotalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ReadOnlyOrderLineTotalPrice -description: API reference for ReadOnlyOrderLineTotalPrice in Umbraco Commerce ---- -## ReadOnlyOrderLineTotalPrice - -```csharp -public class ReadOnlyOrderLineTotalPrice : ReadOnlyTotalPriceWithPreviousAdjustment -``` - -**Inheritance** - -* Class [ReadOnlyTotalPriceWithPreviousAdjustment](readonlytotalpricewithpreviousadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyOrderLineTotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlineunitprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlineunitprice.md deleted file mode 100644 index 075f4ab8ad8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyorderlineunitprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ReadOnlyOrderLineUnitPrice -description: API reference for ReadOnlyOrderLineUnitPrice in Umbraco Commerce ---- -## ReadOnlyOrderLineUnitPrice - -```csharp -public class ReadOnlyOrderLineUnitPrice : ReadOnlyTotalPriceWithPreviousAdjustment -``` - -**Inheritance** - -* Class [ReadOnlyTotalPriceWithPreviousAdjustment](readonlytotalpricewithpreviousadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyOrderLineUnitPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordersubtotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordersubtotalprice.md deleted file mode 100644 index 1c8588f94a8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordersubtotalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ReadOnlyOrderSubtotalPrice -description: API reference for ReadOnlyOrderSubtotalPrice in Umbraco Commerce ---- -## ReadOnlyOrderSubtotalPrice - -```csharp -public class ReadOnlyOrderSubtotalPrice : ReadOnlyTotalPriceWithPreviousAdjustment -``` - -**Inheritance** - -* Class [ReadOnlyTotalPriceWithPreviousAdjustment](readonlytotalpricewithpreviousadjustment.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyOrderSubtotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordertotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordertotalprice.md deleted file mode 100644 index ae9b1eeee4a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordertotalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ReadOnlyOrderTotalPrice -description: API reference for ReadOnlyOrderTotalPrice in Umbraco Commerce ---- -## ReadOnlyOrderTotalPrice - -```csharp -public class ReadOnlyOrderTotalPrice : ReadOnlyOrderSubtotalPrice -``` - -**Inheritance** - -* Class [ReadOnlyOrderSubtotalPrice](readonlyordersubtotalprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyOrderTotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordertransactionamount.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordertransactionamount.md deleted file mode 100644 index 1aa3836213f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlyordertransactionamount.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ReadOnlyOrderTransactionAmount -description: API reference for ReadOnlyOrderTransactionAmount in Umbraco Commerce ---- -## ReadOnlyOrderTransactionAmount - -```csharp -public class ReadOnlyOrderTransactionAmount : ReadOnlyAdjustedAmount -``` - -**Inheritance** - -* Class [ReadOnlyAdjustedAmount](readonlyadjustedamount.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyOrderTransactionAmount ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytotalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytotalprice.md deleted file mode 100644 index 19c166693ea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytotalprice.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: ReadOnlyTotalPrice -description: API reference for ReadOnlyTotalPrice in Umbraco Commerce ---- -## ReadOnlyTotalPrice - -```csharp -public class ReadOnlyTotalPrice : ReadOnlyAdjustedPrice -``` - -**Inheritance** - -* Class [ReadOnlyAdjustedPrice](readonlyadjustedprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyTotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytotalpricewithpreviousadjustment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytotalpricewithpreviousadjustment.md deleted file mode 100644 index 3f7f73a8195..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytotalpricewithpreviousadjustment.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: ReadOnlyTotalPriceWithPreviousAdjustment -description: API reference for ReadOnlyTotalPriceWithPreviousAdjustment in Umbraco Commerce ---- -## ReadOnlyTotalPriceWithPreviousAdjustment - -```csharp -public class ReadOnlyTotalPriceWithPreviousAdjustment : ReadOnlyTotalPrice -``` - -**Inheritance** - -* Class [ReadOnlyTotalPrice](readonlytotalprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### PreviousAdjustments - -```csharp -public Price PreviousAdjustments { get; } -``` - - ---- - -#### TotalAdjustment - -```csharp -public Price TotalAdjustment { get; } -``` - - ---- - -#### WithPreviousAdjustments - -```csharp -public Price WithPreviousAdjustments { get; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static ReadOnlyTotalPriceWithPreviousAdjustment ZeroValue(Guid currencyId) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytranslatedvalue-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytranslatedvalue-1.md deleted file mode 100644 index 3bcdb779e6e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/readonlytranslatedvalue-1.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -title: ReadOnlyTranslatedValue -description: API reference for ReadOnlyTranslatedValue in Umbraco Commerce ---- -## ReadOnlyTranslatedValue<T> - -```csharp -public class ReadOnlyTranslatedValue : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Indexers - -#### ReadOnlyTranslatedValue<T> - -```csharp -public T this[string languageIsoCode] { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetDefaultValue - -```csharp -public T GetDefaultValue() -``` - - ---- - -#### GetTranslatedValues - -```csharp -public IReadOnlyDictionary GetTranslatedValues() -``` - - ---- - -#### GetValue - -```csharp -public T GetValue(string languageIsoCode, bool fallbackToDefault = true) -``` - - ---- - -#### HasValue - -```csharp -public bool HasValue(string languageIsoCode) -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - ---- - -#### TryGetValue - -```csharp -public bool TryGetValue(string languageIsoCode, out T value) -``` - - -### Operators - -#### ReadOnlyTranslatedValue<T> Implicit - -```csharp -public static implicit operator T(ReadOnlyTranslatedValue value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/region.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/region.md deleted file mode 100644 index e6a48e00487..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/region.md +++ /dev/null @@ -1,99 +0,0 @@ ---- -title: Region -description: API reference for Region in Umbraco Commerce ---- -## Region - -```csharp -public class Region : RegionReadOnly -``` - -**Inheritance** - -* Class [RegionReadOnly](regionreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static Region Create(IUnitOfWork uow, Guid storeId, Guid countryId, string code, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static Region Create(IUnitOfWork uow, Guid id, Guid storeId, Guid countryId, string code, - string name) -``` - - ---- - -#### ClearDefaultPaymentMethod - -```csharp -public Region ClearDefaultPaymentMethod() -``` - - ---- - -#### ClearDefaultShippingMethod - -```csharp -public Region ClearDefaultShippingMethod() -``` - - ---- - -#### SetCode - -```csharp -public Region SetCode(string code) -``` - - ---- - -#### SetDefaultPaymentMethod - -```csharp -public Region SetDefaultPaymentMethod(Guid? paymentMethodId) -``` - - ---- - -#### SetDefaultShippingMethod - -```csharp -public Region SetDefaultShippingMethod(Guid? shippingMethodId) -``` - - ---- - -#### SetName - -```csharp -public Region SetName(string name) -``` - - ---- - -#### SetSortOrder - -```csharp -public Region SetSortOrder(int sortOrder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/regionreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/regionreadonly.md deleted file mode 100644 index 474cae92441..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/regionreadonly.md +++ /dev/null @@ -1,82 +0,0 @@ ---- -title: RegionReadOnly -description: API reference for RegionReadOnly in Umbraco Commerce ---- -## RegionReadOnly - -```csharp -public class RegionReadOnly : StoreAggregateBase, IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Code - -```csharp -public string Code { get; } -``` - - ---- - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - ---- - -#### DefaultPaymentMethodId - -```csharp -public Guid? DefaultPaymentMethodId { get; } -``` - - ---- - -#### DefaultShippingMethodId - -```csharp -public Guid? DefaultShippingMethodId { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/registeredcustomerinfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/registeredcustomerinfo.md deleted file mode 100644 index a2c9860281d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/registeredcustomerinfo.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: RegisteredCustomerInfo -description: API reference for RegisteredCustomerInfo in Umbraco Commerce ---- -## RegisteredCustomerInfo - -```csharp -public class RegisteredCustomerInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### IsUmbracoMember - -```csharp -public bool IsUmbracoMember { get; } -``` - - ---- - -#### Properties - -```csharp -public IEnumerable Properties { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/registeredcustomerinfobuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/registeredcustomerinfobuilder.md deleted file mode 100644 index d1c10660b6c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/registeredcustomerinfobuilder.md +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: RegisteredCustomerInfoBuilder -description: API reference for RegisteredCustomerInfoBuilder in Umbraco Commerce ---- -## RegisteredCustomerInfoBuilder - -```csharp -public class RegisteredCustomerInfoBuilder -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### RegisteredCustomerInfoBuilder - -The default constructor. - -```csharp -public RegisteredCustomerInfoBuilder() -``` - - -### Methods - -#### AddProperty (1 of 3) - -```csharp -public RegisteredCustomerInfoBuilder AddProperty(string alias, string name, string value) -``` - ---- - -#### AddProperty (2 of 3) - -```csharp -public RegisteredCustomerInfoBuilder AddProperty(string alias, string name, string description, - string value) -``` - ---- - -#### AddProperty (3 of 3) - -```csharp -public RegisteredCustomerInfoBuilder AddProperty(Property property) -``` - - ---- - -#### Build - -```csharp -public RegisteredCustomerInfo Build() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/serviceprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/serviceprice.md deleted file mode 100644 index 5be9581fbe2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/serviceprice.md +++ /dev/null @@ -1,100 +0,0 @@ ---- -title: ServicePrice -description: API reference for ServicePrice in Umbraco Commerce ---- -## ServicePrice - -```csharp -public class ServicePrice : ValueObjectBase, IAmount -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) -* interface [IAmount](iamount.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### ServicePrice (1 of 2) - -```csharp -public ServicePrice(decimal value, Guid currencyId) -``` - ---- - -#### ServicePrice (2 of 2) - -```csharp -public ServicePrice(decimal value, Guid currencyId, Guid? countryId, - Guid? regionId = default(Guid?)) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid? CountryId { get; } -``` - - ---- - -#### CurrencyId - -```csharp -public Guid CurrencyId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - ---- - -#### Value - -```csharp -public decimal Value { get; } -``` - - -### Methods - -#### ZeroValue (1 of 2) - -```csharp -public static ServicePrice ZeroValue(Guid currencyId) -``` - ---- - -#### ZeroValue (2 of 2) - -```csharp -public static ServicePrice ZeroValue(Guid currencyId, Guid? countryId, - Guid? regionId = default(Guid?)) -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/setbehavior.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/setbehavior.md deleted file mode 100644 index d0b18b8e67b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/setbehavior.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: SetBehavior -description: API reference for SetBehavior in Umbraco Commerce ---- -## SetBehavior - -```csharp -public enum SetBehavior -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Merge | `0` | | -| Replace | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/shippingmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/shippingmethod.md deleted file mode 100644 index 1d8a8233421..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/shippingmethod.md +++ /dev/null @@ -1,346 +0,0 @@ ---- -title: ShippingMethod -description: API reference for ShippingMethod in Umbraco Commerce ---- -## ShippingMethod - -```csharp -public class ShippingMethod : ShippingMethodReadOnly, IHasWritableServicePrices, - IHasWrtiableAllowedCountries, IHasWrtiableAllowedCountryRegions -``` - -**Inheritance** - -* Class [ShippingMethodReadOnly](shippingmethodreadonly.md) -* interface [IHasWritableServicePrices<TAggregate>](ihaswritableserviceprices-1.md) -* interface [IHasWrtiableAllowedCountries<TAggregate>](ihaswrtiableallowedcountries-1.md) -* interface [IHasWrtiableAllowedCountryRegions<TAggregate>](ihaswrtiableallowedcountryregions-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static ShippingMethod Create(IUnitOfWork uow, Guid storeId, string alias, string name) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static ShippingMethod Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, - string name) -``` - - ---- - -#### AllowInCountry (1 of 2) - -```csharp -public ShippingMethod AllowInCountry(CountryReadOnly country) -``` - ---- - -#### AllowInCountry (2 of 2) - -```csharp -public ShippingMethod AllowInCountry(Guid countryId) -``` - - ---- - -#### AllowInRegion (1 of 2) - -```csharp -public ShippingMethod AllowInRegion(RegionReadOnly region) -``` - ---- - -#### AllowInRegion (2 of 2) - -```csharp -public ShippingMethod AllowInRegion(Guid countryId, Guid regionId) -``` - - ---- - -#### ClearCountryPriceForCurrency (1 of 2) - -```csharp -public ShippingMethod ClearCountryPriceForCurrency(CountryReadOnly country, - CurrencyReadOnly currency) -``` - ---- - -#### ClearCountryPriceForCurrency (2 of 2) - -```csharp -public ShippingMethod ClearCountryPriceForCurrency(Guid countryId, Guid currencyId) -``` - - ---- - -#### ClearDefaultPriceForCurrency (1 of 2) - -```csharp -public ShippingMethod ClearDefaultPriceForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### ClearDefaultPriceForCurrency (2 of 2) - -```csharp -public ShippingMethod ClearDefaultPriceForCurrency(Guid currencyId) -``` - - ---- - -#### ClearPricesForCountry (1 of 2) - -```csharp -public ShippingMethod ClearPricesForCountry(CountryReadOnly country, - CurrencyReadOnly currency = null) -``` - ---- - -#### ClearPricesForCountry (2 of 2) - -```csharp -public ShippingMethod ClearPricesForCountry(Guid countryId, Guid? currencyId = default(Guid?)) -``` - - ---- - -#### ClearPricesForCurrency (1 of 2) - -```csharp -public ShippingMethod ClearPricesForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### ClearPricesForCurrency (2 of 2) - -```csharp -public ShippingMethod ClearPricesForCurrency(Guid currencyId) -``` - - ---- - -#### ClearPricesForRegion (1 of 2) - -```csharp -public ShippingMethod ClearPricesForRegion(RegionReadOnly region, CurrencyReadOnly currency = null) -``` - ---- - -#### ClearPricesForRegion (2 of 2) - -```csharp -public ShippingMethod ClearPricesForRegion(Guid countryId, Guid regionId, - Guid? currencyId = default(Guid?)) -``` - - ---- - -#### ClearRegionPriceForCurrency (1 of 2) - -```csharp -public ShippingMethod ClearRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency) -``` - ---- - -#### ClearRegionPriceForCurrency (2 of 2) - -```csharp -public ShippingMethod ClearRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId) -``` - - ---- - -#### ClearTaxClass - -```csharp -public ShippingMethod ClearTaxClass() -``` - - ---- - -#### DisallowInCountry (1 of 2) - -```csharp -public ShippingMethod DisallowInCountry(CountryReadOnly country) -``` - ---- - -#### DisallowInCountry (2 of 2) - -```csharp -public ShippingMethod DisallowInCountry(Guid countryId) -``` - - ---- - -#### DisallowInRegion (1 of 2) - -```csharp -public ShippingMethod DisallowInRegion(RegionReadOnly region) -``` - ---- - -#### DisallowInRegion (2 of 2) - -```csharp -public ShippingMethod DisallowInRegion(Guid countryId, Guid regionId) -``` - - ---- - -#### SetAlias - -```csharp -public ShippingMethod SetAlias(string alias) -``` - - ---- - -#### SetCountryPriceForCurrency (1 of 2) - -```csharp -public ShippingMethod SetCountryPriceForCurrency(CountryReadOnly country, - CurrencyReadOnly currency, decimal value) -``` - ---- - -#### SetCountryPriceForCurrency (2 of 2) - -```csharp -public ShippingMethod SetCountryPriceForCurrency(Guid countryId, Guid currencyId, decimal value) -``` - - ---- - -#### SetDefaultPriceForCurrency (1 of 2) - -```csharp -public ShippingMethod SetDefaultPriceForCurrency(CurrencyReadOnly currency, decimal value) -``` - ---- - -#### SetDefaultPriceForCurrency (2 of 2) - -```csharp -public ShippingMethod SetDefaultPriceForCurrency(Guid currencyId, decimal value) -``` - - ---- - -#### SetImage - -```csharp -public ShippingMethod SetImage(string id) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public ShippingMethod SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public ShippingMethod SetName(string name, string alias) -``` - - ---- - -#### SetRegionPriceForCurrency (1 of 2) - -```csharp -public ShippingMethod SetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency, - decimal value) -``` - ---- - -#### SetRegionPriceForCurrency (2 of 2) - -```csharp -public ShippingMethod SetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId, - decimal value) -``` - - ---- - -#### SetSku - -```csharp -public ShippingMethod SetSku(string sku) -``` - - ---- - -#### SetSortOrder - -```csharp -public ShippingMethod SetSortOrder(int sortOrder) -``` - - ---- - -#### SetTaxClass (1 of 2) - -```csharp -public ShippingMethod SetTaxClass(TaxClass taxClass) -``` - ---- - -#### SetTaxClass (2 of 2) - -```csharp -public ShippingMethod SetTaxClass(Guid? taxClassId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/shippingmethodreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/shippingmethodreadonly.md deleted file mode 100644 index 46b39125901..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/shippingmethodreadonly.md +++ /dev/null @@ -1,199 +0,0 @@ ---- -title: ShippingMethodReadOnly -description: API reference for ShippingMethodReadOnly in Umbraco Commerce ---- -## ShippingMethodReadOnly - -```csharp -public class ShippingMethodReadOnly : - StoreAggregateBase, IHasName, - IHasReadableAllowedCountryRegions, IHasReadableServicePrices -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) -* interface [IHasReadableAllowedCountryRegions](ihasreadableallowedcountryregions.md) -* interface [IHasReadableServicePrices](ihasreadableserviceprices.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### AllowedCountryRegions - -```csharp -public IReadOnlyList AllowedCountryRegions { get; } -``` - - ---- - -#### ImageId - -```csharp -public string ImageId { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### Prices - -```csharp -public IReadOnlyList Prices { get; } -``` - - ---- - -#### Sku - -```csharp -public string Sku { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### TaxClassId - -```csharp -public Guid? TaxClassId { get; } -``` - - -### Methods - -#### GetCountryPriceForCurrency (1 of 2) - -```csharp -public decimal GetCountryPriceForCurrency(CountryReadOnly country, CurrencyReadOnly currency) -``` - ---- - -#### GetCountryPriceForCurrency (2 of 2) - -```csharp -public decimal GetCountryPriceForCurrency(Guid countryId, Guid currencyId) -``` - - ---- - -#### GetDefaultPriceForCurrency (1 of 2) - -```csharp -public decimal GetDefaultPriceForCurrency(CurrencyReadOnly currency) -``` - ---- - -#### GetDefaultPriceForCurrency (2 of 2) - -```csharp -public decimal GetDefaultPriceForCurrency(Guid currencyId) -``` - - ---- - -#### GetPrice - -```csharp -public decimal GetPrice(Guid currencyId, Guid? countryId = default(Guid?), - Guid? regionId = default(Guid?)) -``` - - ---- - -#### GetRegionPriceForCurrency (1 of 2) - -```csharp -public decimal GetRegionPriceForCurrency(RegionReadOnly region, CurrencyReadOnly currency) -``` - ---- - -#### GetRegionPriceForCurrency (2 of 2) - -```csharp -public decimal GetRegionPriceForCurrency(Guid countryId, Guid regionId, Guid currencyId) -``` - - ---- - -#### IsAllowedInCountry (1 of 2) - -```csharp -public bool IsAllowedInCountry(CountryReadOnly country) -``` - ---- - -#### IsAllowedInCountry (2 of 2) - -```csharp -public bool IsAllowedInCountry(Guid countryId) -``` - - ---- - -#### IsAllowedInRegion (1 of 2) - -```csharp -public bool IsAllowedInRegion(RegionReadOnly region) -``` - ---- - -#### IsAllowedInRegion (2 of 2) - -```csharp -public bool IsAllowedInRegion(Guid countryId, Guid regionId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/store.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/store.md deleted file mode 100644 index 9279046302f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/store.md +++ /dev/null @@ -1,590 +0,0 @@ ---- -title: Store -description: API reference for Store in Umbraco Commerce ---- -## Store - -```csharp -public class Store : StoreReadOnly -``` - -**Inheritance** - -* Class [StoreReadOnly](storereadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static Store Create(IUnitOfWork uow, string alias, string name, - bool autoPopulateStore = true) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static Store Create(IUnitOfWork uow, Guid id, string alias, string name, - bool autoPopulateStore = true) -``` - - ---- - -#### AddGiftCardPropertyAlias - -```csharp -public Store AddGiftCardPropertyAlias(string alias) -``` - - ---- - -#### AddProductPropertyAlias - -```csharp -public Store AddProductPropertyAlias(string alias) -``` - - ---- - -#### AddProductUniquenessPropertyAlias - -```csharp -public Store AddProductUniquenessPropertyAlias(string alias) -``` - - ---- - -#### AllowUser - -```csharp -public Store AllowUser(string userId) -``` - - ---- - -#### AllowUserRole - -```csharp -public Store AllowUserRole(string role) -``` - - ---- - -#### AllowUserRoles - -```csharp -public Store AllowUserRoles(IEnumerable roles) -``` - - ---- - -#### AllowUsers - -```csharp -public Store AllowUsers(IEnumerable userIds) -``` - - ---- - -#### ClearGiftCardPropertyAliases - -```csharp -public Store ClearGiftCardPropertyAliases() -``` - - ---- - -#### ClearProductPropertyAliases - -```csharp -public Store ClearProductPropertyAliases() -``` - - ---- - -#### ClearProductUniquenessPropertyAliases - -```csharp -public Store ClearProductUniquenessPropertyAliases() -``` - - ---- - -#### DisableCookies - -```csharp -public Store DisableCookies() -``` - - ---- - -#### DisallowUser - -```csharp -public Store DisallowUser(string userId) -``` - - ---- - -#### DisallowUserRole - -```csharp -public Store DisallowUserRole(string role) -``` - - ---- - -#### DisallowUserRoles - -```csharp -public Store DisallowUserRoles(IEnumerable roles) -``` - - ---- - -#### DisallowUsers - -```csharp -public Store DisallowUsers(IEnumerable userIds) -``` - - ---- - -#### EnableCookies - -```csharp -public Store EnableCookies(TimeSpan cookieTimeout) -``` - - ---- - -#### RemoveGiftCardPropertyAlias - -```csharp -public Store RemoveGiftCardPropertyAlias(string alias) -``` - - ---- - -#### RemoveProductPropertyAlias - -```csharp -public Store RemoveProductPropertyAlias(string alias) -``` - - ---- - -#### RemoveProductUniquenessPropertyAlias - -```csharp -public Store RemoveProductUniquenessPropertyAlias(string alias) -``` - - ---- - -#### SetAlias - -```csharp -public Store SetAlias(string alias) -``` - - ---- - -#### SetAllowedUserRoles - -```csharp -public Store SetAllowedUserRoles(IEnumerable roles, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetAllowedUsers - -```csharp -public Store SetAllowedUsers(IEnumerable userIds, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetBaseCurrency (1 of 2) - -```csharp -public Store SetBaseCurrency(CurrencyReadOnly currency) -``` - ---- - -#### SetBaseCurrency (2 of 2) - -```csharp -public Store SetBaseCurrency(Guid? currencyId) -``` - - ---- - -#### SetCartNumberTemplate - -```csharp -public Store SetCartNumberTemplate(string template) -``` - - ---- - -#### SetConfirmationEmailTemplate (1 of 2) - -```csharp -public Store SetConfirmationEmailTemplate(EmailTemplateReadOnly emailTemplate) -``` - ---- - -#### SetConfirmationEmailTemplate (2 of 2) - -```csharp -public Store SetConfirmationEmailTemplate(Guid? emailTemplateId) -``` - - ---- - -#### SetDefaultCountry (1 of 2) - -```csharp -public Store SetDefaultCountry(CountryReadOnly country) -``` - ---- - -#### SetDefaultCountry (2 of 2) - -```csharp -public Store SetDefaultCountry(Guid? countryId) -``` - - ---- - -#### SetDefaultGiftCardEmailTemplate (1 of 2) - -```csharp -public Store SetDefaultGiftCardEmailTemplate(EmailTemplateReadOnly emailTemplate) -``` - ---- - -#### SetDefaultGiftCardEmailTemplate (2 of 2) - -```csharp -public Store SetDefaultGiftCardEmailTemplate(Guid? emailTemplateId) -``` - - ---- - -#### SetDefaultOrderStatus (1 of 2) - -```csharp -public Store SetDefaultOrderStatus(OrderStatusReadOnly orderStatus) -``` - ---- - -#### SetDefaultOrderStatus (2 of 2) - -```csharp -public Store SetDefaultOrderStatus(Guid? orderStatusId) -``` - - ---- - -#### SetDefaultTaxClass (1 of 2) - -```csharp -public Store SetDefaultTaxClass(TaxClassReadOnly taxClass) -``` - ---- - -#### SetDefaultTaxClass (2 of 2) - -```csharp -public Store SetDefaultTaxClass(Guid? taxClassId) -``` - - ---- - -#### SetErrorEmailTemplate (1 of 2) - -```csharp -public Store SetErrorEmailTemplate(EmailTemplateReadOnly emailTemplate) -``` - ---- - -#### SetErrorEmailTemplate (2 of 2) - -```csharp -public Store SetErrorEmailTemplate(Guid? emailTemplateId) -``` - - ---- - -#### SetErrorOrderStatus (1 of 2) - -```csharp -public Store SetErrorOrderStatus(OrderStatusReadOnly orderStatus) -``` - ---- - -#### SetErrorOrderStatus (2 of 2) - -```csharp -public Store SetErrorOrderStatus(Guid? orderStatusId) -``` - - ---- - -#### SetGiftCardActivationMethod - -```csharp -public Store SetGiftCardActivationMethod(GiftCardActivationMethod activationMethod) -``` - - ---- - -#### SetGiftCardActivationOrderStatus (1 of 2) - -```csharp -public Store SetGiftCardActivationOrderStatus(OrderStatusReadOnly orderStatus) -``` - ---- - -#### SetGiftCardActivationOrderStatus (2 of 2) - -```csharp -public Store SetGiftCardActivationOrderStatus(Guid? orderStatusId) -``` - - ---- - -#### SetGiftCardCodeLength - -```csharp -public Store SetGiftCardCodeLength(int length) -``` - - ---- - -#### SetGiftCardCodeTemplate - -```csharp -public Store SetGiftCardCodeTemplate(string codeTemplate) -``` - - ---- - -#### SetGiftCardPropertyAliases - -```csharp -public Store SetGiftCardPropertyAliases(IEnumerable aliases, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetGiftCardValidityTimeframe - -```csharp -public Store SetGiftCardValidityTimeframe(int numberOfDays) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public Store SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public Store SetName(string name, string alias) -``` - - ---- - -#### SetNotificationEmailTemplates (1 of 2) - -```csharp -public Store SetNotificationEmailTemplates(EmailTemplateReadOnly confirmationEmailTemplate, - EmailTemplateReadOnly errorEmailTemplate) -``` - ---- - -#### SetNotificationEmailTemplates (2 of 2) - -```csharp -public Store SetNotificationEmailTemplates(Guid? confirmationEmailTemplateId, - Guid? errorEmailTemplateId) -``` - - ---- - -#### SetOrderNumberTemplate - -```csharp -public Store SetOrderNumberTemplate(string template) -``` - - ---- - -#### SetOrderNumberTemplates - -```csharp -public Store SetOrderNumberTemplates(string cartNumberTemplate, string orderNumberTemplate) -``` - - ---- - -#### SetOrderRoundingMethod - -```csharp -public Store SetOrderRoundingMethod(OrderRoundingMethod orderRoundingMethod) -``` - - ---- - -#### SetOrderStatuses (1 of 2) - -```csharp -public Store SetOrderStatuses(OrderStatusReadOnly defaultOrderStatus, - OrderStatusReadOnly errorOrderStatus) -``` - ---- - -#### SetOrderStatuses (2 of 2) - -```csharp -public Store SetOrderStatuses(Guid? defaultOrderStatusId, Guid? errorOrderStatusId) -``` - - ---- - -#### SetPriceTaxInclusivity - -```csharp -public Store SetPriceTaxInclusivity(bool pricesIncludeTax) -``` - - ---- - -#### SetProductPropertyAliases - -```csharp -public Store SetProductPropertyAliases(IEnumerable aliases, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetProductUniquenessPropertyAliases - -```csharp -public Store SetProductUniquenessPropertyAliases(IEnumerable aliases, - SetBehavior setBehavior = SetBehavior.Merge) -``` - - ---- - -#### SetSortOrder - -```csharp -public Store SetSortOrder(int order) -``` - - ---- - -#### ShareStockFrom (1 of 2) - -```csharp -public Store ShareStockFrom(StoreReadOnly store) -``` - ---- - -#### ShareStockFrom (2 of 2) - -```csharp -public Store ShareStockFrom(Guid storeId) -``` - - ---- - -#### StopSharingStock - -```csharp -public Store StopSharingStock() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeaggregatebase-3.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeaggregatebase-3.md deleted file mode 100644 index b6b54f3464c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeaggregatebase-3.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: StoreAggregateBase -description: API reference for StoreAggregateBase in Umbraco Commerce ---- -## StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState> - -The base class of [`Store`](store.md) based aggregate entity - -```csharp -public abstract class StoreAggregateBase : - AggregateBase, IHasStore - where TReadOnlySelf : StoreAggregateBase - where TWritableSelf : TReadOnlySelf - where TState : StoreAggregateStateBase -``` - -**Inheritance** - -* Class [AggregateBase<TReadOnlySelf,TWritableSelf,TState>](aggregatebase-3.md) -* interface [IHasStore](ihasstore.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TReadOnlySelf | The Type of the read only aggregate entity | -| TWritableSelf | The Type of the writable aggregate entity | -| TState | The Type of the shared state of the aggregate entities | - -### Properties - -#### StoreId - -Gets the ID of the [`Store`](store.md) this entity belongs to - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeaggregatestatebase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeaggregatestatebase.md deleted file mode 100644 index 5645ad344ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeaggregatestatebase.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreAggregateStateBase -description: API reference for StoreAggregateStateBase in Umbraco Commerce ---- -## StoreAggregateStateBase - -```csharp -public abstract class StoreAggregateStateBase : AggregateStateBase -``` - -**Inheritance** - -* Class [AggregateStateBase](aggregatestatebase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeentitystatebase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeentitystatebase.md deleted file mode 100644 index 46173a77957..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storeentitystatebase.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: StoreEntityStateBase -description: API reference for StoreEntityStateBase in Umbraco Commerce ---- -## StoreEntityStateBase - -```csharp -public abstract class StoreEntityStateBase : EntityStateBase -``` - -**Inheritance** - -* Class [EntityStateBase](entitystatebase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storereadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storereadonly.md deleted file mode 100644 index c35e4dc8aea..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storereadonly.md +++ /dev/null @@ -1,289 +0,0 @@ ---- -title: StoreReadOnly -description: API reference for StoreReadOnly in Umbraco Commerce ---- -## StoreReadOnly - -```csharp -public class StoreReadOnly : AggregateBase, IHasName -``` - -**Inheritance** - -* Class [AggregateBase<TReadOnlySelf,TWritableSelf,TState>](aggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### AllowedUserRoles - -```csharp -public IReadOnlyList AllowedUserRoles { get; } -``` - - ---- - -#### AllowedUsers - -```csharp -public IReadOnlyList AllowedUsers { get; } -``` - - ---- - -#### BaseCurrencyId - -```csharp -public Guid? BaseCurrencyId { get; } -``` - - ---- - -#### CartNumberTemplate - -```csharp -public string CartNumberTemplate { get; } -``` - - ---- - -#### ConfirmationEmailTemplateId - -```csharp -public Guid? ConfirmationEmailTemplateId { get; } -``` - - ---- - -#### CookieTimeout - -```csharp -public TimeSpan? CookieTimeout { get; } -``` - - ---- - -#### DefaultCountryId - -```csharp -public Guid? DefaultCountryId { get; } -``` - - ---- - -#### DefaultGiftCardEmailTemplateId - -```csharp -public Guid? DefaultGiftCardEmailTemplateId { get; } -``` - - ---- - -#### DefaultOrderStatusId - -```csharp -public Guid? DefaultOrderStatusId { get; } -``` - - ---- - -#### DefaultTaxClassId - -```csharp -public Guid? DefaultTaxClassId { get; } -``` - - ---- - -#### ErrorEmailTemplateId - -```csharp -public Guid? ErrorEmailTemplateId { get; } -``` - - ---- - -#### ErrorOrderStatusId - -```csharp -public Guid? ErrorOrderStatusId { get; } -``` - - ---- - -#### GiftCardActivationMethod - -```csharp -public GiftCardActivationMethod GiftCardActivationMethod { get; } -``` - - ---- - -#### GiftCardActivationOrderStatusId - -```csharp -public Guid? GiftCardActivationOrderStatusId { get; } -``` - - ---- - -#### GiftCardCodeLength - -```csharp -public int GiftCardCodeLength { get; } -``` - - ---- - -#### GiftCardCodeTemplate - -```csharp -public string GiftCardCodeTemplate { get; } -``` - - ---- - -#### GiftCardDaysValid - -```csharp -public int GiftCardDaysValid { get; } -``` - - ---- - -#### GiftCardPropertyAliases - -```csharp -public IReadOnlyList GiftCardPropertyAliases { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### OrderNumberTemplate - -```csharp -public string OrderNumberTemplate { get; } -``` - - ---- - -#### OrderRoundingMethod - -```csharp -public OrderRoundingMethod OrderRoundingMethod { get; } -``` - - ---- - -#### PricesIncludeTax - -```csharp -public bool PricesIncludeTax { get; } -``` - - ---- - -#### ProductPropertyAliases - -```csharp -public IReadOnlyList ProductPropertyAliases { get; } -``` - - ---- - -#### ProductUniquenessPropertyAliases - -```csharp -public IReadOnlyList ProductUniquenessPropertyAliases { get; } -``` - - ---- - -#### ShareStockFromStoreId - -```csharp -public Guid? ShareStockFromStoreId { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - ---- - -#### UseCookies - -```csharp -public bool UseCookies { get; } -``` - - -### Methods - -#### IsAllowed - -```csharp -public bool IsAllowed(string userId, IEnumerable roles) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storestats.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storestats.md deleted file mode 100644 index ca0a3e32af7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storestats.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: StoreStats -description: API reference for StoreStats in Umbraco Commerce ---- -## StoreStats - -```csharp -public class StoreStats : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### TotalAuthorizedOrders - -```csharp -public long TotalAuthorizedOrders { get; } -``` - - ---- - -#### TotalCapturedOrders - -```csharp -public long TotalCapturedOrders { get; } -``` - - ---- - -#### TotalErroredOrders - -```csharp -public long TotalErroredOrders { get; } -``` - - ---- - -#### TotalNewOrders - -```csharp -public long TotalNewOrders { get; } -``` - - ---- - -#### TotalOrders - -```csharp -public long TotalOrders { get; } -``` - - ---- - -#### TotalRefundedOrders - -```csharp -public long TotalRefundedOrders { get; } -``` - - ---- - -#### TotalRevenue - -```csharp -public Amount TotalRevenue { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storesummary.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storesummary.md deleted file mode 100644 index 40ef7108ef9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/storesummary.md +++ /dev/null @@ -1,108 +0,0 @@ ---- -title: StoreSummary -description: API reference for StoreSummary in Umbraco Commerce ---- -## StoreSummary - -```csharp -public class StoreSummary : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### BaseCurrencyCode - -```csharp -public string BaseCurrencyCode { get; } -``` - - ---- - -#### BaseCurrencyId - -```csharp -public Guid? BaseCurrencyId { get; } -``` - - ---- - -#### BaseCurrencyName - -```csharp -public string BaseCurrencyName { get; } -``` - - ---- - -#### DefaultCountryId - -```csharp -public Guid? DefaultCountryId { get; } -``` - - ---- - -#### DefaultCountryName - -```csharp -public string DefaultCountryName { get; } -``` - - ---- - -#### Id - -```csharp -public Guid Id { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### TotalOrdersToDate - -```csharp -public long TotalOrdersToDate { get; } -``` - - ---- - -#### TotalRevenueToDate - -```csharp -public Amount TotalRevenueToDate { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxclass.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxclass.md deleted file mode 100644 index 06472d232cb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxclass.md +++ /dev/null @@ -1,175 +0,0 @@ ---- -title: TaxClass -description: API reference for TaxClass in Umbraco Commerce ---- -## TaxClass - -```csharp -public class TaxClass : TaxClassReadOnly -``` - -**Inheritance** - -* Class [TaxClassReadOnly](taxclassreadonly.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public static TaxClass Create(IUnitOfWork uow, Guid storeId, string alias, string name, - TaxRate defaultTaxRate) -``` - ---- - -#### Create (2 of 2) - -```csharp -public static TaxClass Create(IUnitOfWork uow, Guid id, Guid storeId, string alias, string name, - TaxRate defaultTaxRate) -``` - - ---- - -#### ClearCountryTaxRate (1 of 2) - -```csharp -public TaxClass ClearCountryTaxRate(CountryReadOnly country) -``` - ---- - -#### ClearCountryTaxRate (2 of 2) - -```csharp -public TaxClass ClearCountryTaxRate(Guid countryId) -``` - - ---- - -#### ClearDefaultTaxRate - -```csharp -public TaxClass ClearDefaultTaxRate() -``` - - ---- - -#### ClearRegionTaxRate (1 of 2) - -```csharp -public TaxClass ClearRegionTaxRate(RegionReadOnly region) -``` - ---- - -#### ClearRegionTaxRate (2 of 2) - -```csharp -public TaxClass ClearRegionTaxRate(Guid countryId, Guid regionId) -``` - - ---- - -#### ClearTaxRatesForCountry (1 of 2) - -```csharp -public TaxClass ClearTaxRatesForCountry(CountryReadOnly country) -``` - ---- - -#### ClearTaxRatesForCountry (2 of 2) - -```csharp -public TaxClass ClearTaxRatesForCountry(Guid countryId) -``` - - ---- - -#### SetAlias - -```csharp -public TaxClass SetAlias(string alias) -``` - - ---- - -#### SetCountryTaxRate (1 of 2) - -```csharp -public TaxClass SetCountryTaxRate(CountryReadOnly country, TaxRate taxRate) -``` - ---- - -#### SetCountryTaxRate (2 of 2) - -```csharp -public TaxClass SetCountryTaxRate(Guid countryId, TaxRate taxRate) -``` - - ---- - -#### SetDefaultTaxRate - -```csharp -public TaxClass SetDefaultTaxRate(TaxRate taxRate) -``` - - ---- - -#### SetName (1 of 2) - -```csharp -public TaxClass SetName(string name) -``` - ---- - -#### SetName (2 of 2) - -```csharp -public TaxClass SetName(string name, string alias) -``` - - ---- - -#### SetRegionTaxRate (1 of 2) - -```csharp -public TaxClass SetRegionTaxRate(RegionReadOnly region, TaxRate taxRate) -``` - ---- - -#### SetRegionTaxRate (2 of 2) - -```csharp -public TaxClass SetRegionTaxRate(Guid countryId, Guid regionId, TaxRate taxRate) -``` - - ---- - -#### SetSortOrder - -```csharp -public TaxClass SetSortOrder(int sortOrder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxclassreadonly.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxclassreadonly.md deleted file mode 100644 index ef71b7100da..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxclassreadonly.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: TaxClassReadOnly -description: API reference for TaxClassReadOnly in Umbraco Commerce ---- -## TaxClassReadOnly - -```csharp -public class TaxClassReadOnly : StoreAggregateBase, - IHasName -``` - -**Inheritance** - -* Class [StoreAggregateBase<TReadOnlySelf,TWritableSelf,TState>](storeaggregatebase-3.md) -* interface [IHasName](ihasname.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### CountryRegionTaxRates - -```csharp -public IReadOnlyCollection CountryRegionTaxRates { get; } -``` - - ---- - -#### DefaultTaxRate - -```csharp -public TaxRate DefaultTaxRate { get; } -``` - - ---- - -#### IsDeleted - -```csharp -public bool IsDeleted { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; } -``` - - -### Methods - -#### GetTaxRate - -```csharp -public TaxRate GetTaxRate(TaxSource taxSource) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxrate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxrate.md deleted file mode 100644 index 2eda9772418..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxrate.md +++ /dev/null @@ -1,114 +0,0 @@ ---- -title: TaxRate -description: API reference for TaxRate in Umbraco Commerce ---- -## TaxRate - -```csharp -public class TaxRate : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### TaxRate - -```csharp -public TaxRate(decimal value) -``` - - -### Fields - -#### ZeroValue - -```csharp -public static TaxRate ZeroValue; -``` - - -### Properties - -#### Value - -```csharp -public decimal Value { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### ToString - -```csharp -public override string ToString() -``` - - -### Operators - -#### TaxRate Addition (1 of 2) - -```csharp -public static decimal operator +(decimal value, TaxRate taxRate) -``` - ---- - -#### TaxRate Addition (2 of 2) - -```csharp -public static decimal operator +(TaxRate taxRate, decimal value) -``` - - ---- - -#### TaxRate Implicit (1 of 2) - -```csharp -public static implicit operator TaxRate(decimal value) -``` - ---- - -#### TaxRate Implicit (2 of 2) - -```csharp -public static implicit operator decimal(TaxRate taxRate) -``` - - ---- - -#### TaxRate Multiply (1 of 2) - -```csharp -public static decimal operator *(decimal value, TaxRate taxRate) -``` - ---- - -#### TaxRate Multiply (2 of 2) - -```csharp -public static decimal operator *(TaxRate taxRate, decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxsource.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxsource.md deleted file mode 100644 index c410a7d8e85..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/taxsource.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: TaxSource -description: API reference for TaxSource in Umbraco Commerce ---- -## TaxSource - -```csharp -public class TaxSource : ValueObjectBase -``` - -**Inheritance** - -* Class [ValueObjectBase](../../umbraco-commerce-common/umbraco-commerce-common-models/valueobjectbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### TaxSource - -```csharp -public TaxSource(Guid countryId, Guid? regionId = default(Guid?)) -``` - - -### Properties - -#### CountryId - -```csharp -public Guid CountryId { get; } -``` - - ---- - -#### RegionId - -```csharp -public Guid? RegionId { get; } -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/templatecategory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/templatecategory.md deleted file mode 100644 index 69346d0c1a9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/templatecategory.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: TemplateCategory -description: API reference for TemplateCategory in Umbraco Commerce ---- -## TemplateCategory - -```csharp -public enum TemplateCategory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Cart | `3` | | -| Order | `0` | | -| GiftCard | `1` | | -| Discount | `2` | | -| Custom | `999` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/totalprice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/totalprice.md deleted file mode 100644 index 63f0e091268..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/totalprice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: TotalPrice -description: API reference for TotalPrice in Umbraco Commerce ---- -## TotalPrice - -```csharp -public class TotalPrice : AdjustedPrice -``` - -**Inheritance** - -* Class [AdjustedPrice](adjustedprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Methods - -#### ZeroValue - -```csharp -public static TotalPrice ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyTotalPrice AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/totalpricewithpreviousadjustment.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/totalpricewithpreviousadjustment.md deleted file mode 100644 index a508992e238..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/totalpricewithpreviousadjustment.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: TotalPriceWithPreviousAdjustment -description: API reference for TotalPriceWithPreviousAdjustment in Umbraco Commerce ---- -## TotalPriceWithPreviousAdjustment - -```csharp -public class TotalPriceWithPreviousAdjustment : TotalPrice -``` - -**Inheritance** - -* Class [TotalPrice](totalprice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Properties - -#### PreviousAdjustments - -```csharp -public Price PreviousAdjustments { get; set; } -``` - - ---- - -#### TotalAdjustment - -```csharp -public Price TotalAdjustment { get; set; } -``` - - ---- - -#### WithPreviousAdjustments - -```csharp -public Price WithPreviousAdjustments { get; set; } -``` - - -### Methods - -#### ZeroValue - -```csharp -public static TotalPriceWithPreviousAdjustment ZeroValue(Guid currencyId) -``` - - ---- - -#### AsReadOnly - -```csharp -public virtual ReadOnlyTotalPriceWithPreviousAdjustment AsReadOnly() -``` - - ---- - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### GetHashCode - -```csharp -public override int GetHashCode() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/translatedvalue-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/translatedvalue-1.md deleted file mode 100644 index c90201557ac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/translatedvalue-1.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: TranslatedValue -description: API reference for TranslatedValue in Umbraco Commerce ---- -## TranslatedValue<T> - -```csharp -public class TranslatedValue : ReadOnlyTranslatedValue, IDeepCloneable -``` - -**Inheritance** - -* Class [ReadOnlyTranslatedValue<T>](readonlytranslatedvalue-1.md) -* interface [IDeepCloneable](../../umbraco-commerce-common/umbraco-commerce-common/ideepcloneable.md) - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### TranslatedValue<T> - -The default constructor. - -```csharp -public TranslatedValue() -``` - - ---- - -#### TranslatedValue<T> (1 of 2) - -```csharp -public TranslatedValue(T defaultValue) -``` - ---- - -#### TranslatedValue<T> (2 of 2) - -```csharp -public TranslatedValue(T defaultValue, IDictionary translatedValues) -``` - - -### Methods - -#### DeepClone - -```csharp -public override object DeepClone() -``` - - ---- - -#### SetDefaultValue - -```csharp -public TranslatedValue SetDefaultValue(T value) -``` - - ---- - -#### SetValue - -```csharp -public TranslatedValue SetValue(string languageIsoCode, T value) -``` - - -### Operators - -#### TranslatedValue<T> Implicit - -```csharp -public static implicit operator T(TranslatedValue value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/umbracocommercesettingdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/umbracocommercesettingdefinition.md deleted file mode 100644 index 5c2ebdeba9d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-models/umbracocommercesettingdefinition.md +++ /dev/null @@ -1,115 +0,0 @@ ---- -title: UmbracoCommerceSettingDefinition -description: API reference for UmbracoCommerceSettingDefinition in Umbraco Commerce ---- -## UmbracoCommerceSettingDefinition - -```csharp -public abstract class UmbracoCommerceSettingDefinition -``` - -**Namespace** -* [Umbraco.Commerce.Core.Models](README.md) - -### Constructors - -#### UmbracoCommerceSettingDefinition - -The default constructor. - -```csharp -public UmbracoCommerceSettingDefinition() -``` - - ---- - -#### UmbracoCommerceSettingDefinition - -```csharp -public UmbracoCommerceSettingDefinition(string key, string name, string description = null) -``` - - -### Properties - -#### Config - -```csharp -public object Config { get; set; } -``` - - ---- - -#### DefaultValue - -```csharp -public object DefaultValue { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Key - -```csharp -public string Key { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### PropertyName - -```csharp -public string PropertyName { get; set; } -``` - - ---- - -#### PropertyType - -```csharp -public Type PropertyType { get; set; } -``` - - ---- - -#### SortOrder - -```csharp -public int SortOrder { get; set; } -``` - - ---- - -#### View - -```csharp -public string View { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/README.md deleted file mode 100644 index 8b23ceba58e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/README.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: Umbraco.Commerce.Core.PaymentProviders -description: API reference for Umbraco.Commerce.Core.PaymentProviders in Umbraco Commerce ---- -## Umbraco.Commerce.Core.PaymentProviders namespace - -| Public Type | Description | -| --- | --- | -| class [ApiResult](apiresult.md) | | -| class [CallbackResult](callbackresult.md) | | -| abstract class [CommonPaymentProviderBase](commonpaymentproviderbase.md) | | -| class [InvoicingPaymentProvider](invoicingpaymentprovider.md) | | -| class [InvoicingSettings](invoicingsettings.md) | | -| interface [IPaymentProvider](ipaymentprovider.md) | | -| interface [IPaymentProviderUriResolver](ipaymentprovideruriresolver.md) | | -| class [PaymentForm](paymentform.md) | | -| enum [PaymentFormMethod](paymentformmethod.md) | | -| class [PaymentFormResult](paymentformresult.md) | | -| class [PaymentProviderAttribute](paymentproviderattribute.md) | | -| abstract class [PaymentProviderBase<TSettingsModel>](paymentproviderbase-1.md) | | -| abstract class [PaymentProviderBase](paymentproviderbase.md) | | -| class [PaymentProviderCollection](paymentprovidercollection.md) | | -| class [PaymentProviderContext<TSettings>](paymentprovidercontext-1.md) | | -| class [PaymentProviderContext](paymentprovidercontext.md) | | -| class [PaymentProviderContextFactory](paymentprovidercontextfactory.md) | | -| class [PaymentProviderDefinition](paymentproviderdefinition.md) | | -| class [PaymentProviderFactory](paymentproviderfactory.md) | | -| class [PaymentProviderScaffold](paymentproviderscaffold.md) | | -| class [PaymentProviderSettingAttribute](paymentprovidersettingattribute.md) | | -| class [PaymentProviderSettingDefinition](paymentprovidersettingdefinition.md) | | -| class [PaymentProviderUrlsContext](paymentproviderurlscontext.md) | | -| class [TransactionInfo](transactioninfo.md) | | -| class [TransactionInfoUpdate](transactioninfoupdate.md) | | -| class [TransactionMetaDataDefinition](transactionmetadatadefinition.md) | | -| class [ZeroValuePaymentProvider](zerovaluepaymentprovider.md) | | -| class [ZeroValuePaymentProviderSettings](zerovaluepaymentprovidersettings.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/apiresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/apiresult.md deleted file mode 100644 index 4f517ef0932..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/apiresult.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: ApiResult -description: API reference for ApiResult in Umbraco Commerce ---- -## ApiResult - -```csharp -public class ApiResult -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### ApiResult - -The default constructor. - -```csharp -public ApiResult() -``` - - -### Properties - -#### Empty - -```csharp -public static ApiResult Empty { get; } -``` - - ---- - -#### MetaData - -```csharp -public IDictionary MetaData { get; set; } -``` - - ---- - -#### TransactionInfo - -```csharp -public TransactionInfoUpdate TransactionInfo { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/callbackresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/callbackresult.md deleted file mode 100644 index bc959417abc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/callbackresult.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: CallbackResult -description: API reference for CallbackResult in Umbraco Commerce ---- -## CallbackResult - -```csharp -public class CallbackResult -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### CallbackResult - -The default constructor. - -```csharp -public CallbackResult() -``` - - -### Properties - -#### Empty - -```csharp -public static CallbackResult Empty { get; } -``` - - ---- - -#### HttpResponse - -```csharp -public HttpResponseMessage HttpResponse { get; set; } -``` - - ---- - -#### MetaData - -```csharp -public IDictionary MetaData { get; set; } -``` - - ---- - -#### TransactionInfo - -```csharp -public TransactionInfo TransactionInfo { get; set; } -``` - - -### Methods - -#### BadRequest - -```csharp -public static CallbackResult BadRequest(TransactionInfo transactionInfo = null, - IDictionary metaData = null) -``` - - ---- - -#### Ok - -```csharp -public static CallbackResult Ok(TransactionInfo transactionInfo = null, - IDictionary metaData = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/commonpaymentproviderbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/commonpaymentproviderbase.md deleted file mode 100644 index a35fbeed9ad..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/commonpaymentproviderbase.md +++ /dev/null @@ -1,140 +0,0 @@ ---- -title: CommonPaymentProviderBase -description: API reference for CommonPaymentProviderBase in Umbraco Commerce ---- -## CommonPaymentProviderBase - -```csharp -public abstract class CommonPaymentProviderBase -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### CanCancelPayments - -```csharp -public virtual bool CanCancelPayments { get; } -``` - - ---- - -#### CanCapturePayments - -```csharp -public virtual bool CanCapturePayments { get; } -``` - - ---- - -#### CanFetchPaymentStatus - -```csharp -public virtual bool CanFetchPaymentStatus { get; } -``` - - ---- - -#### CanRefundPayments - -```csharp -public virtual bool CanRefundPayments { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### FinalizeAtContinueUrl - -```csharp -public virtual bool FinalizeAtContinueUrl { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SettingDefinitions - -```csharp -public virtual IEnumerable SettingDefinitions { get; } -``` - - ---- - -#### TransactionMetaDataDefinitions - -```csharp -public virtual IEnumerable TransactionMetaDataDefinitions { get; } -``` - - -### Methods - -#### GetCancelUrl - -```csharp -public abstract string GetCancelUrl(PaymentProviderContext context) -``` - - ---- - -#### GetContinueUrl - -```csharp -public abstract string GetContinueUrl(PaymentProviderContext context) -``` - - ---- - -#### GetErrorUrl - -```csharp -public abstract string GetErrorUrl(PaymentProviderContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/invoicingpaymentprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/invoicingpaymentprovider.md deleted file mode 100644 index 32292bd63d2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/invoicingpaymentprovider.md +++ /dev/null @@ -1,125 +0,0 @@ ---- -title: InvoicingPaymentProvider -description: API reference for InvoicingPaymentProvider in Umbraco Commerce ---- -## InvoicingPaymentProvider - -```csharp -public class InvoicingPaymentProvider : PaymentProviderBase -``` - -**Inheritance** - -* Class [PaymentProviderBase<TSettingsModel>](paymentproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### InvoicingPaymentProvider - -```csharp -public InvoicingPaymentProvider(UmbracoCommerceContext ctx) -``` - - -### Properties - -#### CanCancelPayments - -```csharp -public override bool CanCancelPayments { get; } -``` - - ---- - -#### CanCapturePayments - -```csharp -public override bool CanCapturePayments { get; } -``` - - ---- - -#### FinalizeAtContinueUrl - -```csharp -public override bool FinalizeAtContinueUrl { get; } -``` - - -### Methods - -#### CancelPaymentAsync - -```csharp -public override Task CancelPaymentAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CapturePaymentAsync - -```csharp -public override Task CapturePaymentAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GenerateFormAsync - -```csharp -public override Task GenerateFormAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GetCancelUrl - -```csharp -public override string GetCancelUrl(PaymentProviderContext context) -``` - - ---- - -#### GetContinueUrl - -```csharp -public override string GetContinueUrl(PaymentProviderContext context) -``` - - ---- - -#### GetErrorUrl - -```csharp -public override string GetErrorUrl(PaymentProviderContext context) -``` - - ---- - -#### ProcessCallbackAsync - -```csharp -public override Task ProcessCallbackAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/invoicingsettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/invoicingsettings.md deleted file mode 100644 index 671f2ccfb4d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/invoicingsettings.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: InvoicingSettings -description: API reference for InvoicingSettings in Umbraco Commerce ---- -## InvoicingSettings - -```csharp -public class InvoicingSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### InvoicingSettings - -The default constructor. - -```csharp -public InvoicingSettings() -``` - - -### Properties - -#### ContinueUrl - -```csharp -public string ContinueUrl { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovider.md deleted file mode 100644 index af5594866af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovider.md +++ /dev/null @@ -1,210 +0,0 @@ ---- -title: IPaymentProvider -description: API reference for IPaymentProvider in Umbraco Commerce ---- -## IPaymentProvider - -```csharp -public interface IPaymentProvider -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### CanCancelPayments - -```csharp -public bool CanCancelPayments { get; } -``` - - ---- - -#### CanCapturePayments - -```csharp -public bool CanCapturePayments { get; } -``` - - ---- - -#### CanFetchPaymentStatus - -```csharp -public bool CanFetchPaymentStatus { get; } -``` - - ---- - -#### CanRefundPayments - -```csharp -public bool CanRefundPayments { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### FinalizeAtContinueUrl - -```csharp -public bool FinalizeAtContinueUrl { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - ---- - -#### SettingDefinitions - -```csharp -public IEnumerable SettingDefinitions { get; } -``` - - ---- - -#### TransactionMetaDataDefinitions - -```csharp -public IEnumerable TransactionMetaDataDefinitions { get; } -``` - - -### Methods - -#### CancelPaymentAsync - -```csharp -public Task CancelPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CapturePaymentAsync - -```csharp -public Task CapturePaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### FetchPaymentStatusAsync - -```csharp -public Task FetchPaymentStatusAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GenerateFormAsync - -```csharp -public Task GenerateFormAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GetCancelUrl - -```csharp -public string GetCancelUrl(PaymentProviderContext context) -``` - - ---- - -#### GetContinueUrl - -```csharp -public string GetContinueUrl(PaymentProviderContext context) -``` - - ---- - -#### GetErrorUrl - -```csharp -public string GetErrorUrl(PaymentProviderContext context) -``` - - ---- - -#### GetOrderReferenceAsync - -```csharp -public Task GetOrderReferenceAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### ProcessCallbackAsync - -```csharp -public Task ProcessCallbackAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### RefundPaymentAsync - -```csharp -public Task RefundPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovideruriresolver.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovideruriresolver.md deleted file mode 100644 index bbc9a8336bf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/ipaymentprovideruriresolver.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: IPaymentProviderUriResolver -description: API reference for IPaymentProviderUriResolver in Umbraco Commerce ---- -## IPaymentProviderUriResolver - -```csharp -public interface IPaymentProviderUriResolver -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Methods - -#### GetCallbackUrl (1 of 2) - -```csharp -public string GetCallbackUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetCallbackUrl (2 of 2) - -```csharp -public string GetCallbackUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - ---- - -#### GetCancelUrl (1 of 2) - -```csharp -public string GetCancelUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetCancelUrl (2 of 2) - -```csharp -public string GetCancelUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - ---- - -#### GetContinueUrl (1 of 2) - -```csharp -public string GetContinueUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetContinueUrl (2 of 2) - -```csharp -public string GetContinueUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - ---- - -#### GetErrorUrl (1 of 2) - -```csharp -public string GetErrorUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider) -``` - ---- - -#### GetErrorUrl (2 of 2) - -```csharp -public string GetErrorUrl(string paymentProviderAlias, OrderReference orderReference, - IHashProvider hashProvider, out string hash) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentform.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentform.md deleted file mode 100644 index b6d92da289f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentform.md +++ /dev/null @@ -1,195 +0,0 @@ ---- -title: PaymentForm -description: API reference for PaymentForm in Umbraco Commerce ---- -## PaymentForm - -```csharp -public class PaymentForm -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentForm (1 of 2) - -```csharp -public PaymentForm(string action) -``` - ---- - -#### PaymentForm (2 of 2) - -```csharp -public PaymentForm(string action, PaymentFormMethod method) -``` - - -### Properties - -#### Action - -```csharp -public string Action { get; set; } -``` - - ---- - -#### Attributes - -```csharp -public IDictionary Attributes { get; set; } -``` - - ---- - -#### Css - -```csharp -public string Css { get; set; } -``` - - ---- - -#### CssFiles - -```csharp -public IList CssFiles { get; set; } -``` - - ---- - -#### Inputs - -```csharp -public IDictionary Inputs { get; set; } -``` - - ---- - -#### Js - -```csharp -public string Js { get; set; } -``` - - ---- - -#### JsFiles - -```csharp -public IList JsFiles { get; set; } -``` - - ---- - -#### Method - -```csharp -public PaymentFormMethod Method { get; set; } -``` - - -### Methods - -#### WithAttribute - -```csharp -public PaymentForm WithAttribute(string key, string value) -``` - - ---- - -#### WithAttributeIf (1 of 2) - -```csharp -public PaymentForm WithAttributeIf(string key, Func predicate, string valueIfTrue, - string valueIfFalse = null) -``` - ---- - -#### WithAttributeIf (2 of 2) - -```csharp -public PaymentForm WithAttributeIf(string key, bool predicate, string valueIfTrue, - string valueIfFalse = null) -``` - - ---- - -#### WithCss - -```csharp -public PaymentForm WithCss(string styles) -``` - - ---- - -#### WithCssFile - -```csharp -public PaymentForm WithCssFile(string url) -``` - - ---- - -#### WithInput - -```csharp -public PaymentForm WithInput(string key, string value) -``` - - ---- - -#### WithInputIf (1 of 2) - -```csharp -public PaymentForm WithInputIf(string key, Func predicate, string valueIfTrue, - string valueIfFalse = null) -``` - ---- - -#### WithInputIf (2 of 2) - -```csharp -public PaymentForm WithInputIf(string key, bool predicate, string valueIfTrue, - string valueIfFalse = null) -``` - - ---- - -#### WithJs - -```csharp -public PaymentForm WithJs(string script) -``` - - ---- - -#### WithJsFile - -```csharp -public PaymentForm WithJsFile(string url) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentformmethod.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentformmethod.md deleted file mode 100644 index 46b3f0c8dab..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentformmethod.md +++ /dev/null @@ -1,21 +0,0 @@ ---- -title: PaymentFormMethod -description: API reference for PaymentFormMethod in Umbraco Commerce ---- -## PaymentFormMethod - -```csharp -public enum PaymentFormMethod -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -**Values** - -| Name | Value | Description | -| --- | --- | --- | -| Get | `0` | | -| Post | `1` | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentformresult.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentformresult.md deleted file mode 100644 index 89ffb6a9730..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentformresult.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: PaymentFormResult -description: API reference for PaymentFormResult in Umbraco Commerce ---- -## PaymentFormResult - -```csharp -public class PaymentFormResult -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentFormResult - -The default constructor. - -```csharp -public PaymentFormResult() -``` - - -### Properties - -#### Form - -```csharp -public PaymentForm Form { get; set; } -``` - - ---- - -#### MetaData - -```csharp -public IDictionary MetaData { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderattribute.md deleted file mode 100644 index b51edb217bb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderattribute.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: PaymentProviderAttribute -description: API reference for PaymentProviderAttribute in Umbraco Commerce ---- -## PaymentProviderAttribute - -```csharp -[AttributeUsage(AttributeTargets.Class)] -public class PaymentProviderAttribute : Attribute -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderAttribute (1 of 2) - -```csharp -public PaymentProviderAttribute(string alias, string name) -``` - ---- - -#### PaymentProviderAttribute (2 of 2) - -```csharp -public PaymentProviderAttribute(string alias, string name, string description) -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderbase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderbase-1.md deleted file mode 100644 index 79c0d127e41..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderbase-1.md +++ /dev/null @@ -1,226 +0,0 @@ ---- -title: PaymentProviderBase -description: API reference for PaymentProviderBase in Umbraco Commerce ---- -## PaymentProviderBase<TSettingsModel> - -```csharp -public abstract class PaymentProviderBase : PaymentProviderBase - where TSettingsModel : new() -``` - -**Inheritance** - -* Class [PaymentProviderBase](paymentproviderbase.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Properties - -#### SettingDefinitions - -```csharp -public override IEnumerable SettingDefinitions { get; } -``` - - -### Methods - -#### CancelPaymentAsync - -```csharp -public override Task CancelPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CancelPaymentAsync - -```csharp -public virtual Task CancelPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CapturePaymentAsync - -```csharp -public override Task CapturePaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CapturePaymentAsync - -```csharp -public virtual Task CapturePaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### FetchPaymentStatusAsync - -```csharp -public override Task FetchPaymentStatusAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### FetchPaymentStatusAsync - -```csharp -public virtual Task FetchPaymentStatusAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GenerateFormAsync - -```csharp -public override Task GenerateFormAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GenerateFormAsync - -```csharp -public abstract Task GenerateFormAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GetCancelUrl - -```csharp -public override string GetCancelUrl(PaymentProviderContext context) -``` - - ---- - -#### GetCancelUrl - -```csharp -public abstract string GetCancelUrl(PaymentProviderContext context) -``` - - ---- - -#### GetContinueUrl - -```csharp -public override string GetContinueUrl(PaymentProviderContext context) -``` - - ---- - -#### GetContinueUrl - -```csharp -public abstract string GetContinueUrl(PaymentProviderContext context) -``` - - ---- - -#### GetErrorUrl - -```csharp -public override string GetErrorUrl(PaymentProviderContext context) -``` - - ---- - -#### GetErrorUrl - -```csharp -public abstract string GetErrorUrl(PaymentProviderContext context) -``` - - ---- - -#### GetOrderReferenceAsync - -```csharp -public override Task GetOrderReferenceAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GetOrderReferenceAsync - -```csharp -public virtual Task GetOrderReferenceAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### ProcessCallbackAsync - -```csharp -public override Task ProcessCallbackAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### ProcessCallbackAsync - -```csharp -public abstract Task ProcessCallbackAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### RefundPaymentAsync - -```csharp -public override Task RefundPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### RefundPaymentAsync - -```csharp -public virtual Task RefundPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderbase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderbase.md deleted file mode 100644 index d97668442c0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderbase.md +++ /dev/null @@ -1,89 +0,0 @@ ---- -title: PaymentProviderBase -description: API reference for PaymentProviderBase in Umbraco Commerce ---- -## PaymentProviderBase - -```csharp -public abstract class PaymentProviderBase : CommonPaymentProviderBase, IPaymentProvider -``` - -**Inheritance** - -* Class [CommonPaymentProviderBase](commonpaymentproviderbase.md) -* interface [IPaymentProvider](ipaymentprovider.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Methods - -#### CancelPaymentAsync - -```csharp -public virtual Task CancelPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CapturePaymentAsync - -```csharp -public virtual Task CapturePaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### FetchPaymentStatusAsync - -```csharp -public virtual Task FetchPaymentStatusAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GenerateFormAsync - -```csharp -public abstract Task GenerateFormAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GetOrderReferenceAsync - -```csharp -public virtual Task GetOrderReferenceAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### ProcessCallbackAsync - -```csharp -public abstract Task ProcessCallbackAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### RefundPaymentAsync - -```csharp -public virtual Task RefundPaymentAsync(PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercollection.md deleted file mode 100644 index d245b31246e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercollection.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: PaymentProviderCollection -description: API reference for PaymentProviderCollection in Umbraco Commerce ---- -## PaymentProviderCollection - -```csharp -public class PaymentProviderCollection : ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderCollection - -```csharp -public PaymentProviderCollection(Func> itemsFactory) -``` - - -### Indexers - -#### PaymentProviderCollection - -```csharp -public IPaymentProvider this[string alias] { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontext-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontext-1.md deleted file mode 100644 index b9252ec342d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontext-1.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: PaymentProviderContext -description: API reference for PaymentProviderContext in Umbraco Commerce ---- -## PaymentProviderContext<TSettings> - -```csharp -public class PaymentProviderContext : PaymentProviderContext -``` - -**Inheritance** - -* Class [PaymentProviderContext](paymentprovidercontext.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Properties - -#### Settings - -```csharp -public TSettings Settings { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontext.md deleted file mode 100644 index 0b060cbb944..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontext.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: PaymentProviderContext -description: API reference for PaymentProviderContext in Umbraco Commerce ---- -## PaymentProviderContext - -```csharp -public class PaymentProviderContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Properties - -#### AdditionalData - -```csharp -public IDictionary AdditionalData { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### Request - -```csharp -public HttpRequestMessage Request { get; } -``` - - ---- - -#### Settings - -```csharp -public IReadOnlyDictionary Settings { get; } -``` - - ---- - -#### Urls - -```csharp -public PaymentProviderUrlsContext Urls { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontextfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontextfactory.md deleted file mode 100644 index cec8e0265f2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidercontextfactory.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: PaymentProviderContextFactory -description: API reference for PaymentProviderContextFactory in Umbraco Commerce ---- -## PaymentProviderContextFactory - -```csharp -public class PaymentProviderContextFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderContextFactory - -```csharp -public PaymentProviderContextFactory(IPaymentProviderUriResolver uriResolver, - ITranslationService translationService, IHashProvider hashProvider) -``` - - -### Methods - -#### CreateContext - -```csharp -public PaymentProviderContext CreateContext(OrderReadOnly order, - PaymentMethodReadOnly paymentMethod, HttpRequestMessage request = null) -``` - - ---- - -#### UpdateContext - -```csharp -public PaymentProviderContext UpdateContext(PaymentProviderContext context, OrderReadOnly order, - PaymentMethodReadOnly paymentMethod, HttpRequestMessage request = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderdefinition.md deleted file mode 100644 index 43aaa0ea881..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderdefinition.md +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: PaymentProviderDefinition -description: API reference for PaymentProviderDefinition in Umbraco Commerce ---- -## PaymentProviderDefinition - -```csharp -public class PaymentProviderDefinition -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderDefinition - -The default constructor. - -```csharp -public PaymentProviderDefinition() -``` - - -### Properties - -#### Alias - -```csharp -public string Alias { get; set; } -``` - - ---- - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Icon - -```csharp -public string Icon { get; set; } -``` - - ---- - -#### IsObsolete - -```csharp -public bool IsObsolete { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderfactory.md deleted file mode 100644 index 24b2ba2c689..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderfactory.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: PaymentProviderFactory -description: API reference for PaymentProviderFactory in Umbraco Commerce ---- -## PaymentProviderFactory - -```csharp -public class PaymentProviderFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderFactory - -```csharp -public PaymentProviderFactory(PaymentProviderCollection paymentProviders) -``` - - -### Methods - -#### GetPaymentProvider - -```csharp -public IPaymentProvider GetPaymentProvider(string alias) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderscaffold.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderscaffold.md deleted file mode 100644 index 0667c421546..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderscaffold.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: PaymentProviderScaffold -description: API reference for PaymentProviderScaffold in Umbraco Commerce ---- -## PaymentProviderScaffold - -```csharp -public class PaymentProviderScaffold : PaymentProviderDefinition -``` - -**Inheritance** - -* Class [PaymentProviderDefinition](paymentproviderdefinition.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderScaffold - -The default constructor. - -```csharp -public PaymentProviderScaffold() -``` - - -### Properties - -#### SettingDefinitions - -```csharp -public IEnumerable SettingDefinitions { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidersettingattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidersettingattribute.md deleted file mode 100644 index 8852d888b9c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidersettingattribute.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: PaymentProviderSettingAttribute -description: API reference for PaymentProviderSettingAttribute in Umbraco Commerce ---- -## PaymentProviderSettingAttribute - -```csharp -[AttributeUsage(AttributeTargets.Property)] -public class PaymentProviderSettingAttribute : UmbracoCommerceSettingAttribute -``` - -**Inheritance** - -* Class [UmbracoCommerceSettingAttribute](../umbraco-commerce-core-attributes/umbracocommercesettingattribute.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderSettingAttribute - -The default constructor. - -```csharp -public PaymentProviderSettingAttribute() -``` - - -### Properties - -#### IsAdvanced - -```csharp -public bool IsAdvanced { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidersettingdefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidersettingdefinition.md deleted file mode 100644 index 596c03acfe2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentprovidersettingdefinition.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: PaymentProviderSettingDefinition -description: API reference for PaymentProviderSettingDefinition in Umbraco Commerce ---- -## PaymentProviderSettingDefinition - -```csharp -public class PaymentProviderSettingDefinition : UmbracoCommerceSettingDefinition -``` - -**Inheritance** - -* Class [UmbracoCommerceSettingDefinition](../umbraco-commerce-core-models/umbracocommercesettingdefinition.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### PaymentProviderSettingDefinition - -The default constructor. - -```csharp -public PaymentProviderSettingDefinition() -``` - - ---- - -#### PaymentProviderSettingDefinition - -```csharp -public PaymentProviderSettingDefinition(string key, string name, string description = null) -``` - - -### Properties - -#### IsAdvanced - -```csharp -public bool IsAdvanced { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderurlscontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderurlscontext.md deleted file mode 100644 index c5c8c8ae35d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/paymentproviderurlscontext.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: PaymentProviderUrlsContext -description: API reference for PaymentProviderUrlsContext in Umbraco Commerce ---- -## PaymentProviderUrlsContext - -```csharp -public class PaymentProviderUrlsContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Properties - -#### CallbackUrl - -```csharp -public string CallbackUrl { get; } -``` - - ---- - -#### CancelUrl - -```csharp -public string CancelUrl { get; } -``` - - ---- - -#### ContinueUrl - -```csharp -public string ContinueUrl { get; } -``` - - ---- - -#### ErrorUrl - -```csharp -public string ErrorUrl { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactioninfo.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactioninfo.md deleted file mode 100644 index 186cbd73c96..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactioninfo.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: TransactionInfo -description: API reference for TransactionInfo in Umbraco Commerce ---- -## TransactionInfo - -```csharp -public class TransactionInfo -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### TransactionInfo - -The default constructor. - -```csharp -public TransactionInfo() -``` - - -### Properties - -#### AmountAuthorized - -```csharp -public decimal AmountAuthorized { get; set; } -``` - - ---- - -#### PaymentStatus - -```csharp -public PaymentStatus PaymentStatus { get; set; } -``` - - ---- - -#### TransactionFee - -```csharp -public decimal? TransactionFee { get; set; } -``` - - ---- - -#### TransactionId - -```csharp -public string TransactionId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactioninfoupdate.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactioninfoupdate.md deleted file mode 100644 index 1f861afa18b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactioninfoupdate.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -title: TransactionInfoUpdate -description: API reference for TransactionInfoUpdate in Umbraco Commerce ---- -## TransactionInfoUpdate - -```csharp -public class TransactionInfoUpdate -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### TransactionInfoUpdate - -The default constructor. - -```csharp -public TransactionInfoUpdate() -``` - - -### Properties - -#### PaymentStatus - -```csharp -public PaymentStatus PaymentStatus { get; set; } -``` - - ---- - -#### TransactionId - -```csharp -public string TransactionId { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactionmetadatadefinition.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactionmetadatadefinition.md deleted file mode 100644 index 805500313bf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/transactionmetadatadefinition.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -title: TransactionMetaDataDefinition -description: API reference for TransactionMetaDataDefinition in Umbraco Commerce ---- -## TransactionMetaDataDefinition - -```csharp -public class TransactionMetaDataDefinition -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### TransactionMetaDataDefinition - -The default constructor. - -```csharp -public TransactionMetaDataDefinition() -``` - - ---- - -#### TransactionMetaDataDefinition - -```csharp -public TransactionMetaDataDefinition(string propertyAlias, string name, string description = null) -``` - - -### Properties - -#### Description - -```csharp -public string Description { get; set; } -``` - - ---- - -#### Name - -```csharp -public string Name { get; set; } -``` - - ---- - -#### PropertyAlias - -```csharp -public string PropertyAlias { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/zerovaluepaymentprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/zerovaluepaymentprovider.md deleted file mode 100644 index 99c63206d68..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/zerovaluepaymentprovider.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -title: ZeroValuePaymentProvider -description: API reference for ZeroValuePaymentProvider in Umbraco Commerce ---- -## ZeroValuePaymentProvider - -```csharp -public class ZeroValuePaymentProvider : PaymentProviderBase -``` - -**Inheritance** - -* Class [PaymentProviderBase<TSettingsModel>](paymentproviderbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### ZeroValuePaymentProvider - -```csharp -public ZeroValuePaymentProvider(UmbracoCommerceContext ctx) -``` - - -### Properties - -#### FinalizeAtContinueUrl - -```csharp -public override bool FinalizeAtContinueUrl { get; } -``` - - -### Methods - -#### GenerateFormAsync - -```csharp -public override Task GenerateFormAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### GetCancelUrl - -```csharp -public override string GetCancelUrl( - PaymentProviderContext context) -``` - - ---- - -#### GetContinueUrl - -```csharp -public override string GetContinueUrl( - PaymentProviderContext context) -``` - - ---- - -#### GetErrorUrl - -```csharp -public override string GetErrorUrl(PaymentProviderContext context) -``` - - ---- - -#### ProcessCallbackAsync - -```csharp -public override Task ProcessCallbackAsync( - PaymentProviderContext context, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/zerovaluepaymentprovidersettings.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/zerovaluepaymentprovidersettings.md deleted file mode 100644 index e1edca4568c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-paymentproviders/zerovaluepaymentprovidersettings.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: ZeroValuePaymentProviderSettings -description: API reference for ZeroValuePaymentProviderSettings in Umbraco Commerce ---- -## ZeroValuePaymentProviderSettings - -```csharp -public class ZeroValuePaymentProviderSettings -``` - -**Namespace** -* [Umbraco.Commerce.Core.PaymentProviders](README.md) - -### Constructors - -#### ZeroValuePaymentProviderSettings - -The default constructor. - -```csharp -public ZeroValuePaymentProviderSettings() -``` - - -### Properties - -#### ContinueUrl - -```csharp -public string ContinueUrl { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/README.md deleted file mode 100644 index ff9370336d1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/README.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.Email.Tasks -description: API reference for Umbraco.Commerce.Core.Pipelines.Email.Tasks in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.Email.Tasks namespace - -| Public Type | Description | -| --- | --- | -| class [ConstructEmailMessageTask](constructemailmessagetask.md) | | -| class [RaiseFailedEventTask](raisefailedeventtask.md) | | -| class [RaiseSendingEventTask](raisesendingeventtask.md) | | -| class [RaiseSentEventTask](raisesenteventtask.md) | | -| class [RenderEmailTemplateTask](renderemailtemplatetask.md) | | -| class [ReplaceEmailTokens](replaceemailtokens.md) | | -| class [SendEmailTask](sendemailtask.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/constructemailmessagetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/constructemailmessagetask.md deleted file mode 100644 index fd2b5bb8dc5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/constructemailmessagetask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ConstructEmailMessageTask -description: API reference for ConstructEmailMessageTask in Umbraco Commerce ---- -## ConstructEmailMessageTask - -```csharp -public class ConstructEmailMessageTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### ConstructEmailMessageTask - -```csharp -public ConstructEmailMessageTask(ITranslationService translationService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(EmailSendPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisefailedeventtask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisefailedeventtask.md deleted file mode 100644 index 2e254bf4da1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisefailedeventtask.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: RaiseFailedEventTask -description: API reference for RaiseFailedEventTask in Umbraco Commerce ---- -## RaiseFailedEventTask - -```csharp -public class RaiseFailedEventTask : NotificationEventTaskBase -``` - -**Inheritance** - -* Class [NotificationEventTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/notificationeventtaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### RaiseFailedEventTask - -The default constructor. - -```csharp -public RaiseFailedEventTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisesendingeventtask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisesendingeventtask.md deleted file mode 100644 index 3b0a34faea2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisesendingeventtask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: RaiseSendingEventTask -description: API reference for RaiseSendingEventTask in Umbraco Commerce ---- -## RaiseSendingEventTask - -```csharp -public class RaiseSendingEventTask : - NotificationEventTaskBase -``` - -**Inheritance** - -* Class [NotificationEventTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/notificationeventtaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### RaiseSendingEventTask - -The default constructor. - -```csharp -public RaiseSendingEventTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisesenteventtask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisesenteventtask.md deleted file mode 100644 index 3241102a449..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/raisesenteventtask.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: RaiseSentEventTask -description: API reference for RaiseSentEventTask in Umbraco Commerce ---- -## RaiseSentEventTask - -```csharp -public class RaiseSentEventTask : NotificationEventTaskBase -``` - -**Inheritance** - -* Class [NotificationEventTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/notificationeventtaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### RaiseSentEventTask - -The default constructor. - -```csharp -public RaiseSentEventTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/renderemailtemplatetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/renderemailtemplatetask.md deleted file mode 100644 index b1b3f3ba17c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/renderemailtemplatetask.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: RenderEmailTemplateTask -description: API reference for RenderEmailTemplateTask in Umbraco Commerce ---- -## RenderEmailTemplateTask - -```csharp -public class RenderEmailTemplateTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### RenderEmailTemplateTask - -```csharp -public RenderEmailTemplateTask(ITranslationService translationService, - ITemplateEngine templateEngine) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(EmailSendPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/replaceemailtokens.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/replaceemailtokens.md deleted file mode 100644 index cc0c8379c65..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/replaceemailtokens.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: ReplaceEmailTokens -description: API reference for ReplaceEmailTokens in Umbraco Commerce ---- -## ReplaceEmailTokens - -```csharp -public class ReplaceEmailTokens : PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### ReplaceEmailTokens - -The default constructor. - -```csharp -public ReplaceEmailTokens() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(EmailSendPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/sendemailtask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/sendemailtask.md deleted file mode 100644 index 864583a5baf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email-tasks/sendemailtask.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: SendEmailTask -description: API reference for SendEmailTask in Umbraco Commerce ---- -## SendEmailTask - -```csharp -public class SendEmailTask : PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email.Tasks](README.md) - -### Constructors - -#### SendEmailTask - -```csharp -public SendEmailTask(IEmailSender emailSender, ILogger logger) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(EmailSendPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/README.md deleted file mode 100644 index 3760e33503c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.Email -description: API reference for Umbraco.Commerce.Core.Pipelines.Email in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.Email namespace - -| Public Type | Description | -| --- | --- | -| class [EmailSendPipelineArgs](emailsendpipelineargs.md) | | -| class [SendEmailPipeline](sendemailpipeline.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/emailsendpipelineargs.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/emailsendpipelineargs.md deleted file mode 100644 index 7f720243389..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/emailsendpipelineargs.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: EmailSendPipelineArgs -description: API reference for EmailSendPipelineArgs in Umbraco Commerce ---- -## EmailSendPipelineArgs - -```csharp -public class EmailSendPipelineArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineArgs<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email](README.md) - -### Constructors - -#### EmailSendPipelineArgs - -```csharp -public EmailSendPipelineArgs(IUnitOfWork uow, EmailContext model) -``` - - -### Properties - -#### EmailContext - -```csharp -public EmailContext EmailContext { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/sendemailpipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/sendemailpipeline.md deleted file mode 100644 index cc6275756c1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-email/sendemailpipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: SendEmailPipeline -description: API reference for SendEmailPipeline in Umbraco Commerce ---- -## SendEmailPipeline - -```csharp -public class SendEmailPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Email](README.md) - -### Constructors - -#### SendEmailPipeline - -```csharp -public SendEmailPipeline(Func>> itemsFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/README.md deleted file mode 100644 index d02e2e6ae26..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/README.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.Order.Tasks -description: API reference for Umbraco.Commerce.Core.Pipelines.Order.Tasks in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.Order.Tasks namespace - -| Public Type | Description | -| --- | --- | -| class [ApplyOrderAmountAdjustmentsTask](applyorderamountadjustmentstask.md) | | -| class [ApplyOrderPriceAdjustmentsTask](applyorderpriceadjustmentstask.md) | | -| class [CalculateOrderAdjustedPricesTask](calculateorderadjustedpricestask.md) | | -| class [CalculateOrderAdjustedTransactionAmountTask](calculateorderadjustedtransactionamounttask.md) | | -| class [CalculateOrderLineAdjustedPricesTask](calculateorderlineadjustedpricestask.md) | | -| class [CalculateOrderLinePricesTask](calculateorderlinepricestask.md) | | -| class [CalculateOrderLineTaxRatesTask](calculateorderlinetaxratestask.md) | | -| class [CalculateOrderPaymentTaxRateTask](calculateorderpaymenttaxratetask.md) | | -| class [CalculateOrderPaymentTotalPriceAdjustmentTask](calculateorderpaymenttotalpriceadjustmenttask.md) | | -| class [CalculateOrderPaymentTotalPriceValueTask](calculateorderpaymenttotalpricevaluetask.md) | | -| class [CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask](calculateorderpaymenttotalpricewithoutadjustmentstask.md) | | -| class [CalculateOrderPricesTask](calculateorderpricestask.md) | | -| class [CalculateOrderShippingTaxRateTask](calculateordershippingtaxratetask.md) | | -| class [CalculateOrderShippingTotalPriceAdjustmentTask](calculateordershippingtotalpriceadjustmenttask.md) | | -| class [CalculateOrderShippingTotalPriceValueTask](calculateordershippingtotalpricevaluetask.md) | | -| class [CalculateOrderShippingTotalPriceWithoutAdjustmentsTask](calculateordershippingtotalpricewithoutadjustmentstask.md) | | -| class [CalculateOrderSubtotalPriceAdjustmentTask](calculateordersubtotalpriceadjustmenttask.md) | | -| class [CalculateOrderSubtotalPricePreviousAdjustmentsTask](calculateordersubtotalpricepreviousadjustmentstask.md) | | -| class [CalculateOrderSubtotalPriceTotalAdjustmentTask](calculateordersubtotalpricetotaladjustmenttask.md) | | -| class [CalculateOrderSubtotalPriceValueTask](calculateordersubtotalpricevaluetask.md) | | -| class [CalculateOrderSubtotalPriceWithoutAdjustmentsTask](calculateordersubtotalpricewithoutadjustmentstask.md) | | -| class [CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask](calculateordersubtotalpricewithpreviousadjustmentstask.md) | | -| class [CalculateOrderTaxRatesTask](calculateordertaxratestask.md) | | -| class [CalculateOrderTaxRateTask](calculateordertaxratetask.md) | | -| class [CalculateOrderTotalPriceAdjustmentTask](calculateordertotalpriceadjustmenttask.md) | | -| class [CalculateOrderTotalPricePreviousAdjustmentTask](calculateordertotalpricepreviousadjustmenttask.md) | | -| class [CalculateOrderTotalPriceTask](calculateordertotalpricetask.md) | | -| class [CalculateOrderTotalPriceTotalAdjustmentTask](calculateordertotalpricetotaladjustmenttask.md) | | -| class [CalculateOrderTotalPriceValueTask](calculateordertotalpricevaluetask.md) | | -| class [CalculateOrderTotalPriceWithoutAdjustmentsTask](calculateordertotalpricewithoutadjustmentstask.md) | | -| class [CalculateOrderTotalPriceWithPreviousAdjustmentsTask](calculateordertotalpricewithpreviousadjustmentstask.md) | | -| class [CalculateOrderTotalTransactionAmountTask](calculateordertotaltransactionamounttask.md) | | -| class [CalculateOrderTransactionAmountAdjustmentTask](calculateordertransactionamountadjustmenttask.md) | | -| class [CalculateOrderTransactionAmountTask](calculateordertransactionamounttask.md) | | -| class [CalculateOrderTransactionAmountValueTask](calculateordertransactionamountvaluetask.md) | | -| class [CalculateOrderTransactionAmountWithoutAdjustmentsTask](calculateordertransactionamountwithoutadjustmentstask.md) | | -| class [LimitOrderAdjustmentsTask](limitorderadjustmentstask.md) | | -| class [LimitOrderPaymentTotalPriceAdjustmentsTask](limitorderpaymenttotalpriceadjustmentstask.md) | | -| class [LimitOrderShippingTotalPriceAdjustmentsTask](limitordershippingtotalpriceadjustmentstask.md) | | -| class [LimitOrderSubtotalPriceAdjustmentsTask](limitordersubtotalpriceadjustmentstask.md) | | -| class [LimitOrderTotalPriceAdjustmentsTask](limitordertotalpriceadjustmentstask.md) | | -| class [LimitOrderTransactionAmountAdjustmentsTask](limitordertransactionamountadjustmentstask.md) | | -| abstract class [OrderLinesCalculationPipelineTaskBase<TSelf,TOrderLinePipeline>](orderlinescalculationpipelinetaskbase-2.md) | | -| class [ResovleOrderCalculationDependenciesTask](resovleordercalculationdependenciestask.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/applyorderamountadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/applyorderamountadjustmentstask.md deleted file mode 100644 index e5feeab267d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/applyorderamountadjustmentstask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ApplyOrderAmountAdjustmentsTask -description: API reference for ApplyOrderAmountAdjustmentsTask in Umbraco Commerce ---- -## ApplyOrderAmountAdjustmentsTask - -```csharp -public class ApplyOrderAmountAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### ApplyOrderAmountAdjustmentsTask - -```csharp -public ApplyOrderAmountAdjustmentsTask(AmountAdjusterCollection amountAdjusters) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/applyorderpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/applyorderpriceadjustmentstask.md deleted file mode 100644 index 2ca0c1235e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/applyorderpriceadjustmentstask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ApplyOrderPriceAdjustmentsTask -description: API reference for ApplyOrderPriceAdjustmentsTask in Umbraco Commerce ---- -## ApplyOrderPriceAdjustmentsTask - -```csharp -public class ApplyOrderPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### ApplyOrderPriceAdjustmentsTask - -```csharp -public ApplyOrderPriceAdjustmentsTask(PriceAdjusterCollection priceAdjusters) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderadjustedpricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderadjustedpricestask.md deleted file mode 100644 index 431026f7952..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderadjustedpricestask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderAdjustedPricesTask -description: API reference for CalculateOrderAdjustedPricesTask in Umbraco Commerce ---- -## CalculateOrderAdjustedPricesTask - -```csharp -public class CalculateOrderAdjustedPricesTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderAdjustedPricesTask - -The default constructor. - -```csharp -public CalculateOrderAdjustedPricesTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderadjustedtransactionamounttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderadjustedtransactionamounttask.md deleted file mode 100644 index ab094d898ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderadjustedtransactionamounttask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderAdjustedTransactionAmountTask -description: API reference for CalculateOrderAdjustedTransactionAmountTask in Umbraco Commerce ---- -## CalculateOrderAdjustedTransactionAmountTask - -```csharp -public class CalculateOrderAdjustedTransactionAmountTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderAdjustedTransactionAmountTask - -The default constructor. - -```csharp -public CalculateOrderAdjustedTransactionAmountTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlineadjustedpricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlineadjustedpricestask.md deleted file mode 100644 index ba80759e699..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlineadjustedpricestask.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderLineAdjustedPricesTask -description: API reference for CalculateOrderLineAdjustedPricesTask in Umbraco Commerce ---- -## CalculateOrderLineAdjustedPricesTask - -```csharp -public class CalculateOrderLineAdjustedPricesTask : - OrderLinesCalculationPipelineTaskBase -``` - -**Inheritance** - -* Class [OrderLinesCalculationPipelineTaskBase<TSelf,TOrderLinePipeline>](orderlinescalculationpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineAdjustedPricesTask - -```csharp -public CalculateOrderLineAdjustedPricesTask(ILogger logger) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlinepricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlinepricestask.md deleted file mode 100644 index cc40af08c04..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlinepricestask.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderLinePricesTask -description: API reference for CalculateOrderLinePricesTask in Umbraco Commerce ---- -## CalculateOrderLinePricesTask - -```csharp -public class CalculateOrderLinePricesTask : - OrderLinesCalculationPipelineTaskBase -``` - -**Inheritance** - -* Class [OrderLinesCalculationPipelineTaskBase<TSelf,TOrderLinePipeline>](orderlinescalculationpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderLinePricesTask - -```csharp -public CalculateOrderLinePricesTask(ILogger logger) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlinetaxratestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlinetaxratestask.md deleted file mode 100644 index d5096f26492..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderlinetaxratestask.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderLineTaxRatesTask -description: API reference for CalculateOrderLineTaxRatesTask in Umbraco Commerce ---- -## CalculateOrderLineTaxRatesTask - -```csharp -public class CalculateOrderLineTaxRatesTask : - OrderLinesCalculationPipelineTaskBase -``` - -**Inheritance** - -* Class [OrderLinesCalculationPipelineTaskBase<TSelf,TOrderLinePipeline>](orderlinescalculationpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTaxRatesTask - -```csharp -public CalculateOrderLineTaxRatesTask(ILogger logger) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttaxratetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttaxratetask.md deleted file mode 100644 index 37acf162895..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttaxratetask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CalculateOrderPaymentTaxRateTask -description: API reference for CalculateOrderPaymentTaxRateTask in Umbraco Commerce ---- -## CalculateOrderPaymentTaxRateTask - -```csharp -public class CalculateOrderPaymentTaxRateTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderPaymentTaxRateTask - -```csharp -public CalculateOrderPaymentTaxRateTask(IPaymentCalculator paymentCalculator) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpriceadjustmenttask.md deleted file mode 100644 index fd480406f49..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderPaymentTotalPriceAdjustmentTask -description: API reference for CalculateOrderPaymentTotalPriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderPaymentTotalPriceAdjustmentTask - -```csharp -public class CalculateOrderPaymentTotalPriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderPaymentTotalPriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderPaymentTotalPriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpricevaluetask.md deleted file mode 100644 index 93d038aaf96..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderPaymentTotalPriceValueTask -description: API reference for CalculateOrderPaymentTotalPriceValueTask in Umbraco Commerce ---- -## CalculateOrderPaymentTotalPriceValueTask - -```csharp -public class CalculateOrderPaymentTotalPriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderPaymentTotalPriceValueTask - -The default constructor. - -```csharp -public CalculateOrderPaymentTotalPriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpricewithoutadjustmentstask.md deleted file mode 100644 index af18d45fe93..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpaymenttotalpricewithoutadjustmentstask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask -description: API reference for CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask - -```csharp -public CalculateOrderPaymentTotalPriceWithoutAdjustmentsTask(IPaymentCalculator paymentCalculator) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpricestask.md deleted file mode 100644 index d8681262d27..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateorderpricestask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderPricesTask -description: API reference for CalculateOrderPricesTask in Umbraco Commerce ---- -## CalculateOrderPricesTask - -```csharp -public class CalculateOrderPricesTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderPricesTask - -The default constructor. - -```csharp -public CalculateOrderPricesTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtaxratetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtaxratetask.md deleted file mode 100644 index 4bf2283cc65..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtaxratetask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CalculateOrderShippingTaxRateTask -description: API reference for CalculateOrderShippingTaxRateTask in Umbraco Commerce ---- -## CalculateOrderShippingTaxRateTask - -```csharp -public class CalculateOrderShippingTaxRateTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderShippingTaxRateTask - -```csharp -public CalculateOrderShippingTaxRateTask(IShippingCalculator shippingCalculator) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpriceadjustmenttask.md deleted file mode 100644 index ef5d6760f6e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderShippingTotalPriceAdjustmentTask -description: API reference for CalculateOrderShippingTotalPriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderShippingTotalPriceAdjustmentTask - -```csharp -public class CalculateOrderShippingTotalPriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderShippingTotalPriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderShippingTotalPriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpricevaluetask.md deleted file mode 100644 index 709781c562a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderShippingTotalPriceValueTask -description: API reference for CalculateOrderShippingTotalPriceValueTask in Umbraco Commerce ---- -## CalculateOrderShippingTotalPriceValueTask - -```csharp -public class CalculateOrderShippingTotalPriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderShippingTotalPriceValueTask - -The default constructor. - -```csharp -public CalculateOrderShippingTotalPriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpricewithoutadjustmentstask.md deleted file mode 100644 index 049fc517944..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordershippingtotalpricewithoutadjustmentstask.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: CalculateOrderShippingTotalPriceWithoutAdjustmentsTask -description: API reference for CalculateOrderShippingTotalPriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderShippingTotalPriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderShippingTotalPriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderShippingTotalPriceWithoutAdjustmentsTask - -```csharp -public CalculateOrderShippingTotalPriceWithoutAdjustmentsTask( - IShippingCalculator shippingCalculator) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpriceadjustmenttask.md deleted file mode 100644 index 37cd34f7215..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderSubtotalPriceAdjustmentTask -description: API reference for CalculateOrderSubtotalPriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderSubtotalPriceAdjustmentTask - -```csharp -public class CalculateOrderSubtotalPriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderSubtotalPriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderSubtotalPriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricepreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricepreviousadjustmentstask.md deleted file mode 100644 index 5a57b181ad8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricepreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderSubtotalPricePreviousAdjustmentsTask -description: API reference for CalculateOrderSubtotalPricePreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderSubtotalPricePreviousAdjustmentsTask - -```csharp -public class CalculateOrderSubtotalPricePreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderSubtotalPricePreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderSubtotalPricePreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricetotaladjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricetotaladjustmenttask.md deleted file mode 100644 index 76f369d58f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricetotaladjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderSubtotalPriceTotalAdjustmentTask -description: API reference for CalculateOrderSubtotalPriceTotalAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderSubtotalPriceTotalAdjustmentTask - -```csharp -public class CalculateOrderSubtotalPriceTotalAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderSubtotalPriceTotalAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderSubtotalPriceTotalAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricevaluetask.md deleted file mode 100644 index ba4533cc79f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderSubtotalPriceValueTask -description: API reference for CalculateOrderSubtotalPriceValueTask in Umbraco Commerce ---- -## CalculateOrderSubtotalPriceValueTask - -```csharp -public class CalculateOrderSubtotalPriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderSubtotalPriceValueTask - -The default constructor. - -```csharp -public CalculateOrderSubtotalPriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricewithoutadjustmentstask.md deleted file mode 100644 index 7c9fbdf19f0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricewithoutadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderSubtotalPriceWithoutAdjustmentsTask -description: API reference for CalculateOrderSubtotalPriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderSubtotalPriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderSubtotalPriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderSubtotalPriceWithoutAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderSubtotalPriceWithoutAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricewithpreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricewithpreviousadjustmentstask.md deleted file mode 100644 index 3df2918a267..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordersubtotalpricewithpreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask -description: API reference for CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask - -```csharp -public class CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderSubtotalPriceWithPreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertaxratestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertaxratestask.md deleted file mode 100644 index d856c18ae2c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertaxratestask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderTaxRatesTask -description: API reference for CalculateOrderTaxRatesTask in Umbraco Commerce ---- -## CalculateOrderTaxRatesTask - -```csharp -public class CalculateOrderTaxRatesTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTaxRatesTask - -The default constructor. - -```csharp -public CalculateOrderTaxRatesTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertaxratetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertaxratetask.md deleted file mode 100644 index 64c235bf4ba..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertaxratetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTaxRateTask -description: API reference for CalculateOrderTaxRateTask in Umbraco Commerce ---- -## CalculateOrderTaxRateTask - -```csharp -public class CalculateOrderTaxRateTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTaxRateTask - -The default constructor. - -```csharp -public CalculateOrderTaxRateTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpriceadjustmenttask.md deleted file mode 100644 index 0689612c121..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTotalPriceAdjustmentTask -description: API reference for CalculateOrderTotalPriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderTotalPriceAdjustmentTask - -```csharp -public class CalculateOrderTotalPriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderTotalPriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricepreviousadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricepreviousadjustmenttask.md deleted file mode 100644 index c204522ac80..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricepreviousadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTotalPricePreviousAdjustmentTask -description: API reference for CalculateOrderTotalPricePreviousAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderTotalPricePreviousAdjustmentTask - -```csharp -public class CalculateOrderTotalPricePreviousAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPricePreviousAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderTotalPricePreviousAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricetask.md deleted file mode 100644 index 756fcfa5f7e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricetask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderTotalPriceTask -description: API reference for CalculateOrderTotalPriceTask in Umbraco Commerce ---- -## CalculateOrderTotalPriceTask - -```csharp -public class CalculateOrderTotalPriceTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPriceTask - -The default constructor. - -```csharp -public CalculateOrderTotalPriceTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricetotaladjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricetotaladjustmenttask.md deleted file mode 100644 index 8ef8b7c644c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricetotaladjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTotalPriceTotalAdjustmentTask -description: API reference for CalculateOrderTotalPriceTotalAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderTotalPriceTotalAdjustmentTask - -```csharp -public class CalculateOrderTotalPriceTotalAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPriceTotalAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderTotalPriceTotalAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricevaluetask.md deleted file mode 100644 index 3fa1332897b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTotalPriceValueTask -description: API reference for CalculateOrderTotalPriceValueTask in Umbraco Commerce ---- -## CalculateOrderTotalPriceValueTask - -```csharp -public class CalculateOrderTotalPriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPriceValueTask - -The default constructor. - -```csharp -public CalculateOrderTotalPriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricewithoutadjustmentstask.md deleted file mode 100644 index 8bb95e50f74..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricewithoutadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTotalPriceWithoutAdjustmentsTask -description: API reference for CalculateOrderTotalPriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderTotalPriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderTotalPriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPriceWithoutAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderTotalPriceWithoutAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricewithpreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricewithpreviousadjustmentstask.md deleted file mode 100644 index eaae5b8c957..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotalpricewithpreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTotalPriceWithPreviousAdjustmentsTask -description: API reference for CalculateOrderTotalPriceWithPreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderTotalPriceWithPreviousAdjustmentsTask - -```csharp -public class CalculateOrderTotalPriceWithPreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalPriceWithPreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderTotalPriceWithPreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotaltransactionamounttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotaltransactionamounttask.md deleted file mode 100644 index 8c38e09d2b8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertotaltransactionamounttask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderTotalTransactionAmountTask -description: API reference for CalculateOrderTotalTransactionAmountTask in Umbraco Commerce ---- -## CalculateOrderTotalTransactionAmountTask - -```csharp -public class CalculateOrderTotalTransactionAmountTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTotalTransactionAmountTask - -The default constructor. - -```csharp -public CalculateOrderTotalTransactionAmountTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountadjustmenttask.md deleted file mode 100644 index 63204805125..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTransactionAmountAdjustmentTask -description: API reference for CalculateOrderTransactionAmountAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderTransactionAmountAdjustmentTask - -```csharp -public class CalculateOrderTransactionAmountAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTransactionAmountAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderTransactionAmountAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamounttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamounttask.md deleted file mode 100644 index 6068530c71a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamounttask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderTransactionAmountTask -description: API reference for CalculateOrderTransactionAmountTask in Umbraco Commerce ---- -## CalculateOrderTransactionAmountTask - -```csharp -public class CalculateOrderTransactionAmountTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTransactionAmountTask - -The default constructor. - -```csharp -public CalculateOrderTransactionAmountTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountvaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountvaluetask.md deleted file mode 100644 index fae60bfa67a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountvaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTransactionAmountValueTask -description: API reference for CalculateOrderTransactionAmountValueTask in Umbraco Commerce ---- -## CalculateOrderTransactionAmountValueTask - -```csharp -public class CalculateOrderTransactionAmountValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTransactionAmountValueTask - -The default constructor. - -```csharp -public CalculateOrderTransactionAmountValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountwithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountwithoutadjustmentstask.md deleted file mode 100644 index 31804e2ff57..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/calculateordertransactionamountwithoutadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderTransactionAmountWithoutAdjustmentsTask -description: API reference for CalculateOrderTransactionAmountWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderTransactionAmountWithoutAdjustmentsTask - -```csharp -public class CalculateOrderTransactionAmountWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### CalculateOrderTransactionAmountWithoutAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderTransactionAmountWithoutAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitorderadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitorderadjustmentstask.md deleted file mode 100644 index 5cf8e7b0e08..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitorderadjustmentstask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: LimitOrderAdjustmentsTask -description: API reference for LimitOrderAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderAdjustmentsTask - -```csharp -public class LimitOrderAdjustmentsTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### LimitOrderAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderAdjustmentsTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitorderpaymenttotalpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitorderpaymenttotalpriceadjustmentstask.md deleted file mode 100644 index ab6db9f96d0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitorderpaymenttotalpriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderPaymentTotalPriceAdjustmentsTask -description: API reference for LimitOrderPaymentTotalPriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderPaymentTotalPriceAdjustmentsTask - -```csharp -public class LimitOrderPaymentTotalPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### LimitOrderPaymentTotalPriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderPaymentTotalPriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordershippingtotalpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordershippingtotalpriceadjustmentstask.md deleted file mode 100644 index f808b5b21f2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordershippingtotalpriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderShippingTotalPriceAdjustmentsTask -description: API reference for LimitOrderShippingTotalPriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderShippingTotalPriceAdjustmentsTask - -```csharp -public class LimitOrderShippingTotalPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### LimitOrderShippingTotalPriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderShippingTotalPriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordersubtotalpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordersubtotalpriceadjustmentstask.md deleted file mode 100644 index de20022d09a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordersubtotalpriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderSubtotalPriceAdjustmentsTask -description: API reference for LimitOrderSubtotalPriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderSubtotalPriceAdjustmentsTask - -```csharp -public class LimitOrderSubtotalPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### LimitOrderSubtotalPriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderSubtotalPriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordertotalpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordertotalpriceadjustmentstask.md deleted file mode 100644 index 24b6ba4a521..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordertotalpriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderTotalPriceAdjustmentsTask -description: API reference for LimitOrderTotalPriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderTotalPriceAdjustmentsTask - -```csharp -public class LimitOrderTotalPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### LimitOrderTotalPriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderTotalPriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordertransactionamountadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordertransactionamountadjustmentstask.md deleted file mode 100644 index c52887d7c36..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/limitordertransactionamountadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderTransactionAmountAdjustmentsTask -description: API reference for LimitOrderTransactionAmountAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderTransactionAmountAdjustmentsTask - -```csharp -public class LimitOrderTransactionAmountAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### LimitOrderTransactionAmountAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderTransactionAmountAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/orderlinescalculationpipelinetaskbase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/orderlinescalculationpipelinetaskbase-2.md deleted file mode 100644 index 24a35a8e9e1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/orderlinescalculationpipelinetaskbase-2.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: OrderLinesCalculationPipelineTaskBase -description: API reference for OrderLinesCalculationPipelineTaskBase in Umbraco Commerce ---- -## OrderLinesCalculationPipelineTaskBase<TSelf,TOrderLinePipeline> - -```csharp -public abstract class OrderLinesCalculationPipelineTaskBase : - PipelineTaskWithTypedArgsBase - where TSelf : OrderLinesCalculationPipelineTaskBase - where TOrderLinePipeline : IEnumerable, IPipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### OrderLinesCalculationPipelineTaskBase<TSelf,TOrderLinePipeline> - -```csharp -public OrderLinesCalculationPipelineTaskBase(ILogger logger) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/resovleordercalculationdependenciestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/resovleordercalculationdependenciestask.md deleted file mode 100644 index 8f8134660be..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order-tasks/resovleordercalculationdependenciestask.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -title: ResovleOrderCalculationDependenciesTask -description: API reference for ResovleOrderCalculationDependenciesTask in Umbraco Commerce ---- -## ResovleOrderCalculationDependenciesTask - -```csharp -public class ResovleOrderCalculationDependenciesTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order.Tasks](README.md) - -### Constructors - -#### ResovleOrderCalculationDependenciesTask - -```csharp -public ResovleOrderCalculationDependenciesTask(IStoreService storeService, - ICurrencyService currencyService, ITaxService taxService, ICountryService countryService, - IPaymentMethodService paymentMethodService, IShippingMethodService shippingMethodService, - ITaxSourceFactory taxSourceFactory) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/README.md deleted file mode 100644 index f7876e8f553..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/README.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.Order -description: API reference for Umbraco.Commerce.Core.Pipelines.Order in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.Order namespace - -| Public Type | Description | -| --- | --- | -| class [CalculateOrderAdjustedPricesPipeline](calculateorderadjustedpricespipeline.md) | | -| class [CalculateOrderAdjustedTransactionAmountPipeline](calculateorderadjustedtransactionamountpipeline.md) | | -| class [CalculateOrderPipeline](calculateorderpipeline.md) | | -| class [CalculateOrderPricesPipeline](calculateorderpricespipeline.md) | | -| class [CalculateOrderTaxRatesPipeline](calculateordertaxratespipeline.md) | | -| class [CalculateOrderTotalPricePipeline](calculateordertotalpricepipeline.md) | | -| class [CalculateOrderTotalTransactionAmountPipeline](calculateordertotaltransactionamountpipeline.md) | | -| class [CalculateOrderTransactionAmountPipeline](calculateordertransactionamountpipeline.md) | | -| class [LimitOrderDiscountsPipeline](limitorderdiscountspipeline.md) | | -| class [OrderCalculationPipelineArgs](ordercalculationpipelineargs.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderadjustedpricespipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderadjustedpricespipeline.md deleted file mode 100644 index 78a6f4b727e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderadjustedpricespipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderAdjustedPricesPipeline -description: API reference for CalculateOrderAdjustedPricesPipeline in Umbraco Commerce ---- -## CalculateOrderAdjustedPricesPipeline - -```csharp -public class CalculateOrderAdjustedPricesPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderAdjustedPricesPipeline - -```csharp -public CalculateOrderAdjustedPricesPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderadjustedtransactionamountpipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderadjustedtransactionamountpipeline.md deleted file mode 100644 index f85e85f398c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderadjustedtransactionamountpipeline.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: CalculateOrderAdjustedTransactionAmountPipeline -description: API reference for CalculateOrderAdjustedTransactionAmountPipeline in Umbraco Commerce ---- -## CalculateOrderAdjustedTransactionAmountPipeline - -```csharp -public class CalculateOrderAdjustedTransactionAmountPipeline : - PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderAdjustedTransactionAmountPipeline - -```csharp -public CalculateOrderAdjustedTransactionAmountPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderpipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderpipeline.md deleted file mode 100644 index 01a06a4cc33..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderpipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CalculateOrderPipeline -description: API reference for CalculateOrderPipeline in Umbraco Commerce ---- -## CalculateOrderPipeline - -```csharp -public class CalculateOrderPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderPipeline - -```csharp -public CalculateOrderPipeline(Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderpricespipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderpricespipeline.md deleted file mode 100644 index 4058de72967..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateorderpricespipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CalculateOrderPricesPipeline -description: API reference for CalculateOrderPricesPipeline in Umbraco Commerce ---- -## CalculateOrderPricesPipeline - -```csharp -public class CalculateOrderPricesPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderPricesPipeline - -```csharp -public CalculateOrderPricesPipeline(Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertaxratespipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertaxratespipeline.md deleted file mode 100644 index 0e654632508..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertaxratespipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CalculateOrderTaxRatesPipeline -description: API reference for CalculateOrderTaxRatesPipeline in Umbraco Commerce ---- -## CalculateOrderTaxRatesPipeline - -```csharp -public class CalculateOrderTaxRatesPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderTaxRatesPipeline - -```csharp -public CalculateOrderTaxRatesPipeline(Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertotalpricepipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertotalpricepipeline.md deleted file mode 100644 index 25db6ae67a6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertotalpricepipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: CalculateOrderTotalPricePipeline -description: API reference for CalculateOrderTotalPricePipeline in Umbraco Commerce ---- -## CalculateOrderTotalPricePipeline - -```csharp -public class CalculateOrderTotalPricePipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderTotalPricePipeline - -```csharp -public CalculateOrderTotalPricePipeline(Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertotaltransactionamountpipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertotaltransactionamountpipeline.md deleted file mode 100644 index 06a003fa916..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertotaltransactionamountpipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderTotalTransactionAmountPipeline -description: API reference for CalculateOrderTotalTransactionAmountPipeline in Umbraco Commerce ---- -## CalculateOrderTotalTransactionAmountPipeline - -```csharp -public class CalculateOrderTotalTransactionAmountPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderTotalTransactionAmountPipeline - -```csharp -public CalculateOrderTotalTransactionAmountPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertransactionamountpipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertransactionamountpipeline.md deleted file mode 100644 index 01222c576b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/calculateordertransactionamountpipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderTransactionAmountPipeline -description: API reference for CalculateOrderTransactionAmountPipeline in Umbraco Commerce ---- -## CalculateOrderTransactionAmountPipeline - -```csharp -public class CalculateOrderTransactionAmountPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### CalculateOrderTransactionAmountPipeline - -```csharp -public CalculateOrderTransactionAmountPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/limitorderdiscountspipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/limitorderdiscountspipeline.md deleted file mode 100644 index fceed1e4b69..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/limitorderdiscountspipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: LimitOrderDiscountsPipeline -description: API reference for LimitOrderDiscountsPipeline in Umbraco Commerce ---- -## LimitOrderDiscountsPipeline - -```csharp -public class LimitOrderDiscountsPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### LimitOrderDiscountsPipeline - -```csharp -public LimitOrderDiscountsPipeline(Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/ordercalculationpipelineargs.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/ordercalculationpipelineargs.md deleted file mode 100644 index 504bf9657a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-order/ordercalculationpipelineargs.md +++ /dev/null @@ -1,135 +0,0 @@ ---- -title: OrderCalculationPipelineArgs -description: API reference for OrderCalculationPipelineArgs in Umbraco Commerce ---- -## OrderCalculationPipelineArgs - -```csharp -public class OrderCalculationPipelineArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineArgs<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Order](README.md) - -### Constructors - -#### OrderCalculationPipelineArgs - -```csharp -public OrderCalculationPipelineArgs(IUnitOfWork uow, OrderCalculation model, OrderReadOnly order) -``` - - -### Properties - -#### Calculation - -```csharp -public OrderCalculation Calculation { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; } -``` - - ---- - -#### PaymentCountry - -```csharp -public CountryReadOnly PaymentCountry { get; } -``` - - ---- - -#### PaymentMethod - -```csharp -public PaymentMethodReadOnly PaymentMethod { get; } -``` - - ---- - -#### PaymentRegion - -```csharp -public RegionReadOnly PaymentRegion { get; } -``` - - ---- - -#### ShippingCountry - -```csharp -public CountryReadOnly ShippingCountry { get; } -``` - - ---- - -#### ShippingMethod - -```csharp -public ShippingMethodReadOnly ShippingMethod { get; } -``` - - ---- - -#### ShippingRegion - -```csharp -public RegionReadOnly ShippingRegion { get; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; } -``` - - ---- - -#### TaxClass - -```csharp -public TaxClassReadOnly TaxClass { get; } -``` - - ---- - -#### TaxSource - -```csharp -public TaxSource TaxSource { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/README.md deleted file mode 100644 index 03242aef06c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/README.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks -description: API reference for Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks namespace - -| Public Type | Description | -| --- | --- | -| class [CalculateOrderLineAdjustedPricesTask](calculateorderlineadjustedpricestask.md) | | -| class [CalculateOrderLineBasePriceAdjustmentTask](calculateorderlinebasepriceadjustmenttask.md) | | -| class [CalculateOrderLineBasePriceValueTask](calculateorderlinebasepricevaluetask.md) | | -| class [CalculateOrderLineBasePriceWithoutAdjustmentsTask](calculateorderlinebasepricewithoutadjustmentstask.md) | | -| class [CalculateOrderLineTaxRateTask](calculateorderlinetaxratetask.md) | | -| class [CalculateOrderLineTotalPriceAdjustmentTask](calculateorderlinetotalpriceadjustmenttask.md) | | -| class [CalculateOrderLineTotalPricePreviousAdjustmentsTask](calculateorderlinetotalpricepreviousadjustmentstask.md) | | -| class [CalculateOrderLineTotalPriceTotalAdjustmentTask](calculateorderlinetotalpricetotaladjustmenttask.md) | | -| class [CalculateOrderLineTotalPriceValueTask](calculateorderlinetotalpricevaluetask.md) | | -| class [CalculateOrderLineTotalPriceWithoutAdjustmentsTask](calculateorderlinetotalpricewithoutadjustmentstask.md) | | -| class [CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask](calculateorderlinetotalpricewithpreviousadjustmentstask.md) | | -| class [CalculateOrderLineUnitPriceAdjustmentTask](calculateorderlineunitpriceadjustmenttask.md) | | -| class [CalculateOrderLineUnitPricePreviousAdjustmentsTask](calculateorderlineunitpricepreviousadjustmentstask.md) | | -| class [CalculateOrderLineUnitPriceTotalAdjustmentTask](calculateorderlineunitpricetotaladjustmenttask.md) | | -| class [CalculateOrderLineUnitPriceValueTask](calculateorderlineunitpricevaluetask.md) | | -| class [CalculateOrderLineUnitPriceWithoutAdjustmentsTask](calculateorderlineunitpricewithoutadjustmentstask.md) | | -| class [CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask](calculateorderlineunitpricewithpreviousadjustmentstask.md) | | -| class [CalculateSubOrderLineAdjustedPricesTask](calculatesuborderlineadjustedpricestask.md) | | -| class [CalculateSubOrderLinePricesTask](calculatesuborderlinepricestask.md) | | -| class [CalculateSubOrderLineTaxRatesTask](calculatesuborderlinetaxratestask.md) | | -| class [LimitOrderLineBasePriceAdjustmentsTask](limitorderlinebasepriceadjustmentstask.md) | | -| class [LimitOrderLineTotalPriceAdjustmentsTask](limitorderlinetotalpriceadjustmentstask.md) | | -| class [LimitOrderLineUnitPriceAdjustmentsTask](limitorderlineunitpriceadjustmentstask.md) | | -| class [LimitSubOrderLineAdjustmentsTask](limitsuborderlineadjustmentstask.md) | | -| class [SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline>](suborderlinescalculationpipelinebase-2.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineadjustedpricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineadjustedpricestask.md deleted file mode 100644 index 86f5ce04465..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineadjustedpricestask.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: CalculateOrderLineAdjustedPricesTask -description: API reference for CalculateOrderLineAdjustedPricesTask in Umbraco Commerce ---- -## CalculateOrderLineAdjustedPricesTask - -```csharp -public class CalculateOrderLineAdjustedPricesTask : - SubPipelineTaskBase -``` - -**Inheritance** - -* Class [SubPipelineTaskBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/subpipelinetaskbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineAdjustedPricesTask - -The default constructor. - -```csharp -public CalculateOrderLineAdjustedPricesTask() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepriceadjustmenttask.md deleted file mode 100644 index ddf6bad451c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineBasePriceAdjustmentTask -description: API reference for CalculateOrderLineBasePriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderLineBasePriceAdjustmentTask - -```csharp -public class CalculateOrderLineBasePriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineBasePriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderLineBasePriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepricevaluetask.md deleted file mode 100644 index 03b4058a116..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineBasePriceValueTask -description: API reference for CalculateOrderLineBasePriceValueTask in Umbraco Commerce ---- -## CalculateOrderLineBasePriceValueTask - -```csharp -public class CalculateOrderLineBasePriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineBasePriceValueTask - -The default constructor. - -```csharp -public CalculateOrderLineBasePriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepricewithoutadjustmentstask.md deleted file mode 100644 index 97f4b11d83d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinebasepricewithoutadjustmentstask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CalculateOrderLineBasePriceWithoutAdjustmentsTask -description: API reference for CalculateOrderLineBasePriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineBasePriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderLineBasePriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineBasePriceWithoutAdjustmentsTask - -```csharp -public CalculateOrderLineBasePriceWithoutAdjustmentsTask(IOrderLineCalculator orderLineCalculator) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetaxratetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetaxratetask.md deleted file mode 100644 index 958e8bf4a02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetaxratetask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CalculateOrderLineTaxRateTask -description: API reference for CalculateOrderLineTaxRateTask in Umbraco Commerce ---- -## CalculateOrderLineTaxRateTask - -```csharp -public class CalculateOrderLineTaxRateTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTaxRateTask - -```csharp -public CalculateOrderLineTaxRateTask(IOrderLineCalculator orderLineCalculator) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpriceadjustmenttask.md deleted file mode 100644 index 5190deceb9b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineTotalPriceAdjustmentTask -description: API reference for CalculateOrderLineTotalPriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderLineTotalPriceAdjustmentTask - -```csharp -public class CalculateOrderLineTotalPriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTotalPriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderLineTotalPriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricepreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricepreviousadjustmentstask.md deleted file mode 100644 index 5fe6c6325f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricepreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineTotalPricePreviousAdjustmentsTask -description: API reference for CalculateOrderLineTotalPricePreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineTotalPricePreviousAdjustmentsTask - -```csharp -public class CalculateOrderLineTotalPricePreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTotalPricePreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderLineTotalPricePreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricetotaladjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricetotaladjustmenttask.md deleted file mode 100644 index efe6d3394db..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricetotaladjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineTotalPriceTotalAdjustmentTask -description: API reference for CalculateOrderLineTotalPriceTotalAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderLineTotalPriceTotalAdjustmentTask - -```csharp -public class CalculateOrderLineTotalPriceTotalAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTotalPriceTotalAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderLineTotalPriceTotalAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricevaluetask.md deleted file mode 100644 index ff90ebec445..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineTotalPriceValueTask -description: API reference for CalculateOrderLineTotalPriceValueTask in Umbraco Commerce ---- -## CalculateOrderLineTotalPriceValueTask - -```csharp -public class CalculateOrderLineTotalPriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTotalPriceValueTask - -The default constructor. - -```csharp -public CalculateOrderLineTotalPriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricewithoutadjustmentstask.md deleted file mode 100644 index 5e8b8afa72c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricewithoutadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineTotalPriceWithoutAdjustmentsTask -description: API reference for CalculateOrderLineTotalPriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineTotalPriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderLineTotalPriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTotalPriceWithoutAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderLineTotalPriceWithoutAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricewithpreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricewithpreviousadjustmentstask.md deleted file mode 100644 index 949d69d0ee5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlinetotalpricewithpreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask -description: API reference for CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask - -```csharp -public class CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderLineTotalPriceWithPreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpriceadjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpriceadjustmenttask.md deleted file mode 100644 index 02798905855..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpriceadjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineUnitPriceAdjustmentTask -description: API reference for CalculateOrderLineUnitPriceAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderLineUnitPriceAdjustmentTask - -```csharp -public class CalculateOrderLineUnitPriceAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineUnitPriceAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderLineUnitPriceAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricepreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricepreviousadjustmentstask.md deleted file mode 100644 index e386070067b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricepreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineUnitPricePreviousAdjustmentsTask -description: API reference for CalculateOrderLineUnitPricePreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineUnitPricePreviousAdjustmentsTask - -```csharp -public class CalculateOrderLineUnitPricePreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineUnitPricePreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderLineUnitPricePreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricetotaladjustmenttask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricetotaladjustmenttask.md deleted file mode 100644 index fe5fbc1d4e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricetotaladjustmenttask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineUnitPriceTotalAdjustmentTask -description: API reference for CalculateOrderLineUnitPriceTotalAdjustmentTask in Umbraco Commerce ---- -## CalculateOrderLineUnitPriceTotalAdjustmentTask - -```csharp -public class CalculateOrderLineUnitPriceTotalAdjustmentTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineUnitPriceTotalAdjustmentTask - -The default constructor. - -```csharp -public CalculateOrderLineUnitPriceTotalAdjustmentTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricevaluetask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricevaluetask.md deleted file mode 100644 index d1aa6a26cd4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricevaluetask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineUnitPriceValueTask -description: API reference for CalculateOrderLineUnitPriceValueTask in Umbraco Commerce ---- -## CalculateOrderLineUnitPriceValueTask - -```csharp -public class CalculateOrderLineUnitPriceValueTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineUnitPriceValueTask - -The default constructor. - -```csharp -public CalculateOrderLineUnitPriceValueTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricewithoutadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricewithoutadjustmentstask.md deleted file mode 100644 index 547424fd5c8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricewithoutadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineUnitPriceWithoutAdjustmentsTask -description: API reference for CalculateOrderLineUnitPriceWithoutAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineUnitPriceWithoutAdjustmentsTask - -```csharp -public class CalculateOrderLineUnitPriceWithoutAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineUnitPriceWithoutAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderLineUnitPriceWithoutAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricewithpreviousadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricewithpreviousadjustmentstask.md deleted file mode 100644 index ab3dfc56479..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculateorderlineunitpricewithpreviousadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask -description: API reference for CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask in Umbraco Commerce ---- -## CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask - -```csharp -public class CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask - -The default constructor. - -```csharp -public CalculateOrderLineUnitPriceWithPreviousAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlineadjustedpricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlineadjustedpricestask.md deleted file mode 100644 index d34347f1ff5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlineadjustedpricestask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: CalculateSubOrderLineAdjustedPricesTask -description: API reference for CalculateSubOrderLineAdjustedPricesTask in Umbraco Commerce ---- -## CalculateSubOrderLineAdjustedPricesTask - -```csharp -public class CalculateSubOrderLineAdjustedPricesTask : - SubOrderLinesCalculationPipelineBase -``` - -**Inheritance** - -* Class [SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline>](suborderlinescalculationpipelinebase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateSubOrderLineAdjustedPricesTask - -```csharp -public CalculateSubOrderLineAdjustedPricesTask( - ILogger logger) -``` - - -### Methods - -#### AdditionalProcessing - -```csharp -public override void AdditionalProcessing(OrderLineCalculationPipelineArgs args, - OrderLineCalculation orderLineCalculation) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlinepricestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlinepricestask.md deleted file mode 100644 index 291b0807ee1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlinepricestask.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: CalculateSubOrderLinePricesTask -description: API reference for CalculateSubOrderLinePricesTask in Umbraco Commerce ---- -## CalculateSubOrderLinePricesTask - -```csharp -public class CalculateSubOrderLinePricesTask : - SubOrderLinesCalculationPipelineBase -``` - -**Inheritance** - -* Class [SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline>](suborderlinescalculationpipelinebase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateSubOrderLinePricesTask - -```csharp -public CalculateSubOrderLinePricesTask(ILogger logger) -``` - - -### Methods - -#### AdditionalProcessing - -```csharp -public override void AdditionalProcessing(OrderLineCalculationPipelineArgs parentPipelineArgs, - OrderLineCalculation orderLineCalculation) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlinetaxratestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlinetaxratestask.md deleted file mode 100644 index baf7b54a55c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/calculatesuborderlinetaxratestask.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateSubOrderLineTaxRatesTask -description: API reference for CalculateSubOrderLineTaxRatesTask in Umbraco Commerce ---- -## CalculateSubOrderLineTaxRatesTask - -```csharp -public class CalculateSubOrderLineTaxRatesTask : - SubOrderLinesCalculationPipelineBase -``` - -**Inheritance** - -* Class [SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline>](suborderlinescalculationpipelinebase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### CalculateSubOrderLineTaxRatesTask - -```csharp -public CalculateSubOrderLineTaxRatesTask(ILogger logger) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlinebasepriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlinebasepriceadjustmentstask.md deleted file mode 100644 index a77f67c5521..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlinebasepriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderLineBasePriceAdjustmentsTask -description: API reference for LimitOrderLineBasePriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderLineBasePriceAdjustmentsTask - -```csharp -public class LimitOrderLineBasePriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### LimitOrderLineBasePriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderLineBasePriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlinetotalpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlinetotalpriceadjustmentstask.md deleted file mode 100644 index ee8cac91ce3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlinetotalpriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderLineTotalPriceAdjustmentsTask -description: API reference for LimitOrderLineTotalPriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderLineTotalPriceAdjustmentsTask - -```csharp -public class LimitOrderLineTotalPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### LimitOrderLineTotalPriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderLineTotalPriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlineunitpriceadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlineunitpriceadjustmentstask.md deleted file mode 100644 index 365cc81dc1a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitorderlineunitpriceadjustmentstask.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: LimitOrderLineUnitPriceAdjustmentsTask -description: API reference for LimitOrderLineUnitPriceAdjustmentsTask in Umbraco Commerce ---- -## LimitOrderLineUnitPriceAdjustmentsTask - -```csharp -public class LimitOrderLineUnitPriceAdjustmentsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### LimitOrderLineUnitPriceAdjustmentsTask - -The default constructor. - -```csharp -public LimitOrderLineUnitPriceAdjustmentsTask() -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitsuborderlineadjustmentstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitsuborderlineadjustmentstask.md deleted file mode 100644 index 4dc1fe8b80b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/limitsuborderlineadjustmentstask.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: LimitSubOrderLineAdjustmentsTask -description: API reference for LimitSubOrderLineAdjustmentsTask in Umbraco Commerce ---- -## LimitSubOrderLineAdjustmentsTask - -```csharp -public class LimitSubOrderLineAdjustmentsTask : - SubOrderLinesCalculationPipelineBase -``` - -**Inheritance** - -* Class [SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline>](suborderlinescalculationpipelinebase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### LimitSubOrderLineAdjustmentsTask - -```csharp -public LimitSubOrderLineAdjustmentsTask(ILogger logger) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/suborderlinescalculationpipelinebase-2.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/suborderlinescalculationpipelinebase-2.md deleted file mode 100644 index 5b035dcf52d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline-tasks/suborderlinescalculationpipelinebase-2.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: SubOrderLinesCalculationPipelineBase -description: API reference for SubOrderLinesCalculationPipelineBase in Umbraco Commerce ---- -## SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline> - -```csharp -public class SubOrderLinesCalculationPipelineBase : - PipelineTaskWithTypedArgsBase - where TSelf : SubOrderLinesCalculationPipelineBase - where TSubOrderLinePipeline : IEnumerable, IPipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine.Tasks](README.md) - -### Constructors - -#### SubOrderLinesCalculationPipelineBase<TSelf,TSubOrderLinePipeline> - -```csharp -public SubOrderLinesCalculationPipelineBase(ILogger logger) -``` - - -### Methods - -#### AdditionalProcessing - -```csharp -public virtual void AdditionalProcessing(OrderLineCalculationPipelineArgs parentPipelineArgs, - OrderLineCalculation orderLineCalculation) -``` - - ---- - -#### Execute - -```csharp -public override PipelineResult Execute(OrderLineCalculationPipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/README.md deleted file mode 100644 index 6e5ff2e7ba0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.OrderLine -description: API reference for Umbraco.Commerce.Core.Pipelines.OrderLine in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.OrderLine namespace - -| Public Type | Description | -| --- | --- | -| class [CalculateOrderLineAdjustedPricesPipeline](calculateorderlineadjustedpricespipeline.md) | | -| class [CalculateOrderLinePricesPipeline](calculateorderlinepricespipeline.md) | | -| class [CalculateOrderLineTaxRatesPipeline](calculateorderlinetaxratespipeline.md) | | -| class [LimitOrderLineAdjustmentsPipeline](limitorderlineadjustmentspipeline.md) | | -| class [OrderLineCalculationPipelineArgs](orderlinecalculationpipelineargs.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlineadjustedpricespipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlineadjustedpricespipeline.md deleted file mode 100644 index 37cd0dc977a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlineadjustedpricespipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderLineAdjustedPricesPipeline -description: API reference for CalculateOrderLineAdjustedPricesPipeline in Umbraco Commerce ---- -## CalculateOrderLineAdjustedPricesPipeline - -```csharp -public class CalculateOrderLineAdjustedPricesPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine](README.md) - -### Constructors - -#### CalculateOrderLineAdjustedPricesPipeline - -```csharp -public CalculateOrderLineAdjustedPricesPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlinepricespipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlinepricespipeline.md deleted file mode 100644 index 3596030c4a5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlinepricespipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderLinePricesPipeline -description: API reference for CalculateOrderLinePricesPipeline in Umbraco Commerce ---- -## CalculateOrderLinePricesPipeline - -```csharp -public class CalculateOrderLinePricesPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine](README.md) - -### Constructors - -#### CalculateOrderLinePricesPipeline - -```csharp -public CalculateOrderLinePricesPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlinetaxratespipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlinetaxratespipeline.md deleted file mode 100644 index b944a2c76b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/calculateorderlinetaxratespipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: CalculateOrderLineTaxRatesPipeline -description: API reference for CalculateOrderLineTaxRatesPipeline in Umbraco Commerce ---- -## CalculateOrderLineTaxRatesPipeline - -```csharp -public class CalculateOrderLineTaxRatesPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine](README.md) - -### Constructors - -#### CalculateOrderLineTaxRatesPipeline - -```csharp -public CalculateOrderLineTaxRatesPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/limitorderlineadjustmentspipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/limitorderlineadjustmentspipeline.md deleted file mode 100644 index 2a6e331ffd7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/limitorderlineadjustmentspipeline.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: LimitOrderLineAdjustmentsPipeline -description: API reference for LimitOrderLineAdjustmentsPipeline in Umbraco Commerce ---- -## LimitOrderLineAdjustmentsPipeline - -```csharp -public class LimitOrderLineAdjustmentsPipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine](README.md) - -### Constructors - -#### LimitOrderLineAdjustmentsPipeline - -```csharp -public LimitOrderLineAdjustmentsPipeline( - Func>> tasks) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/orderlinecalculationpipelineargs.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/orderlinecalculationpipelineargs.md deleted file mode 100644 index da5a017d6f0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-orderline/orderlinecalculationpipelineargs.md +++ /dev/null @@ -1,92 +0,0 @@ ---- -title: OrderLineCalculationPipelineArgs -description: API reference for OrderLineCalculationPipelineArgs in Umbraco Commerce ---- -## OrderLineCalculationPipelineArgs - -```csharp -public class OrderLineCalculationPipelineArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineArgs<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.OrderLine](README.md) - -### Constructors - -#### OrderLineCalculationPipelineArgs - -```csharp -public OrderLineCalculationPipelineArgs(IUnitOfWork uow, OrderLineCalculation model, - StoreReadOnly store, OrderReadOnly order, OrderLineReadOnly orderLine, - CurrencyReadOnly currency, TaxSource taxSource, TaxRate fallbackTaxRate) -``` - - -### Properties - -#### Calculation - -```csharp -public OrderLineCalculation Calculation { get; } -``` - - ---- - -#### Currency - -```csharp -public CurrencyReadOnly Currency { get; set; } -``` - - ---- - -#### FallbackTaxRate - -```csharp -public TaxRate FallbackTaxRate { get; set; } -``` - - ---- - -#### Order - -```csharp -public OrderReadOnly Order { get; set; } -``` - - ---- - -#### OrderLine - -```csharp -public OrderLineReadOnly OrderLine { get; set; } -``` - - ---- - -#### Store - -```csharp -public StoreReadOnly Store { get; set; } -``` - - ---- - -#### TaxSource - -```csharp -public TaxSource TaxSource { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/README.md deleted file mode 100644 index 584fdedbd44..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/README.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.Store.Tasks -description: API reference for Umbraco.Commerce.Core.Pipelines.Store.Tasks in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.Store.Tasks namespace - -| Public Type | Description | -| --- | --- | -| class [CreateDefaultCountryTask](createdefaultcountrytask.md) | | -| class [CreateDefaultCurrencyTask](createdefaultcurrencytask.md) | | -| class [CreateDefaultEmailTemplatesTask](createdefaultemailtemplatestask.md) | | -| class [CreateDefaultExportTemplatesTask](createdefaultexporttemplatestask.md) | | -| class [CreateDefaultOrderStatusesTask](createdefaultorderstatusestask.md) | | -| class [CreateDefaultPaymentMethodTask](createdefaultpaymentmethodtask.md) | | -| class [CreateDefaultPrintTemplatesTask](createdefaultprinttemplatestask.md) | | -| class [CreateDefaultShippingMethodTask](createdefaultshippingmethodtask.md) | | -| class [CreateDefaultTaxClassTask](createdefaulttaxclasstask.md) | | -| class [SetDefaultCountryDefaultsTask](setdefaultcountrydefaultstask.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultcountrytask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultcountrytask.md deleted file mode 100644 index 2c0d2618088..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultcountrytask.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: CreateDefaultCountryTask -description: API reference for CreateDefaultCountryTask in Umbraco Commerce ---- -## CreateDefaultCountryTask - -```csharp -public class CreateDefaultCountryTask : PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultCountryTask - -```csharp -public CreateDefaultCountryTask(ICountryService countryService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultcurrencytask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultcurrencytask.md deleted file mode 100644 index 242936c3d97..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultcurrencytask.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: CreateDefaultCurrencyTask -description: API reference for CreateDefaultCurrencyTask in Umbraco Commerce ---- -## CreateDefaultCurrencyTask - -```csharp -public class CreateDefaultCurrencyTask : PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultCurrencyTask - -```csharp -public CreateDefaultCurrencyTask(ICurrencyService currencyService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultemailtemplatestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultemailtemplatestask.md deleted file mode 100644 index 2fa677e67e0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultemailtemplatestask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CreateDefaultEmailTemplatesTask -description: API reference for CreateDefaultEmailTemplatesTask in Umbraco Commerce ---- -## CreateDefaultEmailTemplatesTask - -```csharp -public class CreateDefaultEmailTemplatesTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultEmailTemplatesTask - -```csharp -public CreateDefaultEmailTemplatesTask(IEmailTemplateService emailTemplateService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultexporttemplatestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultexporttemplatestask.md deleted file mode 100644 index 2411a08d18f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultexporttemplatestask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CreateDefaultExportTemplatesTask -description: API reference for CreateDefaultExportTemplatesTask in Umbraco Commerce ---- -## CreateDefaultExportTemplatesTask - -```csharp -public class CreateDefaultExportTemplatesTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultExportTemplatesTask - -```csharp -public CreateDefaultExportTemplatesTask(IExportTemplateService exportTemplateService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultorderstatusestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultorderstatusestask.md deleted file mode 100644 index 9fe826395b0..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultorderstatusestask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CreateDefaultOrderStatusesTask -description: API reference for CreateDefaultOrderStatusesTask in Umbraco Commerce ---- -## CreateDefaultOrderStatusesTask - -```csharp -public class CreateDefaultOrderStatusesTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultOrderStatusesTask - -```csharp -public CreateDefaultOrderStatusesTask(IOrderStatusService orderStatusService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultpaymentmethodtask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultpaymentmethodtask.md deleted file mode 100644 index 27892d5dc77..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultpaymentmethodtask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CreateDefaultPaymentMethodTask -description: API reference for CreateDefaultPaymentMethodTask in Umbraco Commerce ---- -## CreateDefaultPaymentMethodTask - -```csharp -public class CreateDefaultPaymentMethodTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultPaymentMethodTask - -```csharp -public CreateDefaultPaymentMethodTask(IPaymentMethodService paymentMethodService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultprinttemplatestask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultprinttemplatestask.md deleted file mode 100644 index 1a809fb4855..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultprinttemplatestask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CreateDefaultPrintTemplatesTask -description: API reference for CreateDefaultPrintTemplatesTask in Umbraco Commerce ---- -## CreateDefaultPrintTemplatesTask - -```csharp -public class CreateDefaultPrintTemplatesTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultPrintTemplatesTask - -```csharp -public CreateDefaultPrintTemplatesTask(IPrintTemplateService printTemplateService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultshippingmethodtask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultshippingmethodtask.md deleted file mode 100644 index d01925a3938..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaultshippingmethodtask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: CreateDefaultShippingMethodTask -description: API reference for CreateDefaultShippingMethodTask in Umbraco Commerce ---- -## CreateDefaultShippingMethodTask - -```csharp -public class CreateDefaultShippingMethodTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultShippingMethodTask - -```csharp -public CreateDefaultShippingMethodTask(IShippingMethodService shippingMethodService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaulttaxclasstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaulttaxclasstask.md deleted file mode 100644 index 9b8ab7d6246..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/createdefaulttaxclasstask.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: CreateDefaultTaxClassTask -description: API reference for CreateDefaultTaxClassTask in Umbraco Commerce ---- -## CreateDefaultTaxClassTask - -```csharp -public class CreateDefaultTaxClassTask : PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### CreateDefaultTaxClassTask - -```csharp -public CreateDefaultTaxClassTask(ITaxService taxService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/setdefaultcountrydefaultstask.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/setdefaultcountrydefaultstask.md deleted file mode 100644 index 5ddd6641a37..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store-tasks/setdefaultcountrydefaultstask.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: SetDefaultCountryDefaultsTask -description: API reference for SetDefaultCountryDefaultsTask in Umbraco Commerce ---- -## SetDefaultCountryDefaultsTask - -```csharp -public class SetDefaultCountryDefaultsTask : - PipelineTaskWithTypedArgsBase -``` - -**Inheritance** - -* Class [PipelineTaskWithTypedArgsBase<!0,!1>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskwithtypedargsbase-2.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store.Tasks](README.md) - -### Constructors - -#### SetDefaultCountryDefaultsTask - -```csharp -public SetDefaultCountryDefaultsTask(ICountryService countryService) -``` - - -### Methods - -#### Execute - -```csharp -public override PipelineResult Execute(InitStorePipelineArgs args) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/README.md deleted file mode 100644 index d368e6d0e40..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Pipelines.Store -description: API reference for Umbraco.Commerce.Core.Pipelines.Store in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Pipelines.Store namespace - -| Public Type | Description | -| --- | --- | -| class [InitStorePipeline](initstorepipeline.md) | | -| class [InitStorePipelineArgs](initstorepipelineargs.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/initstorepipeline.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/initstorepipeline.md deleted file mode 100644 index a0faf76b3cb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/initstorepipeline.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: InitStorePipeline -description: API reference for InitStorePipeline in Umbraco Commerce ---- -## InitStorePipeline - -```csharp -public class InitStorePipeline : PipelineTaskCollection -``` - -**Inheritance** - -* Class [PipelineTaskCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelinetaskcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store](README.md) - -### Constructors - -#### InitStorePipeline - -```csharp -public InitStorePipeline(Func>> items) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/initstorepipelineargs.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/initstorepipelineargs.md deleted file mode 100644 index b406f7f33d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-pipelines-store/initstorepipelineargs.md +++ /dev/null @@ -1,72 +0,0 @@ ---- -title: InitStorePipelineArgs -description: API reference for InitStorePipelineArgs in Umbraco Commerce ---- -## InitStorePipelineArgs - -```csharp -public class InitStorePipelineArgs : PipelineArgs -``` - -**Inheritance** - -* Class [PipelineArgs<!0>](../../umbraco-commerce-common/umbraco-commerce-common-pipelines/pipelineargs-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Pipelines.Store](README.md) - -### Constructors - -#### InitStorePipelineArgs - -```csharp -public InitStorePipelineArgs(IUnitOfWork uow, Store data) -``` - - -### Properties - -#### DefaultCountry - -```csharp -public Country DefaultCountry { get; } -``` - - ---- - -#### DefaultCurrency - -```csharp -public Currency DefaultCurrency { get; } -``` - - ---- - -#### DefaultPaymentMethod - -```csharp -public PaymentMethod DefaultPaymentMethod { get; } -``` - - ---- - -#### DefaultShippingMethod - -```csharp -public ShippingMethod DefaultShippingMethod { get; } -``` - - ---- - -#### Store - -```csharp -public Store Store { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/README.md deleted file mode 100644 index 5a73cc5b515..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Providers -description: API reference for Umbraco.Commerce.Core.Providers in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Providers namespace - -| Public Type | Description | -| --- | --- | -| interface [IRegisteredCustomerInfoProvider](iregisteredcustomerinfoprovider.md) | | -| class [RegisteredCustomerInfoProviderCollection](registeredcustomerinfoprovidercollection.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/iregisteredcustomerinfoprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/iregisteredcustomerinfoprovider.md deleted file mode 100644 index 9f2be907f7d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/iregisteredcustomerinfoprovider.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IRegisteredCustomerInfoProvider -description: API reference for IRegisteredCustomerInfoProvider in Umbraco Commerce ---- -## IRegisteredCustomerInfoProvider - -```csharp -public interface IRegisteredCustomerInfoProvider -``` - -**Namespace** -* [Umbraco.Commerce.Core.Providers](README.md) - -### Methods - -#### GetRegisteredCustomerInfo - -```csharp -public RegisteredCustomerInfo GetRegisteredCustomerInfo(string customerReference) -``` - - ---- - -#### HasRegisteredCustomerInfo - -```csharp -public bool HasRegisteredCustomerInfo(string customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/registeredcustomerinfoprovidercollection.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/registeredcustomerinfoprovidercollection.md deleted file mode 100644 index 5fe16bf355a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-providers/registeredcustomerinfoprovidercollection.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: RegisteredCustomerInfoProviderCollection -description: API reference for RegisteredCustomerInfoProviderCollection in Umbraco Commerce ---- -## RegisteredCustomerInfoProviderCollection - -```csharp -public class RegisteredCustomerInfoProviderCollection : - ComposedCollection -``` - -**Inheritance** - -* Class [ComposedCollection<!0>](../../umbraco-commerce-common/umbraco-commerce-common-composing/composedcollection-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Providers](README.md) - -### Constructors - -#### RegisteredCustomerInfoProviderCollection - -```csharp -public RegisteredCustomerInfoProviderCollection( - Func> items) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/README.md deleted file mode 100644 index 74fa8e1f9c2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Security -description: API reference for Umbraco.Commerce.Core.Security in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Security namespace - -| Public Type | Description | -| --- | --- | -| interface [IMembershipHelper](imembershiphelper.md) | | -| interface [IUserHelper](iuserhelper.md) | | -| class [UmbracoCommerceSecurityContext](umbracocommercesecuritycontext.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/imembershiphelper.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/imembershiphelper.md deleted file mode 100644 index 1e95c1bb495..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/imembershiphelper.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IMembershipHelper -description: API reference for IMembershipHelper in Umbraco Commerce ---- -## IMembershipHelper - -```csharp -public interface IMembershipHelper -``` - -**Namespace** -* [Umbraco.Commerce.Core.Security](README.md) - -### Methods - -#### GetCurrentMemberId - -```csharp -public string GetCurrentMemberId() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/iuserhelper.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/iuserhelper.md deleted file mode 100644 index 98cdcedcb0e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/iuserhelper.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IUserHelper -description: API reference for IUserHelper in Umbraco Commerce ---- -## IUserHelper - -```csharp -public interface IUserHelper -``` - -**Namespace** -* [Umbraco.Commerce.Core.Security](README.md) - -### Methods - -#### GetCurrentUserId - -```csharp -public int GetCurrentUserId() -``` - - ---- - -#### GetUserName - -```csharp -public string GetUserName(int id) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/umbracocommercesecuritycontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/umbracocommercesecuritycontext.md deleted file mode 100644 index d7ee1f5a785..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-security/umbracocommercesecuritycontext.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceSecurityContext -description: API reference for UmbracoCommerceSecurityContext in Umbraco Commerce ---- -## UmbracoCommerceSecurityContext - -```csharp -public class UmbracoCommerceSecurityContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Security](README.md) - -### Constructors - -#### UmbracoCommerceSecurityContext - -```csharp -public UmbracoCommerceSecurityContext(Lazy hashProvider) -``` - - -### Properties - -#### HashProvider - -Gets the IHashProvider - -```csharp -public IHashProvider HashProvider { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/README.md deleted file mode 100644 index 858c4a3d290..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/README.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Services -description: API reference for Umbraco.Commerce.Core.Services in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Services namespace - -| Public Type | Description | -| --- | --- | -| class [ActivityLogService](activitylogservice.md) | | -| class [AnalyticsService](analyticsservice.md) | | -| class [CountryService](countryservice.md) | | -| class [CurrencyService](currencyservice.md) | | -| class [DiscountService](discountservice.md) | | -| class [EmailTemplateService](emailtemplateservice.md) | | -| class [EntityService](entityservice.md) | | -| class [ExportTemplateService](exporttemplateservice.md) | | -| class [GiftCardService](giftcardservice.md) | | -| interface [IActivityLogService](iactivitylogservice.md) | | -| interface [IAnalyticsService](ianalyticsservice.md) | | -| interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) | Defines a service that supports cached entities | -| interface [ICountryService](icountryservice.md) | Defines the Country service | -| interface [ICurrencyExchangeRateService](icurrencyexchangerateservice.md) | | -| interface [ICurrencyService](icurrencyservice.md) | Defines the Currency service | -| interface [IDiscountService](idiscountservice.md) | Defines the Discount service | -| interface [IEmailTemplateService](iemailtemplateservice.md) | Defines the Email Template service | -| interface [IEntityService](ientityservice.md) | | -| interface [IExportTemplateService](iexporttemplateservice.md) | Defines the Export Template service | -| interface [IGiftCardService](igiftcardservice.md) | | -| interface [IOrderFinderService](iorderfinderservice.md) | | -| interface [IOrderService](iorderservice.md) | Defines the Order service | -| interface [IOrderStatusService](iorderstatusservice.md) | Defines the Order Status service | -| interface [IPaymentMethodService](ipaymentmethodservice.md) | Defines the Payment Method service | -| interface [IPaymentProviderService](ipaymentproviderservice.md) | | -| interface [IPaymentService](ipaymentservice.md) | | -| interface [IPriceFreezerService](ipricefreezerservice.md) | Defines the Price Freezer service | -| interface [IPrintTemplateService](iprinttemplateservice.md) | Defines the Print Template service | -| interface [IProductAttributeService](iproductattributeservice.md) | Defines the Order Status service | -| interface [IProductPriceFreezerService](iproductpricefreezerservice.md) | Defines the Product Price Freezer service | -| interface [IProductService](iproductservice.md) | Defines the Product service | -| interface [IRegisteredCustomerInfoService](iregisteredcustomerinfoservice.md) | | -| interface [IService](iservice.md) | Marker interface for services | -| interface [IShippingMethodService](ishippingmethodservice.md) | Defines the Shipping Method service | -| interface [IStockService](istockservice.md) | | -| interface [IStoreAnalyticsService](istoreanalyticsservice.md) | | -| interface [IStoreService](istoreservice.md) | Define the Store service | -| interface [ITagService](itagservice.md) | | -| interface [ITaxService](itaxservice.md) | Defines the Tax service | -| interface [ITranslationService](itranslationservice.md) | Defines the Translation service | -| class [OrderService](orderservice.md) | | -| class [OrderStatusService](orderstatusservice.md) | | -| class [PaymentMethodService](paymentmethodservice.md) | | -| class [PaymentProviderService](paymentproviderservice.md) | | -| class [PaymentService](paymentservice.md) | | -| class [PriceFreezerService](pricefreezerservice.md) | | -| class [PrintTemplateService](printtemplateservice.md) | | -| class [ProductAttributeService](productattributeservice.md) | | -| class [ProductPriceFreezerService](productpricefreezerservice.md) | | -| class [ProductService](productservice.md) | | -| class [RegisteredCustomerInfoService](registeredcustomerinfoservice.md) | | -| abstract class [ServiceBase<TSelf>](servicebase-1.md) | | -| class [ShippingMethodService](shippingmethodservice.md) | | -| class [StoreService](storeservice.md) | | -| class [TagService](tagservice.md) | | -| class [TaxService](taxservice.md) | | -| class [UmbracoCommerceServiceContext](umbracocommerceservicecontext.md) | A central service context for easy access to all of Umbraco Commerce's services | -| abstract class [UmbracoCommerceStockServiceBase<TSelf>](umbracocommercestockservicebase-1.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/activitylogservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/activitylogservice.md deleted file mode 100644 index 9ea35e62cc2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/activitylogservice.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -title: ActivityLogService -description: API reference for ActivityLogService in Umbraco Commerce ---- -## ActivityLogService - -```csharp -public class ActivityLogService : IActivityLogService -``` - -**Inheritance** - -* interface [IActivityLogService](iactivitylogservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### ActivityLogService - -```csharp -public ActivityLogService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger) -``` - - -### Methods - -#### GetActivityLogs - -```csharp -public PagedResult GetActivityLogs(Guid storeId, long currentPage, - long itemsPerPage) -``` - - ---- - -#### GetActivityLogsByEntity - -```csharp -public PagedResult GetActivityLogsByEntity(Guid entityId, string entityType, - long currentPage, long itemsPerPage) -``` - - ---- - -#### LogActivity (1 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary) -``` - ---- - -#### LogActivity (2 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary, int userId) -``` - ---- - -#### LogActivity (3 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary, DateTime eventDateUtc) -``` - ---- - -#### LogActivity (4 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary, DateTime eventDateUtc, int userId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/analyticsservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/analyticsservice.md deleted file mode 100644 index d55d132d128..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/analyticsservice.md +++ /dev/null @@ -1,90 +0,0 @@ ---- -title: AnalyticsService -description: API reference for AnalyticsService in Umbraco Commerce ---- -## AnalyticsService - -```csharp -public class AnalyticsService : ServiceBase, IAnalyticsService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [IAnalyticsService](ianalyticsservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### AnalyticsService - -```csharp -public AnalyticsService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, IStoreService storeService, - IProductService productService, ICurrencyService currencyService) -``` - - -### Methods - -#### GetAverageOrderValueReport - -```csharp -public DateReportData GetAverageOrderValueReport(Guid storeId, DateTime fromUtc, - DateTime toUtc, DateTime? compareFromUtc, DateTime? compareToUtc, int localTimezoneOffset) -``` - - ---- - -#### GetCartConversionRatesReport - -```csharp -public CartConversionRatesReportData GetCartConversionRatesReport(Guid storeId, DateTime fromUtc, - DateTime toUtc, DateTime? compareFromUtc, DateTime? compareToUtc, int localTimezoneOffset) -``` - - ---- - -#### GetRepeatCustomerRatesReport - -```csharp -public RepeatCustomerRatesReportData GetRepeatCustomerRatesReport(Guid storeId, DateTime fromUtc, - DateTime toUtc, DateTime? compareFromUtc, DateTime? compareToUtc, int localTimezoneOffset) -``` - - ---- - -#### GetTopSellingProducts - -```csharp -public ProductSalesReportData GetTopSellingProducts(Guid storeId, DateTime fromUtc, DateTime toUtc, - DateTime? compareFromUtc, DateTime? compareToUtc, int localTimezoneOffset) -``` - - ---- - -#### GetTotalOrdersReport - -```csharp -public DateReportData GetTotalOrdersReport(Guid storeId, DateTime fromUtc, DateTime toUtc, - DateTime? compareFromUtc, DateTime? compareToUtc, int localTimezoneOffset) -``` - - ---- - -#### GetTotalRevenueReport - -```csharp -public DateReportData GetTotalRevenueReport(Guid storeId, DateTime fromUtc, DateTime toUtc, - DateTime? compareFromUtc, DateTime? compareToUtc, int localTimezoneOffset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/countryservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/countryservice.md deleted file mode 100644 index 695254ba102..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/countryservice.md +++ /dev/null @@ -1,213 +0,0 @@ ---- -title: CountryService -description: API reference for CountryService in Umbraco Commerce ---- -## CountryService - -```csharp -public class CountryService : ServiceBase, ICachedEntityService, - ICachedEntityService, ICountryService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [ICountryService](icountryservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### CountryService - -```csharp -public CountryService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### CountryExists - -```csharp -public bool CountryExists(Guid storeId, string code) -``` - - ---- - -#### CreateAllCountryRegions - -```csharp -public void CreateAllCountryRegions(Guid storeId, Guid defaultCurrencyId) -``` - - ---- - -#### DeleteCountry (1 of 2) - -```csharp -public void DeleteCountry(Guid id) -``` - ---- - -#### DeleteCountry (2 of 2) - -```csharp -public void DeleteCountry(Country entity) -``` - - ---- - -#### DeleteRegion (1 of 2) - -```csharp -public void DeleteRegion(Guid id) -``` - ---- - -#### DeleteRegion (2 of 2) - -```csharp -public void DeleteRegion(Region entity) -``` - - ---- - -#### GetCountries (1 of 2) - -```csharp -public IEnumerable GetCountries(Guid storeId) -``` - ---- - -#### GetCountries (2 of 2) - -```csharp -public IEnumerable GetCountries(Guid[] ids) -``` - - ---- - -#### GetCountry (1 of 2) - -```csharp -public CountryReadOnly GetCountry(Guid id) -``` - ---- - -#### GetCountry (2 of 2) - -```csharp -public CountryReadOnly GetCountry(Guid storeId, string code) -``` - - ---- - -#### GetIso3166CountryRegions - -```csharp -public IEnumerable GetIso3166CountryRegions() -``` - - ---- - -#### GetRegion (1 of 2) - -```csharp -public RegionReadOnly GetRegion(Guid id) -``` - ---- - -#### GetRegion (2 of 2) - -```csharp -public RegionReadOnly GetRegion(Guid storeId, Guid countryId, string code) -``` - - ---- - -#### GetRegions (1 of 3) - -```csharp -public IEnumerable GetRegions(Guid storeId) -``` - ---- - -#### GetRegions (2 of 3) - -```csharp -public IEnumerable GetRegions(Guid[] ids) -``` - ---- - -#### GetRegions (3 of 3) - -```csharp -public IEnumerable GetRegions(Guid storeId, Guid countryId) -``` - - ---- - -#### RegionExists - -```csharp -public bool RegionExists(Guid storeId, Guid countryId, string code) -``` - - ---- - -#### SaveCountry - -```csharp -public void SaveCountry(Country entity) -``` - - ---- - -#### SaveRegion - -```csharp -public void SaveRegion(Region entity) -``` - - ---- - -#### SortCountries - -```csharp -public void SortCountries(Guid[] sortedIds) -``` - - ---- - -#### SortRegions - -```csharp -public void SortRegions(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/currencyservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/currencyservice.md deleted file mode 100644 index 284e5fb1d91..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/currencyservice.md +++ /dev/null @@ -1,118 +0,0 @@ ---- -title: CurrencyService -description: API reference for CurrencyService in Umbraco Commerce ---- -## CurrencyService - -```csharp -public class CurrencyService : ServiceBase, - ICachedEntityService, ICurrencyService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [ICurrencyService](icurrencyservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### CurrencyService - -```csharp -public CurrencyService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### CurrencyExists - -```csharp -public bool CurrencyExists(Guid storeId, string code) -``` - - ---- - -#### DeleteCurrency (1 of 2) - -```csharp -public void DeleteCurrency(Guid id) -``` - ---- - -#### DeleteCurrency (2 of 2) - -```csharp -public void DeleteCurrency(Currency entity) -``` - - ---- - -#### GetCurrencies (1 of 2) - -```csharp -public IEnumerable GetCurrencies(Guid storeId) -``` - ---- - -#### GetCurrencies (2 of 2) - -```csharp -public IEnumerable GetCurrencies(Guid[] ids) -``` - - ---- - -#### GetCurrenciesAllowedIn - -```csharp -public IEnumerable GetCurrenciesAllowedIn(Guid countryId) -``` - - ---- - -#### GetCurrency (1 of 2) - -```csharp -public CurrencyReadOnly GetCurrency(Guid id) -``` - ---- - -#### GetCurrency (2 of 2) - -```csharp -public CurrencyReadOnly GetCurrency(Guid storeId, string code) -``` - - ---- - -#### SaveCurrency - -```csharp -public void SaveCurrency(Currency entity) -``` - - ---- - -#### SortCurrencies - -```csharp -public void SortCurrencies(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/discountservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/discountservice.md deleted file mode 100644 index d650411d99d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/discountservice.md +++ /dev/null @@ -1,183 +0,0 @@ ---- -title: DiscountService -description: API reference for DiscountService in Umbraco Commerce ---- -## DiscountService - -```csharp -public class DiscountService : ServiceBase, - ICachedEntityService, IDiscountService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IDiscountService](idiscountservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### DiscountService - -```csharp -public DiscountService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, - DiscountRuleProviderCollection discountRuleProviders, - DiscountRewardProviderCollection discountRewardProviders) -``` - - -### Methods - -#### DeleteDiscount (1 of 2) - -```csharp -public void DeleteDiscount(Guid id) -``` - ---- - -#### DeleteDiscount (2 of 2) - -```csharp -public void DeleteDiscount(Discount entity) -``` - - ---- - -#### DiscountCodeExists - -```csharp -public bool DiscountCodeExists(Guid storeId, string code) -``` - - ---- - -#### DiscountExists - -```csharp -public bool DiscountExists(Guid storeId, string alias) -``` - - ---- - -#### GetActiveDiscounts - -```csharp -public IEnumerable GetActiveDiscounts(Guid storeId) -``` - - ---- - -#### GetDiscount (1 of 2) - -```csharp -public DiscountReadOnly GetDiscount(Guid id) -``` - ---- - -#### GetDiscount (2 of 2) - -```csharp -public DiscountReadOnly GetDiscount(Guid storeId, string alias) -``` - - ---- - -#### GetDiscountByCode - -```csharp -public DiscountReadOnly GetDiscountByCode(Guid storeId, string code) -``` - - ---- - -#### GetDiscountRewardProviderDefinitions - -```csharp -public IEnumerable GetDiscountRewardProviderDefinitions() -``` - - ---- - -#### GetDiscountRewardProviderScaffold - -```csharp -public DiscountRewardProviderScaffold GetDiscountRewardProviderScaffold(string alias) -``` - - ---- - -#### GetDiscountRuleProviderDefinitions - -```csharp -public IEnumerable GetDiscountRuleProviderDefinitions() -``` - - ---- - -#### GetDiscountRuleProviderScaffold - -```csharp -public DiscountRuleProviderScaffold GetDiscountRuleProviderScaffold(string alias) -``` - - ---- - -#### GetDiscounts (1 of 2) - -```csharp -public IEnumerable GetDiscounts(Guid storeId) -``` - ---- - -#### GetDiscounts (2 of 2) - -```csharp -public IEnumerable GetDiscounts(Guid[] ids) -``` - - ---- - -#### SaveDiscount - -```csharp -public void SaveDiscount(Discount entity) -``` - - ---- - -#### SortDiscounts - -```csharp -public void SortDiscounts(Guid[] sortedIds) -``` - - ---- - -#### ValidateDiscountCode - -```csharp -public bool ValidateDiscountCode(Guid storeId, string code) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/emailtemplateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/emailtemplateservice.md deleted file mode 100644 index 8185e06c357..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/emailtemplateservice.md +++ /dev/null @@ -1,128 +0,0 @@ ---- -title: EmailTemplateService -description: API reference for EmailTemplateService in Umbraco Commerce ---- -## EmailTemplateService - -```csharp -public class EmailTemplateService : ServiceBase, - ICachedEntityService, IEmailTemplateService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IEmailTemplateService](iemailtemplateservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### EmailTemplateService - -```csharp -public EmailTemplateService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteEmailTemplate (1 of 2) - -```csharp -public void DeleteEmailTemplate(Guid id) -``` - ---- - -#### DeleteEmailTemplate (2 of 2) - -```csharp -public void DeleteEmailTemplate(EmailTemplate entity) -``` - - ---- - -#### EmailTemplateExists - -```csharp -public bool EmailTemplateExists(Guid storeId, string alias) -``` - - ---- - -#### GetEmailTemplate (1 of 2) - -```csharp -public EmailTemplateReadOnly GetEmailTemplate(Guid id) -``` - ---- - -#### GetEmailTemplate (2 of 2) - -```csharp -public EmailTemplateReadOnly GetEmailTemplate(Guid storeId, string alias) -``` - - ---- - -#### GetEmailTemplates (1 of 2) - -```csharp -public IEnumerable GetEmailTemplates(Guid storeId) -``` - ---- - -#### GetEmailTemplates (2 of 2) - -```csharp -public IEnumerable GetEmailTemplates(Guid[] ids) -``` - - ---- - -#### SaveEmailTemplate - -```csharp -public void SaveEmailTemplate(EmailTemplate entity) -``` - - ---- - -#### SendEmail - -```csharp -public bool SendEmail(EmailTemplateReadOnly emailTemplate, OrderReadOnly order) -``` - - ---- - -#### SendEmail<TModel> - -```csharp -public bool SendEmail(EmailTemplateReadOnly emailTemplate, TModel model, - string toEmailAddress, string languageIsoCode) -``` - - ---- - -#### SortEmailTemplates - -```csharp -public void SortEmailTemplates(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/entityservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/entityservice.md deleted file mode 100644 index 02aeb0cd4d3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/entityservice.md +++ /dev/null @@ -1,87 +0,0 @@ ---- -title: EntityService -description: API reference for EntityService in Umbraco Commerce ---- -## EntityService - -```csharp -public class EntityService : IEntityService -``` - -**Inheritance** - -* interface [IEntityService](ientityservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### EntityService - -```csharp -public EntityService(IStoreService storeService, IOrderStatusService orderStatusService, - IShippingMethodService shippingMethodService, IPaymentMethodService paymentMethodService, - ICountryService countryService, ICurrencyService currencyService, ITaxService taxService, - IEmailTemplateService emailTemplateService, IPrintTemplateService printTemplateService, - IExportTemplateService exportTemplateService, IDiscountService discountService, - IGiftCardService giftCardService, IProductAttributeService productAttributeService, - IOrderService orderService) -``` - - -### Methods - -#### DeleteEntity - -```csharp -public void DeleteEntity(string entityType, Guid entityId) -``` - - ---- - -#### GetEntities (1 of 2) - -```csharp -public IEnumerable GetEntities(string entityType, Guid? storeId = default(Guid?), - Guid? parentId = default(Guid?)) -``` - ---- - -#### GetEntities (2 of 2) - -```csharp -public IEnumerable GetEntities(string entityType, Guid[] entityIds) -``` - - ---- - -#### GetEntity - -```csharp -public EntityBase GetEntity(string entityType, Guid entityId) -``` - - ---- - -#### GetEntityStoreId - -```csharp -public Guid GetEntityStoreId(string entityType, Guid entityId) -``` - - ---- - -#### SortEntities - -```csharp -public void SortEntities(string entityType, Guid[] entityIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/exporttemplateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/exporttemplateservice.md deleted file mode 100644 index ae657135dda..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/exporttemplateservice.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: ExportTemplateService -description: API reference for ExportTemplateService in Umbraco Commerce ---- -## ExportTemplateService - -```csharp -public class ExportTemplateService : ServiceBase, - ICachedEntityService, IExportTemplateService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IExportTemplateService](iexporttemplateservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### ExportTemplateService - -```csharp -public ExportTemplateService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteExportTemplate (1 of 2) - -```csharp -public void DeleteExportTemplate(Guid id) -``` - ---- - -#### DeleteExportTemplate (2 of 2) - -```csharp -public void DeleteExportTemplate(ExportTemplate entity) -``` - - ---- - -#### ExportTemplateExists - -```csharp -public bool ExportTemplateExists(Guid storeId, string alias) -``` - - ---- - -#### GetExportTemplate (1 of 2) - -```csharp -public ExportTemplateReadOnly GetExportTemplate(Guid id) -``` - ---- - -#### GetExportTemplate (2 of 2) - -```csharp -public ExportTemplateReadOnly GetExportTemplate(Guid storeId, string alias) -``` - - ---- - -#### GetExportTemplates (1 of 2) - -```csharp -public IEnumerable GetExportTemplates(Guid storeId) -``` - ---- - -#### GetExportTemplates (2 of 2) - -```csharp -public IEnumerable GetExportTemplates(Guid[] ids) -``` - - ---- - -#### SaveExportTemplate - -```csharp -public void SaveExportTemplate(ExportTemplate entity) -``` - - ---- - -#### SortExportTemplates - -```csharp -public void SortExportTemplates(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/giftcardservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/giftcardservice.md deleted file mode 100644 index 2c47384f682..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/giftcardservice.md +++ /dev/null @@ -1,179 +0,0 @@ ---- -title: GiftCardService -description: API reference for GiftCardService in Umbraco Commerce ---- -## GiftCardService - -```csharp -public class GiftCardService : ServiceBase, - ICachedEntityService, IGiftCardService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IGiftCardService](igiftcardservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### GiftCardService - -```csharp -public GiftCardService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, - IGiftCardCodeGenerator giftCardCodeGenerator, - IGiftCardQuerySpecificationFactory giftCardQuerySpecificationFactory, - IGiftCardSortSpecificationFactory giftCardSortSpecificationFactory) -``` - - -### Methods - -#### DeleteGiftCard (1 of 2) - -```csharp -public void DeleteGiftCard(Guid id) -``` - ---- - -#### DeleteGiftCard (2 of 2) - -```csharp -public void DeleteGiftCard(GiftCard entity) -``` - - ---- - -#### GenerateGiftCardCode - -```csharp -public string GenerateGiftCardCode(Guid storeId) -``` - - ---- - -#### GetActiveGiftCards - -```csharp -public IEnumerable GetActiveGiftCards(Guid storeId) -``` - - ---- - -#### GetGiftCard (1 of 2) - -```csharp -public GiftCardReadOnly GetGiftCard(Guid id) -``` - ---- - -#### GetGiftCard (2 of 2) - -```csharp -public GiftCardReadOnly GetGiftCard(Guid storeId, string code) -``` - - ---- - -#### GetGiftCards (1 of 2) - -```csharp -public IEnumerable GetGiftCards(Guid storeId) -``` - ---- - -#### GetGiftCards (2 of 2) - -```csharp -public IEnumerable GetGiftCards(Guid[] ids) -``` - - ---- - -#### GetGiftCardsByOrder - -```csharp -public IEnumerable GetGiftCardsByOrder(Guid orderId) -``` - - ---- - -#### GiftCardExists - -```csharp -public bool GiftCardExists(Guid storeId, string code) -``` - - ---- - -#### SaveGiftCard - -```csharp -public void SaveGiftCard(GiftCard entity) -``` - - ---- - -#### SearchGiftCards (1 of 4) - -```csharp -public PagedResult SearchGiftCards( - Func> query, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchGiftCards (2 of 4) - -```csharp -public PagedResult SearchGiftCards( - Func> query, - Func> sort, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchGiftCards (3 of 4) - -```csharp -public PagedResult SearchGiftCards(IQuerySpecification query, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchGiftCards (4 of 4) - -```csharp -public PagedResult SearchGiftCards(IQuerySpecification query, - ISortSpecification sort, long currentPage = 1, long itemsPerPage = 50) -``` - - ---- - -#### ValidateGiftCard - -```csharp -public bool ValidateGiftCard(Guid storeId, string code, Guid currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iactivitylogservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iactivitylogservice.md deleted file mode 100644 index 3f12f9b055f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iactivitylogservice.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: IActivityLogService -description: API reference for IActivityLogService in Umbraco Commerce ---- -## IActivityLogService - -```csharp -public interface IActivityLogService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetActivityLogs - -```csharp -public PagedResult GetActivityLogs(Guid storeId, long curentPage, - long itemsPerPage) -``` - - ---- - -#### GetActivityLogsByEntity - -```csharp -public PagedResult GetActivityLogsByEntity(Guid entityId, string entityType, - long curentPage, long itemsPerPage) -``` - - ---- - -#### LogActivity (1 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary) -``` - ---- - -#### LogActivity (2 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary, int userId) -``` - ---- - -#### LogActivity (3 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary, DateTime eventDateUtc) -``` - ---- - -#### LogActivity (4 of 4) - -```csharp -public void LogActivity(Guid storeId, Guid entityId, string entityType, string entitySummary, - string eventType, string eventSummary, DateTime eventDateUtc, int userId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ianalyticsservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ianalyticsservice.md deleted file mode 100644 index 0b6d181283c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ianalyticsservice.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: IAnalyticsService -description: API reference for IAnalyticsService in Umbraco Commerce ---- -## IAnalyticsService - -```csharp -public interface IAnalyticsService : IService -``` - -**Inheritance** - -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetAverageOrderValueReport - -```csharp -public DateReportData GetAverageOrderValueReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom, DateTime? compareTo, int localTimezoneOffset) -``` - - ---- - -#### GetCartConversionRatesReport - -```csharp -public CartConversionRatesReportData GetCartConversionRatesReport(Guid storeId, DateTime from, - DateTime to, DateTime? compareFrom, DateTime? compareTo, int localTimezoneOffset) -``` - - ---- - -#### GetRepeatCustomerRatesReport - -```csharp -public RepeatCustomerRatesReportData GetRepeatCustomerRatesReport(Guid storeId, DateTime from, - DateTime to, DateTime? compareFrom, DateTime? compareTo, int localTimezoneOffset) -``` - - ---- - -#### GetTopSellingProducts - -```csharp -public ProductSalesReportData GetTopSellingProducts(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom, DateTime? compareTo, int localTimezoneOffset) -``` - - ---- - -#### GetTotalOrdersReport - -```csharp -public DateReportData GetTotalOrdersReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom, DateTime? compareTo, int localTimezoneOffset) -``` - - ---- - -#### GetTotalRevenueReport - -```csharp -public DateReportData GetTotalRevenueReport(Guid storeId, DateTime from, DateTime to, - DateTime? compareFrom, DateTime? compareTo, int localTimezoneOffset) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icachedentityservice-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icachedentityservice-1.md deleted file mode 100644 index 5f6d3ce6070..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icachedentityservice-1.md +++ /dev/null @@ -1,63 +0,0 @@ ---- -title: ICachedEntityService -description: API reference for ICachedEntityService in Umbraco Commerce ---- -## ICachedEntityService<TEntityType> - -Defines a service that supports cached entities - -```csharp -public interface ICachedEntityService - where TEntityType : EntityBase -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TEntityType | The Type of the entity | - -### Methods - -#### CheckEntityCacheIntegrity - -Checks/fixes the integrity of the entity cache - -```csharp -public EntityCacheIntegrityCheckResult CheckEntityCacheIntegrity( - EntityCacheIntegrityCheckOptions options) -``` - - ---- - -#### InvalidateEntityCache - -Invalidates the entire services entity cache - -```csharp -public void InvalidateEntityCache() -``` - - ---- - -#### InvalidateEntityCache - -Invalidates the services entity cache for a given entity - -```csharp -public void InvalidateEntityCache(Guid entityId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entityId | The ID of the entity to invalidate | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icountryservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icountryservice.md deleted file mode 100644 index 0825082f2ec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icountryservice.md +++ /dev/null @@ -1,422 +0,0 @@ ---- -title: ICountryService -description: API reference for ICountryService in Umbraco Commerce ---- -## ICountryService - -Defines the Country service - -```csharp -public interface ICountryService : ICachedEntityService, - ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### CountryExists - -Check to see if a [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given ISO Code - -```csharp -public bool CountryExists(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity belongs to | -| code | The ISO Code of the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) exists, otherwise returns `false`. - - ---- - -#### CreateAllCountryRegions - -Creates all [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) and [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities for a store based on IS03166 country list - -```csharp -public void CreateAllCountryRegions(Guid storeId, Guid defaultCurrencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity belongs to | -| defaultCurrencyId | The ID of the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) to use as the default currency | - - ---- - -#### DeleteCountry (1 of 2) - -Deletes a [`Country`](../umbraco-commerce-core-models/country.md) - -```csharp -public void DeleteCountry(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) to delete | - ---- - -#### DeleteCountry (2 of 2) - -Deletes a [`Country`](../umbraco-commerce-core-models/country.md) - -```csharp -public void DeleteCountry(Country entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Country`](../umbraco-commerce-core-models/country.md) to delete | - - ---- - -#### DeleteRegion (1 of 2) - -Deletes a [`Region`](../umbraco-commerce-core-models/region.md) - -```csharp -public void DeleteRegion(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`Region`](../umbraco-commerce-core-models/region.md) to delete | - ---- - -#### DeleteRegion (2 of 2) - -Deletes a [`Region`](../umbraco-commerce-core-models/region.md) - -```csharp -public void DeleteRegion(Region entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Region`](../umbraco-commerce-core-models/region.md) to delete | - - ---- - -#### GetCountries (1 of 2) - -Get a list of all [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetCountries(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entities belong to | - -**Returns** - -A list of [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entities - ---- - -#### GetCountries (2 of 2) - -Get a list of [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetCountries(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entities to fetch | - -**Returns** - -A list of [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entities - - ---- - -#### GetCountry (1 of 2) - -Get a [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity by ID - -```csharp -public CountryReadOnly GetCountry(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity to fetch | - -**Returns** - -A [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity - ---- - -#### GetCountry (2 of 2) - -Get a [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and ISO Code - -```csharp -public CountryReadOnly GetCountry(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity belongs to | -| code | The ISO Code of the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity to fetch | - -**Returns** - -A [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) entity - - ---- - -#### GetIso3166CountryRegions - -Get a list of [`Iso3166Country`](../umbraco-commerce-core-models/iso3166country.md) entities - -```csharp -public IEnumerable GetIso3166CountryRegions() -``` - -**Returns** - -A list of [`Iso3166Country`](../umbraco-commerce-core-models/iso3166country.md) entities - - ---- - -#### GetRegion (1 of 2) - -Get a [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity by ID - -```csharp -public RegionReadOnly GetRegion(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity to fetch | - -**Returns** - -A [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity - ---- - -#### GetRegion (2 of 2) - -Get a [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Code - -```csharp -public RegionReadOnly GetRegion(Guid storeId, Guid countryId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity belongs to | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity belongs to | -| code | The Code of the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity to fetch | - -**Returns** - -A [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity - - ---- - -#### GetRegions (1 of 3) - -Get a list of all [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetRegions(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities belong to | - -**Returns** - -A list of [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities - ---- - -#### GetRegions (2 of 3) - -Get a list of [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetRegions(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities to fetch | - -**Returns** - -A list of [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities - ---- - -#### GetRegions (3 of 3) - -Get a list of all [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) and [`Country`](../umbraco-commerce-core-models/country.md) - -```csharp -public IEnumerable GetRegions(Guid storeId, Guid countryId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities belong to | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities belong to | - -**Returns** - -A list of [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entities - - ---- - -#### RegionExists - -Check to see if a [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) / [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) with the given Code - -```csharp -public bool RegionExists(Guid storeId, Guid countryId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity belongs to | -| countryId | The ID of the [`CountryReadOnly`](../umbraco-commerce-core-models/countryreadonly.md) the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity belongs to | -| code | The Code of the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`RegionReadOnly`](../umbraco-commerce-core-models/regionreadonly.md) exists, otherwise returns `false`. - - ---- - -#### SaveCountry - -Saves a [`Country`](../umbraco-commerce-core-models/country.md) - -```csharp -public void SaveCountry(Country entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Country`](../umbraco-commerce-core-models/country.md) to save | - - ---- - -#### SaveRegion - -Saves a [`Region`](../umbraco-commerce-core-models/region.md) - -```csharp -public void SaveRegion(Region entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Region`](../umbraco-commerce-core-models/region.md) to save | - - ---- - -#### SortCountries - -Sorts a list of [`Country`](../umbraco-commerce-core-models/country.md) entities by ID according to the order of those IDs - -```csharp -public void SortCountries(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`Country`](../umbraco-commerce-core-models/country.md) entities to sort, in the order by which to sort them | - - ---- - -#### SortRegions - -Sorts a list of [`Region`](../umbraco-commerce-core-models/region.md) entities by ID according to the order of those IDs - -```csharp -public void SortRegions(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`Region`](../umbraco-commerce-core-models/region.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icurrencyexchangerateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icurrencyexchangerateservice.md deleted file mode 100644 index a4011ff5d3f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icurrencyexchangerateservice.md +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: ICurrencyExchangeRateService -description: API reference for ICurrencyExchangeRateService in Umbraco Commerce ---- -## ICurrencyExchangeRateService - -```csharp -public interface ICurrencyExchangeRateService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetExchangeRate - -Gets the exchange between the given currencies on the supplied date - -```csharp -public decimal GetExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, DateTime date) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| fromCurrencyIsoCode | The currency ISO code to exchange from | -| toCurrencyIsoCode | The currency ISO code to exchange to | -| date | The date | - -**Returns** - -The exchange rate between the two currencies for the given date - - ---- - -#### GetExchangeRates - -Gets a list of currency exchange rates from the given currency, to the list of target currencies between two dates - -```csharp -public Dictionary> GetExchangeRates(string fromCurrencyIsoCode, - string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| fromCurrencyIsoCode | The currency ISO code to exchange from | -| toCurrencyIsoCodes | The currency ISO codes to exchange to | -| dateFrom | The from date | -| dateTo | The to date | - -**Returns** - -A dictionary of dictionaries where the first dictionary is keyed by the day and the second dictionary is keyed by the target currency code - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icurrencyservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icurrencyservice.md deleted file mode 100644 index a8941b4c407..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/icurrencyservice.md +++ /dev/null @@ -1,214 +0,0 @@ ---- -title: ICurrencyService -description: API reference for ICurrencyService in Umbraco Commerce ---- -## ICurrencyService - -Defines the Currency service - -```csharp -public interface ICurrencyService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### CurrencyExists - -Check to see if a [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given ISO Code - -```csharp -public bool CurrencyExists(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity belongs to | -| code | The ISO Code of the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) exists, otherwise returns `false`. - - ---- - -#### DeleteCurrency (1 of 2) - -Deletes a [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public void DeleteCurrency(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) to delete | - ---- - -#### DeleteCurrency (2 of 2) - -Deletes a [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public void DeleteCurrency(Currency entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Currency`](../umbraco-commerce-core-models/currency.md) to delete | - - ---- - -#### GetCurrencies (1 of 2) - -Get a list of all [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetCurrencies(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities belong to | - -**Returns** - -A list of [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities - ---- - -#### GetCurrencies (2 of 2) - -Get a list of [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetCurrencies(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities to fetch | - -**Returns** - -A list of [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities - - ---- - -#### GetCurrenciesAllowedIn - -Get a list of all [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities allowed in the given [`Country`](../umbraco-commerce-core-models/country.md) - -```csharp -public IEnumerable GetCurrenciesAllowedIn(Guid countryId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity should be allowed in | - -**Returns** - -A list of [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entities - - ---- - -#### GetCurrency (1 of 2) - -Get a [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity by ID - -```csharp -public CurrencyReadOnly GetCurrency(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity to fetch | - -**Returns** - -A [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity - ---- - -#### GetCurrency (2 of 2) - -Get a [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and ISO Code - -```csharp -public CurrencyReadOnly GetCurrency(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity belongs to | -| code | The ISO Code of the [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity to fetch | - -**Returns** - -A [`CurrencyReadOnly`](../umbraco-commerce-core-models/currencyreadonly.md) entity - - ---- - -#### SaveCurrency - -Saves a [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public void SaveCurrency(Currency entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Currency`](../umbraco-commerce-core-models/currency.md) to save | - - ---- - -#### SortCurrencies - -Sorts a list of [`Currency`](../umbraco-commerce-core-models/currency.md) entities by ID according to the order of those IDs - -```csharp -public void SortCurrencies(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`Currency`](../umbraco-commerce-core-models/currency.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/idiscountservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/idiscountservice.md deleted file mode 100644 index 9bb9f1c6861..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/idiscountservice.md +++ /dev/null @@ -1,360 +0,0 @@ ---- -title: IDiscountService -description: API reference for IDiscountService in Umbraco Commerce ---- -## IDiscountService - -Defines the Discount service - -```csharp -public interface IDiscountService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteDiscount (1 of 2) - -Deletes a [`Discount`](../umbraco-commerce-core-models/discount.md) - -```csharp -public void DeleteDiscount(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`Discount`](../umbraco-commerce-core-models/discount.md) to delete | - ---- - -#### DeleteDiscount (2 of 2) - -Deletes a [`Discount`](../umbraco-commerce-core-models/discount.md) - -```csharp -public void DeleteDiscount(Discount entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Discount`](../umbraco-commerce-core-models/discount.md) to delete | - - ---- - -#### DiscountCodeExists - -Check to see if a Discount Code already exists in the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public bool DiscountCodeExists(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity belongs to | -| code | The Discount Code to check | - -**Returns** - -Returns `true` if the Discount Code exists, otherwise returns `false`. - - ---- - -#### DiscountExists - -Check to see if a [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool DiscountExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity belongs to | -| alias | The Alias of the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) exists, otherwise returns `false`. - - ---- - -#### GetActiveDiscounts - -Get a list of currently active [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetActiveDiscounts(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities belong to | - -**Returns** - -A list of [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities - -**Remarks** - -A discount is active if it's Active status is `true` and it's StartDate and ExpiryDate are either `null`, or the current UTC Date Time is between these two dates - - ---- - -#### GetDiscount (1 of 2) - -Get a [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity by ID - -```csharp -public DiscountReadOnly GetDiscount(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity to fetch | - -**Returns** - -A [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity - ---- - -#### GetDiscount (2 of 2) - -Get a [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public DiscountReadOnly GetDiscount(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity belongs to | -| alias | The Alias of the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity to fetch | - -**Returns** - -A [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity - - ---- - -#### GetDiscountByCode - -Get a [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Discount Code - -```csharp -public DiscountReadOnly GetDiscountByCode(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity belongs to | -| code | A Discount Code associated with the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity to fetch | - -**Returns** - -A [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity - - ---- - -#### GetDiscountRewardProviderDefinitions - -Get a list of [`DiscountRewardProviderDefinition`](../umbraco-commerce-core-discounts-rewards/discountrewardproviderdefinition.md) entities for all [`IDiscountRewardProvider`](../umbraco-commerce-core-discounts-rewards/idiscountrewardprovider.md) instances - -```csharp -public IEnumerable GetDiscountRewardProviderDefinitions() -``` - -**Returns** - -A list of [`DiscountRewardProviderDefinition`](../umbraco-commerce-core-discounts-rewards/discountrewardproviderdefinition.md) entities - - ---- - -#### GetDiscountRewardProviderScaffold - -Get a [`DiscountRewardProviderScaffold`](../umbraco-commerce-core-discounts-rewards/discountrewardproviderscaffold.md) by [`IDiscountRewardProvider`](../umbraco-commerce-core-discounts-rewards/idiscountrewardprovider.md) Alias - -```csharp -public DiscountRewardProviderScaffold GetDiscountRewardProviderScaffold(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The Alias of the [`IDiscountRewardProvider`](../umbraco-commerce-core-discounts-rewards/idiscountrewardprovider.md) to create a [`DiscountRewardProviderScaffold`](../umbraco-commerce-core-discounts-rewards/discountrewardproviderscaffold.md) for | - -**Returns** - -A [`DiscountRewardProviderScaffold`](../umbraco-commerce-core-discounts-rewards/discountrewardproviderscaffold.md) - - ---- - -#### GetDiscountRuleProviderDefinitions - -Get a list of [`DiscountRuleProviderDefinition`](../umbraco-commerce-core-discounts-rules/discountruleproviderdefinition.md) entities for all [`IDiscountRuleProvider`](../umbraco-commerce-core-discounts-rules/idiscountruleprovider.md) instances - -```csharp -public IEnumerable GetDiscountRuleProviderDefinitions() -``` - -**Returns** - -A list of [`DiscountRuleProviderDefinition`](../umbraco-commerce-core-discounts-rules/discountruleproviderdefinition.md) entities - - ---- - -#### GetDiscountRuleProviderScaffold - -Get a [`DiscountRuleProviderScaffold`](../umbraco-commerce-core-discounts-rules/discountruleproviderscaffold.md) by [`IDiscountRuleProvider`](../umbraco-commerce-core-discounts-rules/idiscountruleprovider.md) Alias - -```csharp -public DiscountRuleProviderScaffold GetDiscountRuleProviderScaffold(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The Alias of the [`IDiscountRuleProvider`](../umbraco-commerce-core-discounts-rules/idiscountruleprovider.md) to create a [`DiscountRuleProviderScaffold`](../umbraco-commerce-core-discounts-rules/discountruleproviderscaffold.md) for | - -**Returns** - -A [`DiscountRuleProviderScaffold`](../umbraco-commerce-core-discounts-rules/discountruleproviderscaffold.md) - - ---- - -#### GetDiscounts (1 of 2) - -Get a list of all [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetDiscounts(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities belong to | - -**Returns** - -A list of [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities - ---- - -#### GetDiscounts (2 of 2) - -Get a list of [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetDiscounts(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities to fetch | - -**Returns** - -A list of [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entities - - ---- - -#### SaveDiscount - -Saves a [`Discount`](../umbraco-commerce-core-models/discount.md) - -```csharp -public void SaveDiscount(Discount entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Discount`](../umbraco-commerce-core-models/discount.md) to save | - - ---- - -#### SortDiscounts - -Sorts a list of [`Discount`](../umbraco-commerce-core-models/discount.md) entities by ID according to the order of those IDs - -```csharp -public void SortDiscounts(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`Discount`](../umbraco-commerce-core-models/discount.md) entities to sort, in the order by which to sort them | - - ---- - -#### ValidateDiscountCode - -Check whether a Discount Code is valid - -```csharp -public bool ValidateDiscountCode(Guid storeId, string code) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`DiscountReadOnly`](../umbraco-commerce-core-models/discountreadonly.md) entity belongs to | -| code | The Discount Code to validate | - -**Returns** - -Returns `true` if the Discount Code is valid, otherwise returns `false`. - -**Remarks** - -A Discount Code is valid if it's associated Discount has an Active status of `true` and it's StartDate and ExpiryDate are either `null`, or the current UTC Date Time is between these two dates, and the given Discount Code has not yet reached it's usage limit - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iemailtemplateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iemailtemplateservice.md deleted file mode 100644 index 9db66d8580c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iemailtemplateservice.md +++ /dev/null @@ -1,241 +0,0 @@ ---- -title: IEmailTemplateService -description: API reference for IEmailTemplateService in Umbraco Commerce ---- -## IEmailTemplateService - -Defines the Email Template service - -```csharp -public interface IEmailTemplateService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteEmailTemplate (1 of 2) - -Deletes a [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) - -```csharp -public void DeleteEmailTemplate(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to delete | - ---- - -#### DeleteEmailTemplate (2 of 2) - -Deletes a [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) - -```csharp -public void DeleteEmailTemplate(EmailTemplate entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to delete | - - ---- - -#### EmailTemplateExists - -Check to see if a [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool EmailTemplateExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity belongs to | -| alias | The Alias of the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) exists, otherwise returns `false`. - - ---- - -#### GetEmailTemplate (1 of 2) - -Get a [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity by ID - -```csharp -public EmailTemplateReadOnly GetEmailTemplate(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity to fetch | - -**Returns** - -A [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity - ---- - -#### GetEmailTemplate (2 of 2) - -Get a [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public EmailTemplateReadOnly GetEmailTemplate(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity belongs to | -| alias | The Alias of the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity to fetch | - -**Returns** - -A [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entity - - ---- - -#### GetEmailTemplates (1 of 2) - -Get a list of all [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetEmailTemplates(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entities belong to | - -**Returns** - -A list of [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entities - ---- - -#### GetEmailTemplates (2 of 2) - -Get a list of [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetEmailTemplates(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entities to fetch | - -**Returns** - -A list of [`EmailTemplateReadOnly`](../umbraco-commerce-core-models/emailtemplatereadonly.md) entities - - ---- - -#### SaveEmailTemplate - -Saves a [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) - -```csharp -public void SaveEmailTemplate(EmailTemplate entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to save | - - ---- - -#### SendEmail - -Sends an email using the given [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to an [`Order`](../umbraco-commerce-core-models/order.md) customer using the [`Order`](../umbraco-commerce-core-models/order.md) as the [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) model - -```csharp -public bool SendEmail(EmailTemplateReadOnly emailTemplate, OrderReadOnly order) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| emailTemplate | The [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to send | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) to use as the [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) model and from which to access the Customer email address to send the email to | - -**Returns** - -Returns `true` if the send was successful, otherwise returns `false`. - - ---- - -#### SendEmail<TModel> - -Sends an email using the given [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to the given email address, using the given model - -```csharp -public bool SendEmail(EmailTemplateReadOnly emailTemplate, TModel model, - string toEmailAddress, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| TModel | The Type of the model for the [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) | -| emailTemplate | The [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) to send | -| model | The model instance for the [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) | -| toEmailAddress | The email address to send the email to | -| languageIsoCode | The ISO Code of the language to send the email in | - -**Returns** - -Returns `true` if the send was successful, otherwise returns `false`. - - ---- - -#### SortEmailTemplates - -Sorts a list of [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) entities by ID according to the order of those IDs - -```csharp -public void SortEmailTemplates(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`EmailTemplate`](../umbraco-commerce-core-models/emailtemplate.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ientityservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ientityservice.md deleted file mode 100644 index 27779ddb191..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ientityservice.md +++ /dev/null @@ -1,68 +0,0 @@ ---- -title: IEntityService -description: API reference for IEntityService in Umbraco Commerce ---- -## IEntityService - -```csharp -public interface IEntityService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteEntity - -```csharp -public void DeleteEntity(string entityType, Guid entityId) -``` - - ---- - -#### GetEntities (1 of 2) - -```csharp -public IEnumerable GetEntities(string entityType, Guid? storeId = default(Guid?), - Guid? parentId = default(Guid?)) -``` - ---- - -#### GetEntities (2 of 2) - -```csharp -public IEnumerable GetEntities(string entityType, Guid[] entityIds) -``` - - ---- - -#### GetEntity - -```csharp -public EntityBase GetEntity(string entityType, Guid entityId) -``` - - ---- - -#### GetEntityStoreId - -```csharp -public Guid GetEntityStoreId(string entityType, Guid entityId) -``` - - ---- - -#### SortEntities - -```csharp -public void SortEntities(string entityType, Guid[] entityIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iexporttemplateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iexporttemplateservice.md deleted file mode 100644 index dcf83ffa98c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iexporttemplateservice.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -title: IExportTemplateService -description: API reference for IExportTemplateService in Umbraco Commerce ---- -## IExportTemplateService - -Defines the Export Template service - -```csharp -public interface IExportTemplateService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteExportTemplate (1 of 2) - -Deletes a [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) - -```csharp -public void DeleteExportTemplate(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) to delete | - ---- - -#### DeleteExportTemplate (2 of 2) - -Deletes a [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) - -```csharp -public void DeleteExportTemplate(ExportTemplate entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) to delete | - - ---- - -#### ExportTemplateExists - -Check to see if a [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool ExportTemplateExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity belongs to | -| alias | The Alias of the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) exists, otherwise returns `false`. - - ---- - -#### GetExportTemplate (1 of 2) - -Get a [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity by ID - -```csharp -public ExportTemplateReadOnly GetExportTemplate(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity to fetch | - -**Returns** - -A [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity - ---- - -#### GetExportTemplate (2 of 2) - -Get a [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public ExportTemplateReadOnly GetExportTemplate(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity belongs to | -| alias | The Alias of the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity to fetch | - -**Returns** - -A [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entity - - ---- - -#### GetExportTemplates (1 of 2) - -Get a list of all [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetExportTemplates(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entities belong to | - -**Returns** - -A list of [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entities - ---- - -#### GetExportTemplates (2 of 2) - -Get a list of [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetExportTemplates(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entities to fetch | - -**Returns** - -A list of [`ExportTemplateReadOnly`](../umbraco-commerce-core-models/exporttemplatereadonly.md) entities - - ---- - -#### SaveExportTemplate - -Saves a [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) - -```csharp -public void SaveExportTemplate(ExportTemplate entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) to save | - - ---- - -#### SortExportTemplates - -Sorts a list of [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) entities by ID according to the order of those IDs - -```csharp -public void SortExportTemplates(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`ExportTemplate`](../umbraco-commerce-core-models/exporttemplate.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/igiftcardservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/igiftcardservice.md deleted file mode 100644 index 9efc3e68560..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/igiftcardservice.md +++ /dev/null @@ -1,164 +0,0 @@ ---- -title: IGiftCardService -description: API reference for IGiftCardService in Umbraco Commerce ---- -## IGiftCardService - -```csharp -public interface IGiftCardService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteGiftCard (1 of 2) - -```csharp -public void DeleteGiftCard(Guid id) -``` - ---- - -#### DeleteGiftCard (2 of 2) - -```csharp -public void DeleteGiftCard(GiftCard entity) -``` - - ---- - -#### GenerateGiftCardCode - -```csharp -public string GenerateGiftCardCode(Guid storeId) -``` - - ---- - -#### GetActiveGiftCards - -```csharp -public IEnumerable GetActiveGiftCards(Guid storeId) -``` - - ---- - -#### GetGiftCard (1 of 2) - -```csharp -public GiftCardReadOnly GetGiftCard(Guid id) -``` - ---- - -#### GetGiftCard (2 of 2) - -```csharp -public GiftCardReadOnly GetGiftCard(Guid storeId, string code) -``` - - ---- - -#### GetGiftCards (1 of 2) - -```csharp -public IEnumerable GetGiftCards(Guid storeId) -``` - ---- - -#### GetGiftCards (2 of 2) - -```csharp -public IEnumerable GetGiftCards(Guid[] ids) -``` - - ---- - -#### GetGiftCardsByOrder - -```csharp -public IEnumerable GetGiftCardsByOrder(Guid orderId) -``` - - ---- - -#### GiftCardExists - -```csharp -public bool GiftCardExists(Guid storeId, string code) -``` - - ---- - -#### SaveGiftCard - -```csharp -public void SaveGiftCard(GiftCard entity) -``` - - ---- - -#### SearchGiftCards (1 of 4) - -```csharp -public PagedResult SearchGiftCards(IQuerySpecification query, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchGiftCards (2 of 4) - -```csharp -public PagedResult SearchGiftCards(IQuerySpecification query, - ISortSpecification sort, long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchGiftCards (3 of 4) - -```csharp -public PagedResult SearchGiftCards( - Func> query, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchGiftCards (4 of 4) - -```csharp -public PagedResult SearchGiftCards( - Func> query, - Func> sort, - long currentPage = 1, long itemsPerPage = 50) -``` - - ---- - -#### ValidateGiftCard - -```csharp -public bool ValidateGiftCard(Guid storeId, string code, Guid currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderfinderservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderfinderservice.md deleted file mode 100644 index ed9ec663b27..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderfinderservice.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IOrderFinderService -description: API reference for IOrderFinderService in Umbraco Commerce ---- -## IOrderFinderService - -```csharp -public interface IOrderFinderService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### FindOrder - -Find an active order for the given customer. - -```csharp -public OrderReadOnly FindOrder(Guid storeId, string customerReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The store id associated with the order | -| customerReference | The reference of the customer to find the order of | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderservice.md deleted file mode 100644 index 4676cb02b3a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderservice.md +++ /dev/null @@ -1,357 +0,0 @@ ---- -title: IOrderService -description: API reference for IOrderService in Umbraco Commerce ---- -## IOrderService - -Defines the Order service - -```csharp -public interface IOrderService : ICachedEntityService, IOrderFinderService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IOrderFinderService](iorderfinderservice.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteOrder (1 of 4) - -Deletes a [`Order`](../umbraco-commerce-core-models/order.md) - -```csharp -public void DeleteOrder(Guid orderId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) to delete | - ---- - -#### DeleteOrder (2 of 4) - -Deletes a [`Order`](../umbraco-commerce-core-models/order.md) - -```csharp -public void DeleteOrder(Order entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Order`](../umbraco-commerce-core-models/order.md) to delete | - ---- - -#### DeleteOrder (3 of 4) - -Deletes a [`Order`](../umbraco-commerce-core-models/order.md) - -```csharp -public void DeleteOrder(Guid orderId, bool revertFinalized) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) to delete | -| revertFinalized | A boolean flag indicating whether to reverse the order finalization, undoing any stock reductions, discount code usages or gift card deductions | - ---- - -#### DeleteOrder (4 of 4) - -Deletes a [`Order`](../umbraco-commerce-core-models/order.md) - -```csharp -public void DeleteOrder(Order entity, bool revertFinalized) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Order`](../umbraco-commerce-core-models/order.md) to delete | -| revertFinalized | A boolean flag indicating whether to reverse the order finalization, undoing any stock reductions, discount code usages or gift card deductions | - - ---- - -#### GetAllOrdersForCustomer - -Gets a list of all open or finalized [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities for a given customer - -```csharp -public IEnumerable GetAllOrdersForCustomer(Guid storeId, - string customerReferenceOrEmail) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities belong to | -| customerReferenceOrEmail | The unique reference or email address of the customer associated with the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities | - -**Returns** - -A list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - - ---- - -#### GetFinalizedOrderCount - -Get the total number of finalized [`Order`](../umbraco-commerce-core-models/order.md) entities in a given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public long GetFinalizedOrderCount(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) to count from | - -**Returns** - -A count of the number of finalized [`Order`](../umbraco-commerce-core-models/order.md) entities in the given [`Store`](../umbraco-commerce-core-models/store.md) - - ---- - -#### GetFinalizedOrdersForCustomer - -Gets a list of finalized [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities for a given customer - -```csharp -public IEnumerable GetFinalizedOrdersForCustomer(Guid storeId, - string customerReferenceOrEmail) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities belong to | -| customerReferenceOrEmail | The unique reference or email address of the customer associated with the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities | - -**Returns** - -A list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - - ---- - -#### GetOpenOrdersForCustomer - -Gets a list of open [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities for a given customer - -```csharp -public IEnumerable GetOpenOrdersForCustomer(Guid storeId, - string customerReferenceOrEmail) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities belong to | -| customerReferenceOrEmail | The unique reference or email address of the customer associated with the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities | - -**Returns** - -A list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - - ---- - -#### GetOrder (1 of 2) - -Get an [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entity by ID - -```csharp -public OrderReadOnly GetOrder(Guid orderId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderId | The ID of the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entity to fetch | - -**Returns** - -An [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entity - ---- - -#### GetOrder (2 of 2) - -Get a [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and cart or order number - -```csharp -public OrderReadOnly GetOrder(Guid storeId, string cartOrOrderNumber) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entity belongs to | -| cartOrOrderNumber | The cart or order number to search for | - -**Returns** - -A [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entity - - ---- - -#### GetOrders - -Gets a list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities matching the given IDs - -```csharp -public IEnumerable GetOrders(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities to fetch | - -**Returns** - -A list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - - ---- - -#### SaveOrder - -Saves a [`Order`](../umbraco-commerce-core-models/order.md) - -```csharp -public void SaveOrder(Order entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Order`](../umbraco-commerce-core-models/order.md) to save | - - ---- - -#### SearchOrders (1 of 4) - -Search for [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - -```csharp -public PagedResult SearchOrders(IQuerySpecification query, - long currentPage = 1, long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| query | The query specification to perform | -| currentPage | The page of results of which to retrieve | -| itemsPerPage | The number of items per page to return | - -**Returns** - -A paginated list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - ---- - -#### SearchOrders (2 of 4) - -Search for [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - -```csharp -public PagedResult SearchOrders(IQuerySpecification query, - ISortSpecification sort, long currentPage = 1, long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| query | The query specification to perform | -| sort | The sort order specification describinng the sort order in which to return the results | -| currentPage | The page of results of which to retrieve | -| itemsPerPage | The number of items per page to return | - -**Returns** - -A paginated list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - ---- - -#### SearchOrders (3 of 4) - -Search for [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - -```csharp -public PagedResult SearchOrders( - Func> query, - long currentPage = 1, long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| query | The factory method to generate the query specification to perform | -| currentPage | The page of results of which to retrieve | -| itemsPerPage | The number of items per page to return | - -**Returns** - -A paginated list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - ---- - -#### SearchOrders (4 of 4) - -Search for [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - -```csharp -public PagedResult SearchOrders( - Func> query, - Func> sort, - long currentPage = 1, long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| query | The factory method to generate the query specification to perform | -| sort | The factory method to generate the sort order specification describinng the sort order in which to return the results | -| currentPage | The page of results of which to retrieve | -| itemsPerPage | The number of items per page to return | - -**Returns** - -A paginated list of [`OrderReadOnly`](../umbraco-commerce-core-models/orderreadonly.md) entities - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderstatusservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderstatusservice.md deleted file mode 100644 index d4fcd2425cb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iorderstatusservice.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -title: IOrderStatusService -description: API reference for IOrderStatusService in Umbraco Commerce ---- -## IOrderStatusService - -Defines the Order Status service - -```csharp -public interface IOrderStatusService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteOrderStatus (1 of 2) - -Deletes a [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) - -```csharp -public void DeleteOrderStatus(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) to delete | - ---- - -#### DeleteOrderStatus (2 of 2) - -Deletes a [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) - -```csharp -public void DeleteOrderStatus(OrderStatus entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) to delete | - - ---- - -#### GetOrderStatus (1 of 2) - -Get a [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity by ID - -```csharp -public OrderStatusReadOnly GetOrderStatus(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity to fetch | - -**Returns** - -A [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity - ---- - -#### GetOrderStatus (2 of 2) - -Get a [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public OrderStatusReadOnly GetOrderStatus(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity belongs to | -| alias | The Alias of the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity to fetch | - -**Returns** - -A [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity - - ---- - -#### GetOrderStatuses (1 of 2) - -Get a list of all [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetOrderStatuses(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entities belong to | - -**Returns** - -A list of [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entities - ---- - -#### GetOrderStatuses (2 of 2) - -Get a list of [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetOrderStatuses(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entities to fetch | - -**Returns** - -A list of [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entities - - ---- - -#### OrderStatusExists - -Check to see if a [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool OrderStatusExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity belongs to | -| alias | The Alias of the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`OrderStatusReadOnly`](../umbraco-commerce-core-models/orderstatusreadonly.md) exists, otherwise returns `false`. - - ---- - -#### SaveOrderStatus - -Saves a [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) - -```csharp -public void SaveOrderStatus(OrderStatus entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) to save | - - ---- - -#### SortOrderStatuses - -Sorts a list of [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) entities by ID according to the order of those IDs - -```csharp -public void SortOrderStatuses(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`OrderStatus`](../umbraco-commerce-core-models/orderstatus.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentmethodservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentmethodservice.md deleted file mode 100644 index 5539aeb58e8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentmethodservice.md +++ /dev/null @@ -1,216 +0,0 @@ ---- -title: IPaymentMethodService -description: API reference for IPaymentMethodService in Umbraco Commerce ---- -## IPaymentMethodService - -Defines the Payment Method service - -```csharp -public interface IPaymentMethodService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeletePaymentMethod (1 of 2) - -Deletes a [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) - -```csharp -public void DeletePaymentMethod(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) to delete | - ---- - -#### DeletePaymentMethod (2 of 2) - -Deletes a [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) - -```csharp -public void DeletePaymentMethod(PaymentMethod entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) to delete | - - ---- - -#### GetPaymentMethod (1 of 2) - -Get a [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity by ID - -```csharp -public PaymentMethodReadOnly GetPaymentMethod(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity to fetch | - -**Returns** - -A [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity - ---- - -#### GetPaymentMethod (2 of 2) - -Get a [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public PaymentMethodReadOnly GetPaymentMethod(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity belongs to | -| alias | The Alias of the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity to fetch | - -**Returns** - -A [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity - - ---- - -#### GetPaymentMethods (1 of 2) - -Get a list of all [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetPaymentMethods(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities belong to | - -**Returns** - -A list of [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities - ---- - -#### GetPaymentMethods (2 of 2) - -Get a list of [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetPaymentMethods(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities to fetch | - -**Returns** - -A list of [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities - - ---- - -#### GetPaymentMethodsAllowedIn - -Get a list of all [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities allowed in the given [`Country`](../umbraco-commerce-core-models/country.md) and [`Region`](../umbraco-commerce-core-models/region.md) - -```csharp -public IEnumerable GetPaymentMethodsAllowedIn(Guid countryId, - Guid? regionId = default(Guid?)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities should be allowed in | -| regionId | The ID of the [`Region`](../umbraco-commerce-core-models/region.md) the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities should be allowed in | - -**Returns** - -A list of [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entities - - ---- - -#### PaymentMethodExists - -Check to see if a [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool PaymentMethodExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity belongs to | -| alias | The Alias of the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`PaymentMethodReadOnly`](../umbraco-commerce-core-models/paymentmethodreadonly.md) exists, otherwise returns `false`. - - ---- - -#### SavePaymentMethod - -Saves a [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) - -```csharp -public void SavePaymentMethod(PaymentMethod entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) to save | - - ---- - -#### SortPaymentMethods - -Sorts a list of [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) entities by ID according to the order of those IDs - -```csharp -public void SortPaymentMethods(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`PaymentMethod`](../umbraco-commerce-core-models/paymentmethod.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentproviderservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentproviderservice.md deleted file mode 100644 index 94193a2b7cb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentproviderservice.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: IPaymentProviderService -description: API reference for IPaymentProviderService in Umbraco Commerce ---- -## IPaymentProviderService - -```csharp -public interface IPaymentProviderService : IService -``` - -**Inheritance** - -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetPaymentProvider - -```csharp -public IPaymentProvider GetPaymentProvider(string alias) -``` - - ---- - -#### GetPaymentProviderDefinitions - -```csharp -public IEnumerable GetPaymentProviderDefinitions() -``` - - ---- - -#### GetPaymentProviderScaffold - -```csharp -public PaymentProviderScaffold GetPaymentProviderScaffold(string alias) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentservice.md deleted file mode 100644 index 4e12dbb743d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipaymentservice.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: IPaymentService -description: API reference for IPaymentService in Umbraco Commerce ---- -## IPaymentService - -```csharp -public interface IPaymentService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### CancelOrderPaymentAsync - -```csharp -public Task CancelOrderPaymentAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CaptureOrderPaymentAsync - -```csharp -public Task CaptureOrderPaymentAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### FetchOrderPaymentStatusAsync - -```csharp -public Task FetchOrderPaymentStatusAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### RefundOrderPaymentAsync - -```csharp -public Task RefundOrderPaymentAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipricefreezerservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipricefreezerservice.md deleted file mode 100644 index 4fdd43605ac..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ipricefreezerservice.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: IPriceFreezerService -description: API reference for IPriceFreezerService in Umbraco Commerce ---- -## IPriceFreezerService - -Defines the Price Freezer service - -```csharp -public interface IPriceFreezerService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### FreezePrice - -Freezes the given price - -```csharp -public void FreezePrice(Guid orderId, string key, FreezablePrice price) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| key | The key to assign the frozen price to | -| price | The price to freeze | - - ---- - -#### GetFrozenPrice - -Gets a frozen prices that matches the given criteria - -```csharp -public FreezablePrice GetFrozenPrice(Guid orderId, string key, Guid currencyId, - Guid? countryId = default(Guid?), Guid? regiondId = default(Guid?)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| key | The key or partial key of the frozen price | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the frozen price | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) of the frozen price | -| regiondId | The ID of the [`Region`](../umbraco-commerce-core-models/region.md) of the frozen price | - - ---- - -#### ThawPrices - -Thaws any frozen prices that match the given criteria - -```csharp -public void ThawPrices(Guid? orderId = default(Guid?), string partialKey = null, - Guid? currencyId = default(Guid?), Guid? countryId = default(Guid?), - Guid? regiondId = default(Guid?), DateTime? olderThan = default(DateTime?)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the prices are associated with | -| partialKey | A partial key of the frozen prices | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the frozen prices | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) of the frozen prices | -| regiondId | The ID of the [`Region`](../umbraco-commerce-core-models/region.md) of the frozen price | -| olderThan | A Date representing the maximum age of the frozen prices | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iprinttemplateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iprinttemplateservice.md deleted file mode 100644 index 1937d80a2a3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iprinttemplateservice.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -title: IPrintTemplateService -description: API reference for IPrintTemplateService in Umbraco Commerce ---- -## IPrintTemplateService - -Defines the Print Template service - -```csharp -public interface IPrintTemplateService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeletePrintTemplate (1 of 2) - -Deletes a [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) - -```csharp -public void DeletePrintTemplate(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) to delete | - ---- - -#### DeletePrintTemplate (2 of 2) - -Deletes a [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) - -```csharp -public void DeletePrintTemplate(PrintTemplate entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) to delete | - - ---- - -#### GetPrintTemplate (1 of 2) - -Get a [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity by ID - -```csharp -public PrintTemplateReadOnly GetPrintTemplate(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity to fetch | - -**Returns** - -A [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity - ---- - -#### GetPrintTemplate (2 of 2) - -Get a [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public PrintTemplateReadOnly GetPrintTemplate(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity belongs to | -| alias | The Alias of the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity to fetch | - -**Returns** - -A [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity - - ---- - -#### GetPrintTemplates (1 of 2) - -Get a list of all [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetPrintTemplates(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entities belong to | - -**Returns** - -A list of [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entities - ---- - -#### GetPrintTemplates (2 of 2) - -Get a list of [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetPrintTemplates(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entities to fetch | - -**Returns** - -A list of [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entities - - ---- - -#### PrintTemplateExists - -Check to see if a [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool PrintTemplateExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity belongs to | -| alias | The Alias of the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`PrintTemplateReadOnly`](../umbraco-commerce-core-models/printtemplatereadonly.md) exists, otherwise returns `false`. - - ---- - -#### SavePrintTemplate - -Saves a [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) - -```csharp -public void SavePrintTemplate(PrintTemplate entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) to save | - - ---- - -#### SortPrintTemplates - -Sorts a list of [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) entities by ID according to the order of those IDs - -```csharp -public void SortPrintTemplates(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`PrintTemplate`](../umbraco-commerce-core-models/printtemplate.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductattributeservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductattributeservice.md deleted file mode 100644 index 6d681212519..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductattributeservice.md +++ /dev/null @@ -1,366 +0,0 @@ ---- -title: IProductAttributeService -description: API reference for IProductAttributeService in Umbraco Commerce ---- -## IProductAttributeService - -Defines the Order Status service - -```csharp -public interface IProductAttributeService : ICachedEntityService, - ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteProductAttribute (1 of 2) - -Deletes a [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) - -```csharp -public void DeleteProductAttribute(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) to delete | - ---- - -#### DeleteProductAttribute (2 of 2) - -Deletes a [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) - -```csharp -public void DeleteProductAttribute(ProductAttribute entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) to delete | - - ---- - -#### DeleteProductAttributePreset (1 of 2) - -Deletes a [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) - -```csharp -public void DeleteProductAttributePreset(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) to delete | - ---- - -#### DeleteProductAttributePreset (2 of 2) - -Deletes a [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) - -```csharp -public void DeleteProductAttributePreset(ProductAttributePreset entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) to delete | - - ---- - -#### GetProductAttribute (1 of 2) - -Get a [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity by ID - -```csharp -public ProductAttributeReadOnly GetProductAttribute(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity to fetch | - -**Returns** - -A [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity - ---- - -#### GetProductAttribute (2 of 2) - -Get a [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public ProductAttributeReadOnly GetProductAttribute(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity belongs to | -| alias | The Alias of the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity to fetch | - -**Returns** - -A [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity - - ---- - -#### GetProductAttributePreset (1 of 2) - -Get a [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity by ID - -```csharp -public ProductAttributePresetReadOnly GetProductAttributePreset(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity to fetch | - -**Returns** - -A [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity - ---- - -#### GetProductAttributePreset (2 of 2) - -Get a [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public ProductAttributePresetReadOnly GetProductAttributePreset(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity belongs to | -| alias | The Alias of the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity to fetch | - -**Returns** - -A [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity - - ---- - -#### GetProductAttributePresets (1 of 2) - -Get a list of all [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetProductAttributePresets(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entities belong to | - -**Returns** - -A list of [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entities - ---- - -#### GetProductAttributePresets (2 of 2) - -Get a list of [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetProductAttributePresets(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entities to fetch | - -**Returns** - -A list of [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entities - - ---- - -#### GetProductAttributes (1 of 2) - -Get a list of all [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetProductAttributes(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entities belong to | - -**Returns** - -A list of [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entities - ---- - -#### GetProductAttributes (2 of 2) - -Get a list of [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetProductAttributes(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entities to fetch | - -**Returns** - -A list of [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entities - - ---- - -#### ProductAttributeExists - -Check to see if a [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool ProductAttributeExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity belongs to | -| alias | The Alias of the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`ProductAttributeReadOnly`](../umbraco-commerce-core-models/productattributereadonly.md) exists, otherwise returns `false`. - - ---- - -#### ProductAttributePresetExists - -Check to see if a [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool ProductAttributePresetExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity belongs to | -| alias | The Alias of the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`ProductAttributePresetReadOnly`](../umbraco-commerce-core-models/productattributepresetreadonly.md) exists, otherwise returns `false`. - - ---- - -#### SaveProductAttribute - -Saves a [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) - -```csharp -public void SaveProductAttribute(ProductAttribute entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) to save | - - ---- - -#### SaveProductAttributePreset - -Saves a [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) - -```csharp -public void SaveProductAttributePreset(ProductAttributePreset entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) to save | - - ---- - -#### SortProductAttributePresets - -Sorts a list of [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) entities by ID according to the order of those IDs - -```csharp -public void SortProductAttributePresets(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`ProductAttributePreset`](../umbraco-commerce-core-models/productattributepreset.md) entities to sort, in the order by which to sort them | - - ---- - -#### SortProductAttributes - -Sorts a list of [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) entities by ID according to the order of those IDs - -```csharp -public void SortProductAttributes(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`ProductAttribute`](../umbraco-commerce-core-models/productattribute.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductpricefreezerservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductpricefreezerservice.md deleted file mode 100644 index 3fe8ce18854..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductpricefreezerservice.md +++ /dev/null @@ -1,301 +0,0 @@ ---- -title: IProductPriceFreezerService -description: API reference for IProductPriceFreezerService in Umbraco Commerce ---- -## IProductPriceFreezerService - -Defines the Product Price Freezer service - -```csharp -public interface IProductPriceFreezerService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### FreezeProductPrice (1 of 2) - -Freezes a products price - -```csharp -public void FreezeProductPrice(Guid storeId, Guid orderId, string productReference, - ProductPrice price) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| price | The [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) to freeze | - ---- - -#### FreezeProductPrice (2 of 2) - -Freezes a products price - -```csharp -public void FreezeProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, ProductPrice price) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| productVariantReference | The unique reference of the Product variant the price is associated with | -| price | The [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) to freeze | - - ---- - -#### GetOrCreateFrozenProductPrice (1 of 2) - -Get or creates a frozen price for a given product - -```csharp -public ProductPrice GetOrCreateFrozenProductPrice(Guid storeId, Guid orderId, - string productReference, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price | - -**Returns** - -A frozen [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) - ---- - -#### GetOrCreateFrozenProductPrice (2 of 2) - -Get or creates a frozen price for a given product - -```csharp -public ProductPrice GetOrCreateFrozenProductPrice(Guid storeId, Guid orderId, - string productReference, string productVariantReference, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| productVariantReference | The unique reference of the Product variant the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price | - -**Returns** - -A frozen [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) - - ---- - -#### GetProductPrice (1 of 4) - -Get the price of a product, either frozen if one exists, otherwise direct from the product source - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price to freeze | - -**Returns** - -A [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) - ---- - -#### GetProductPrice (2 of 4) - -Get the price of a product, either frozen if one exists, otherwise direct from the product source - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| productVariantReference | The unique reference of the Product variant the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price to freeze | - -**Returns** - -A [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) - ---- - -#### GetProductPrice (3 of 4) - -Get the price of a product, either frozen if one exists, otherwise direct from the product source - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId, out bool isFrozen) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price to freeze | -| isFrozen | Boolean indicating if the price returned is a frozen price or not | - -**Returns** - -A [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) - ---- - -#### GetProductPrice (4 of 4) - -Get the price of a product, either frozen if one exists, otherwise direct from the product source - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId, out bool isFrozen) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| productVariantReference | The unique reference of the Product variant the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price to freeze | -| isFrozen | Boolean indicating if the price returned is a frozen price or not | - -**Returns** - -A [`ProductPrice`](../umbraco-commerce-core-models/productprice.md) - - ---- - -#### HasFrozenProductPrice (1 of 2) - -Checks to see if there is a frozen product price for the given reference - -```csharp -public bool HasFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price to freeze | - -**Returns** - -True if a frozen price exists, otherwise false - ---- - -#### HasFrozenProductPrice (2 of 2) - -Checks to see if there is a frozen product price for the given reference - -```csharp -public bool HasFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| productVariantReference | The unique reference of the Product variant the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price to freeze | - -**Returns** - -True if a frozen price exists, otherwise false - - ---- - -#### ThawFrozenProductPrice (1 of 2) - -Thaws a frozen price for a given product - -```csharp -public void ThawFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price | - ---- - -#### ThawFrozenProductPrice (2 of 2) - -Thaws a frozen price for a given product - -```csharp -public void ThawFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the price is associated with | -| orderId | The ID of the [`Order`](../umbraco-commerce-core-models/order.md) the price is associated with | -| productReference | The unique reference of the Product the price is associated with | -| productVariantReference | The unique reference of the Product variant the price is associated with | -| currencyId | The ID of the [`Currency`](../umbraco-commerce-core-models/currency.md) of the price | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductservice.md deleted file mode 100644 index 4b8ab407978..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iproductservice.md +++ /dev/null @@ -1,485 +0,0 @@ ---- -title: IProductService -description: API reference for IProductService in Umbraco Commerce ---- -## IProductService - -Defines the Product service - -```csharp -public interface IProductService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetProduct (1 of 2) - -Get a [`IProductSnapshot`](../umbraco-commerce-core-models/iproductsnapshot.md) of a given product - -```csharp -public IProductSnapshot GetProduct(Guid storeId, string productReference, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product to snapshot | -| languageIsoCode | The ISO Code of the language of the snapshot to create | - -**Returns** - -An [`IProductSnapshot`](../umbraco-commerce-core-models/iproductsnapshot.md) of the given product - ---- - -#### GetProduct (2 of 2) - -Get a [`IProductSnapshot`](../umbraco-commerce-core-models/iproductsnapshot.md) of a given product - -```csharp -public IProductSnapshot GetProduct(Guid storeId, string productReference, - string productVariantReference, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product to snapshot | -| productVariantReference | The unique reference of the variant of the product to snapshot | -| languageIsoCode | The ISO Code of the language of the snapshot to create | - -**Returns** - -An [`IProductSnapshot`](../umbraco-commerce-core-models/iproductsnapshot.md) of the given product - - ---- - -#### GetProductStock (1 of 2) - -Gets the stock level of a given product - -```csharp -public decimal? GetProductStock(Guid storeId, string productReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | - -**Returns** - -The stock level of the product - ---- - -#### GetProductStock (2 of 2) - -Gets the stock level of a given product - -```csharp -public decimal? GetProductStock(Guid storeId, string productReference, - string productVariantReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to retrieve | - -**Returns** - -The stock level of the product - - ---- - -#### GetProductVariantAttributes - -Gets a list of attributes in use by the product variants of the given primary product. - -```csharp -public IEnumerable GetProductVariantAttributes(Guid storeId, string productReference, - string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store this product belongs to | -| productReference | The product reference of the product | -| languageIsoCode | The language ISO code of the culture | - - ---- - -#### IncreaseProductStock (1 of 2) - -Increases the stock level of a given product - -```csharp -public void IncreaseProductStock(Guid storeId, string productReference, decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to increase | -| increaseBy | The amount to increase the stock level by | - ---- - -#### IncreaseProductStock (2 of 2) - -Increases the stock level of a given product - -```csharp -public void IncreaseProductStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to increase | -| productVariantReference | The unique reference of variant of the product who's stock level to increase | -| increaseBy | The amount to increase the stock level by | - - ---- - -#### ReduceProductStock (1 of 2) - -Reduces the stock level of a given product - -```csharp -public void ReduceProductStock(Guid storeId, string productReference, decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to reduce | -| reduceBy | The amount to reduce the stock level by | - ---- - -#### ReduceProductStock (2 of 2) - -Reduces the stock level of a given product - -```csharp -public void ReduceProductStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to reduce | -| productVariantReference | The unique reference of the variant of the product who's stock level to reduce | -| reduceBy | The amount to reduce the stock level by | - - ---- - -#### SearchProductSummaries - -Searches for product summaries matching the given search term. - -```csharp -public PagedResult SearchProductSummaries(Guid storeId, string languageIsoCode, - string searchTerm, long currentPage = 1, long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The id of the store to search in | -| languageIsoCode | The language ISO code of the culture | -| searchTerm | The term to search for | -| currentPage | The current page of items to return | -| itemsPerPage | The number of items per page to return | - -**Returns** - -A paged collection of product summaries - - ---- - -#### SearchProductVariantSummaries - -Searches for the product variant summaries of a primary product matching the given search term / attributes. - -```csharp -public PagedResult SearchProductVariantSummaries(Guid storeId, - string productReference, string languageIsoCode, string searchTerm, - IDictionary> attributes, long currentPage = 1, - long itemsPerPage = 50) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store this product belongs to | -| productReference | The product reference of the product | -| languageIsoCode | The language ISO code of the culture | -| searchTerm | The term to search for | -| attributes | The attributes of the product variant | -| currentPage | The current page of items to return | -| itemsPerPage | The number of items per page to return | - - ---- - -#### SetProductStock (1 of 2) - -Sets the stock level of a given product - -```csharp -public void SetProductStock(Guid storeId, string productReference, decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to set | -| value | The value to set the stock level to | - ---- - -#### SetProductStock (2 of 2) - -Sets the stock level of a given product - -```csharp -public void SetProductStock(Guid storeId, string productReference, string productVariantReference, - decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to set | -| productVariantReference | The unique reference of the variant of the product who's stock level to set | -| value | The value to set the stock level to | - - ---- - -#### TryGetProductStock (1 of 2) - -Try to get the stock level of a given product - -```csharp -public bool TryGetProductStock(Guid storeId, string productReference, out decimal? stock) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| stock | The output stock level of the product | - -**Returns** - -True if the stock level was retrieved, false if not - ---- - -#### TryGetProductStock (2 of 2) - -Try to get the stock level of a given product - -```csharp -public bool TryGetProductStock(Guid storeId, string productReference, - string productVariantReference, out decimal? stock) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to retrieve | -| stock | The output stock level of the product | - -**Returns** - -True if the stock level was retrieved, false if not - - ---- - -#### TryIncreaseProductStock (1 of 2) - -Try to increase the stock level of a given product - -```csharp -public bool TryIncreaseProductStock(Guid storeId, string productReference, decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| increaseBy | The amount to increase the stock level by | - -**Returns** - -True if the stock level was increased, false if not - ---- - -#### TryIncreaseProductStock (2 of 2) - -Try to increase the stock level of a given product - -```csharp -public bool TryIncreaseProductStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of variant of the product who's stock level to increase | -| increaseBy | The amount to increase the stock level by | - -**Returns** - -True if the stock level was increased, false if not - - ---- - -#### TryReduceProductStock (1 of 2) - -Try to reduce the stock level of a given product - -```csharp -public bool TryReduceProductStock(Guid storeId, string productReference, decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| reduceBy | The amount to reduce the stock level by | - -**Returns** - -True if the stock level was reduced, false if not - ---- - -#### TryReduceProductStock (2 of 2) - -Try to reduce the stock level of a given product - -```csharp -public bool TryReduceProductStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to reduce | -| reduceBy | The amount to reduce the stock level by | - -**Returns** - -True if the stock level was reduced, false if not - - ---- - -#### TrySetProductStock (1 of 2) - -Try to set the stock level of a given product - -```csharp -public bool TrySetProductStock(Guid storeId, string productReference, decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| value | The value to set the stock level to | - -**Returns** - -True if the stock level was set, false if not - ---- - -#### TrySetProductStock (2 of 2) - -Try to set the stock level of a given product - -```csharp -public bool TrySetProductStock(Guid storeId, string productReference, - string productVariantReference, decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to set | -| value | The value to set the stock level to | - -**Returns** - -True if the stock level was set, false if not - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iregisteredcustomerinfoservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iregisteredcustomerinfoservice.md deleted file mode 100644 index 75b44e65697..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iregisteredcustomerinfoservice.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IRegisteredCustomerInfoService -description: API reference for IRegisteredCustomerInfoService in Umbraco Commerce ---- -## IRegisteredCustomerInfoService - -```csharp -public interface IRegisteredCustomerInfoService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetRegisteredCustomerInfo - -```csharp -public RegisteredCustomerInfo GetRegisteredCustomerInfo(string customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iservice.md deleted file mode 100644 index b59491cfe02..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/iservice.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: IService -description: API reference for IService in Umbraco Commerce ---- -## IService - -Marker interface for services - -```csharp -public interface IService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ishippingmethodservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ishippingmethodservice.md deleted file mode 100644 index 9abd5bad615..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/ishippingmethodservice.md +++ /dev/null @@ -1,216 +0,0 @@ ---- -title: IShippingMethodService -description: API reference for IShippingMethodService in Umbraco Commerce ---- -## IShippingMethodService - -Defines the Shipping Method service - -```csharp -public interface IShippingMethodService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteShippingMethod (1 of 2) - -Deletes a [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) - -```csharp -public void DeleteShippingMethod(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) to delete | - ---- - -#### DeleteShippingMethod (2 of 2) - -Deletes a [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) - -```csharp -public void DeleteShippingMethod(ShippingMethod entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) to delete | - - ---- - -#### GetShippingMethod (1 of 2) - -Get a [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity by ID - -```csharp -public ShippingMethodReadOnly GetShippingMethod(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity to fetch | - -**Returns** - -A [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity - ---- - -#### GetShippingMethod (2 of 2) - -Get a [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public ShippingMethodReadOnly GetShippingMethod(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity belongs to | -| alias | The Alias of the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity to fetch | - -**Returns** - -A [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity - - ---- - -#### GetShippingMethods (1 of 2) - -Get a list of all [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetShippingMethods(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities belong to | - -**Returns** - -A list of [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities - ---- - -#### GetShippingMethods (2 of 2) - -Get a list of [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetShippingMethods(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities to fetch | - -**Returns** - -A list of [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities - - ---- - -#### GetShippingMethodsAllowedIn - -Get a list of all [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities allowed in the given [`Country`](../umbraco-commerce-core-models/country.md) and [`Region`](../umbraco-commerce-core-models/region.md) - -```csharp -public IEnumerable GetShippingMethodsAllowedIn(Guid countryId, - Guid? regionId = default(Guid?)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| countryId | The ID of the [`Country`](../umbraco-commerce-core-models/country.md) the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities should be allowed in | -| regionId | The ID of the [`Region`](../umbraco-commerce-core-models/region.md) the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities should be allowed in | - -**Returns** - -A list of [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entities - - ---- - -#### SaveShippingMethod - -Saves a [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) - -```csharp -public void SaveShippingMethod(ShippingMethod entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) to save | - - ---- - -#### ShippingMethodExists - -Check to see if a [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool ShippingMethodExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity belongs to | -| alias | The Alias of the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`ShippingMethodReadOnly`](../umbraco-commerce-core-models/shippingmethodreadonly.md) exists, otherwise returns `false`. - - ---- - -#### SortShippingMethods - -Sorts a list of [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) entities by ID according to the order of those IDs - -```csharp -public void SortShippingMethods(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`ShippingMethod`](../umbraco-commerce-core-models/shippingmethod.md) entities to sort, in the order by which to sort them | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istockservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istockservice.md deleted file mode 100644 index 4d8d4109309..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istockservice.md +++ /dev/null @@ -1,394 +0,0 @@ ---- -title: IStockService -description: API reference for IStockService in Umbraco Commerce ---- -## IStockService - -```csharp -public interface IStockService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetStock (1 of 2) - -Gets the stock level of a given product - -```csharp -public decimal? GetStock(Guid storeId, string productReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | - -**Returns** - -The stock level of the product - ---- - -#### GetStock (2 of 2) - -Gets the stock level of a given product - -```csharp -public decimal? GetStock(Guid storeId, string productReference, string productVariantReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to retrieve | - -**Returns** - -The stock level of the product - - ---- - -#### IncreaseStock (1 of 2) - -Increases the stock level of a given product - -```csharp -public void IncreaseStock(Guid storeId, string productReference, decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to increase | -| increaseBy | The amount to increase the stock level by | - ---- - -#### IncreaseStock (2 of 2) - -Increases the stock level of a given product - -```csharp -public void IncreaseStock(Guid storeId, string productReference, string productVariantReference, - decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to increase | -| productVariantReference | The unique reference of variant of the product who's stock level to increase | -| increaseBy | The amount to increase the stock level by | - - ---- - -#### InvalidateStockCache - -Invalidate the whole stock cache - -```csharp -public void InvalidateStockCache() -``` - - ---- - -#### InvalidateStockCache - -Invalidates the stock cache for the given product / product variant - -```csharp -public void InvalidateStockCache(Guid storeId, string productReference, - string productVariantReference) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to increase | -| productVariantReference | The unique reference of variant of the product who's stock level to increase | - - ---- - -#### ReduceStock (1 of 2) - -Reduces the stock level of a given product - -```csharp -public void ReduceStock(Guid storeId, string productReference, decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to reduce | -| reduceBy | The amount to reduce the stock level by | - ---- - -#### ReduceStock (2 of 2) - -Reduces the stock level of a given product - -```csharp -public void ReduceStock(Guid storeId, string productReference, string productVariantReference, - decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to reduce | -| productVariantReference | The unique reference of the variant of the product who's stock level to reduce | -| reduceBy | The amount to reduce the stock level by | - - ---- - -#### SetStock (1 of 2) - -Sets the stock level of a given product - -```csharp -public void SetStock(Guid storeId, string productReference, decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to set | -| value | The value to set the stock level to | - ---- - -#### SetStock (2 of 2) - -Sets the stock level of a given product - -```csharp -public void SetStock(Guid storeId, string productReference, string productVariantReference, - decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to set | -| productVariantReference | The unique reference of the variant of the product who's stock level to set | -| value | The value to set the stock level to | - - ---- - -#### TryGetStock (1 of 2) - -Trys to get the stock level of a given product - -```csharp -public bool TryGetStock(Guid storeId, string productReference, out decimal? stock) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| stock | The stock level of the product | - -**Returns** - -True if the stock level was retrieved, false if not - ---- - -#### TryGetStock (2 of 2) - -Trys to get the stock level of a given product - -```csharp -public bool TryGetStock(Guid storeId, string productReference, string productVariantReference, - out decimal? stock) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to retrieve | -| stock | The stock level of the product | - -**Returns** - -True if the stock level was retrieved, false if not - - ---- - -#### TryIncreaseStock (1 of 2) - -Trys to increase the stock level of a given product - -```csharp -public bool TryIncreaseStock(Guid storeId, string productReference, decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| increaseBy | The amount to increase the stock level by | - -**Returns** - -True if the stock level was increased, false if not - ---- - -#### TryIncreaseStock (2 of 2) - -Trys to increase the stock level of a given product - -```csharp -public bool TryIncreaseStock(Guid storeId, string productReference, string productVariantReference, - decimal increaseBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of variant of the product who's stock level to increase | -| increaseBy | The amount to increase the stock level by | - -**Returns** - -True if the stock level was increased, false if not - - ---- - -#### TryReduceStock (1 of 2) - -Trys to reduce the stock level of a given product - -```csharp -public bool TryReduceStock(Guid storeId, string productReference, decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| reduceBy | The amount to reduce the stock level by | - -**Returns** - -True if the stock level was reduced, false if not - ---- - -#### TryReduceStock (2 of 2) - -Trys to reduce the stock level of a given product - -```csharp -public bool TryReduceStock(Guid storeId, string productReference, string productVariantReference, - decimal reduceBy) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to reduce | -| reduceBy | The amount to reduce the stock level by | - -**Returns** - -True if the stock level was reduced, false if not - - ---- - -#### TrySetStock (1 of 2) - -Trys to set the stock level of a given product - -```csharp -public bool TrySetStock(Guid storeId, string productReference, decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| value | The value to set the stock level to | - -**Returns** - -True if the stock level was set, false if not - ---- - -#### TrySetStock (2 of 2) - -Trys to set the stock level of a given product - -```csharp -public bool TrySetStock(Guid storeId, string productReference, string productVariantReference, - decimal value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the product belongs to | -| productReference | The unique reference of the product who's stock level to retrieve | -| productVariantReference | The unique reference of the variant of the product who's stock level to set | -| value | The value to set the stock level to | - -**Returns** - -True if the stock level was set, false if not - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istoreanalyticsservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istoreanalyticsservice.md deleted file mode 100644 index e2d3fc5d3dd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istoreanalyticsservice.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IStoreAnalyticsService -description: API reference for IStoreAnalyticsService in Umbraco Commerce ---- -## IStoreAnalyticsService - -```csharp -public interface IStoreAnalyticsService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetStoreStatsForDateRange - -```csharp -public StoreStats GetStoreStatsForDateRange(Guid storeId, DateTime fromUtc, DateTime toUtc) -``` - - ---- - -#### GetStoreSummariesFor - -```csharp -public IEnumerable GetStoreSummariesFor(string userId, string[] roles) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istoreservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istoreservice.md deleted file mode 100644 index 4e6aec7110b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/istoreservice.md +++ /dev/null @@ -1,186 +0,0 @@ ---- -title: IStoreService -description: API reference for IStoreService in Umbraco Commerce ---- -## IStoreService - -Define the Store service - -```csharp -public interface IStoreService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteStore (1 of 2) - -Deletes an [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public void DeleteStore(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) to delete | - ---- - -#### DeleteStore (2 of 2) - -Deletes an [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public void DeleteStore(Store entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Store`](../umbraco-commerce-core-models/store.md) to delete | - - ---- - -#### GetStore (1 of 2) - -Get an [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity by ID - -```csharp -public StoreReadOnly GetStore(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity to fetch | - -**Returns** - -An [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity - ---- - -#### GetStore (2 of 2) - -Get an [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity by Alias - -```csharp -public StoreReadOnly GetStore(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The Alias of the [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity to fetch | - -**Returns** - -An [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity - - ---- - -#### GetStores - -Get a list of all [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entities - -```csharp -public IEnumerable GetStores() -``` - -**Returns** - -A list of [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entities - - ---- - -#### GetStores - -Get a list of [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetStores(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entities to fetch | - -**Returns** - -A list of [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entities - - ---- - -#### SaveStore - -Saves an [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public void SaveStore(Store entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`Store`](../umbraco-commerce-core-models/store.md) to save | - - ---- - -#### SortStores - -Sorts a list of [`Store`](../umbraco-commerce-core-models/store.md) entities by ID according to the order of those IDs - -```csharp -public void SortStores(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`Store`](../umbraco-commerce-core-models/store.md) entities to sort, in the order by which to sort them | - - ---- - -#### StoreExists - -Check to see if a [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) exists with the given Alias - -```csharp -public bool StoreExists(string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| alias | The Alias of the [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`StoreReadOnly`](../umbraco-commerce-core-models/storereadonly.md) exists, otherwise returns `false`. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itagservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itagservice.md deleted file mode 100644 index 556e3e47655..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itagservice.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -title: ITagService -description: API reference for ITagService in Umbraco Commerce ---- -## ITagService - -```csharp -public interface ITagService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### GetEntityTags - -Get a list of all the tags for a given entity - -```csharp -public IEnumerable GetEntityTags(Guid storeId, Guid entityId, string startsWith = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the tags belong to | -| entityId | The ID of the entity the tags belong to | -| startsWith | A string to use to find results that start with a given query | - -**Returns** - -A list of tags - - ---- - -#### GetTags - -Get a list of all tags for a given store - -```csharp -public IEnumerable GetTags(Guid storeId, string startsWith = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the tags belong to | -| startsWith | A string to use to find results that start with a given query | - -**Returns** - -A list of tags - - ---- - -#### GetTagsByEntityType - -Get a list of all tags for a given store / entity type - -```csharp -public IEnumerable GetTagsByEntityType(Guid storeId, string entityType, - string startsWith = null) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the store the tags belong to | -| entityType | The type of the entity | -| startsWith | A string to use to find results that start with a given query | - -**Returns** - -A list of tags - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itaxservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itaxservice.md deleted file mode 100644 index 27f81ee2e2e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itaxservice.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -title: ITaxService -description: API reference for ITaxService in Umbraco Commerce ---- -## ITaxService - -Defines the Tax service - -```csharp -public interface ITaxService : ICachedEntityService, IService -``` - -**Inheritance** - -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IService](iservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### DeleteTaxClass (1 of 2) - -Deletes a [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) - -```csharp -public void DeleteTaxClass(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) to delete | - ---- - -#### DeleteTaxClass (2 of 2) - -Deletes a [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) - -```csharp -public void DeleteTaxClass(TaxClass entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) to delete | - - ---- - -#### GetTaxClass (1 of 2) - -Get a [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity by ID - -```csharp -public TaxClassReadOnly GetTaxClass(Guid id) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| id | The ID of the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity to fetch | - -**Returns** - -A [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity - ---- - -#### GetTaxClass (2 of 2) - -Get a [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity by [`Store`](../umbraco-commerce-core-models/store.md) and Alias - -```csharp -public TaxClassReadOnly GetTaxClass(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity belongs to | -| alias | The Alias of the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity to fetch | - -**Returns** - -A [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity - - ---- - -#### GetTaxClasses (1 of 2) - -Get a list of all [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entities from the given [`Store`](../umbraco-commerce-core-models/store.md) - -```csharp -public IEnumerable GetTaxClasses(Guid storeId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entities belong to | - -**Returns** - -A list of [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entities - ---- - -#### GetTaxClasses (2 of 2) - -Get a list of [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entities with the given IDs - -```csharp -public IEnumerable GetTaxClasses(Guid[] ids) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| ids | The IDs of the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entities to fetch | - -**Returns** - -A list of [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entities - - ---- - -#### SaveTaxClass - -Saves a [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) - -```csharp -public void SaveTaxClass(TaxClass entity) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| entity | The [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) to save | - - ---- - -#### SortTaxClasses - -Sorts a list of [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) entities by ID according to the order of those IDs - -```csharp -public void SortTaxClasses(Guid[] sortedIds) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| sortedIds | The IDs of the [`TaxClass`](../umbraco-commerce-core-models/taxclass.md) entities to sort, in the order by which to sort them | - - ---- - -#### TaxClassExists - -Check to see if a [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) exists in the given [`Store`](../umbraco-commerce-core-models/store.md) with the given Alias - -```csharp -public bool TaxClassExists(Guid storeId, string alias) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| storeId | The ID of the [`Store`](../umbraco-commerce-core-models/store.md) the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity belongs to | -| alias | The Alias of the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) entity to check | - -**Returns** - -Returns `true` if the [`TaxClassReadOnly`](../umbraco-commerce-core-models/taxclassreadonly.md) exists, otherwise returns `false`. - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itranslationservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itranslationservice.md deleted file mode 100644 index 6b4c0ae94fe..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/itranslationservice.md +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: ITranslationService -description: API reference for ITranslationService in Umbraco Commerce ---- -## ITranslationService - -Defines the Translation service - -```csharp -public interface ITranslationService -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Methods - -#### TranslateValue (1 of 2) - -Translates a value to the given language - -```csharp -public object TranslateValue(object value, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value to attempt to translate | -| languageIsoCode | The ISO Code of the language to attempt to translate to | - -**Returns** - -The translated value, or the original value if a translation was unsuccessful - ---- - -#### TranslateValue (2 of 2) - -Translates a value to the given language - -```csharp -public object TranslateValue(object value, string languageIsoCode, out string usedLanguageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The value to attempt to translate | -| languageIsoCode | The ISO Code of the language to attempt to translate to | -| usedLanguageIsoCode | The ISO Code of the language that was used for the translation as it could differ from the requested language if a fallback language is in place | - -**Returns** - -The translated value, or the original value if a translation was unsuccessful - - ---- - -#### TranslateValues (1 of 2) - -Translates a series of values to the given language - -```csharp -public IEnumerable TranslateValues(IEnumerable values, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| values | The values to attempt to translate | -| languageIsoCode | The ISO Code of the language to attempt to translate to | - -**Returns** - -A list of translated value, or the original value if a translation was unsuccessful - ---- - -#### TranslateValues (2 of 2) - -Translate a series of dictionary values to the given language - -```csharp -public IDictionary TranslateValues( - IEnumerable> values, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| values | The values to attempt to translate | -| languageIsoCode | The ISO Code of the language to attempt to translate to | - -**Returns** - -A dictionary of translated values, or the original value if a translation was unsuccessful - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/orderservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/orderservice.md deleted file mode 100644 index c09af6704fb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/orderservice.md +++ /dev/null @@ -1,191 +0,0 @@ ---- -title: OrderService -description: API reference for OrderService in Umbraco Commerce ---- -## OrderService - -```csharp -public class OrderService : ServiceBase, ICachedEntityService, - IOrderService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IOrderService](iorderservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### OrderService - -```csharp -public OrderService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, - IOrderNumberGenerator orderNumberGenerator, ICurrencyExchangeRateService exchangeRateService, - IOrderQuerySpecificationFactory orderQuerySpecificationFactory, - IOrderSortSpecificationFactory orderSortSpecificationFactory, - OrderFinderCollection orderFinderCollection) -``` - - -### Methods - -#### DeleteOrder (1 of 4) - -```csharp -public void DeleteOrder(Guid id) -``` - ---- - -#### DeleteOrder (2 of 4) - -```csharp -public void DeleteOrder(Guid id, bool revertFinalized) -``` - ---- - -#### DeleteOrder (3 of 4) - -```csharp -public void DeleteOrder(Order entity) -``` - ---- - -#### DeleteOrder (4 of 4) - -```csharp -public void DeleteOrder(Order entity, bool revertFinalized) -``` - - ---- - -#### FindOrder - -```csharp -public OrderReadOnly FindOrder(Guid storeId, string customerReference) -``` - - ---- - -#### GetAllOrdersForCustomer - -```csharp -public IEnumerable GetAllOrdersForCustomer(Guid storeId, - string customerReferenceOrEmail) -``` - - ---- - -#### GetFinalizedOrderCount - -```csharp -public long GetFinalizedOrderCount(Guid storeId) -``` - - ---- - -#### GetFinalizedOrdersForCustomer - -```csharp -public IEnumerable GetFinalizedOrdersForCustomer(Guid storeId, - string customerReferenceOrEmail) -``` - - ---- - -#### GetOpenOrdersForCustomer - -```csharp -public IEnumerable GetOpenOrdersForCustomer(Guid storeId, - string customerReferenceOrEmail) -``` - - ---- - -#### GetOrder (1 of 2) - -```csharp -public OrderReadOnly GetOrder(Guid id) -``` - ---- - -#### GetOrder (2 of 2) - -```csharp -public OrderReadOnly GetOrder(Guid storeId, string cartOrOrderNumber) -``` - - ---- - -#### GetOrders - -```csharp -public IEnumerable GetOrders(Guid[] ids) -``` - - ---- - -#### SaveOrder - -```csharp -public void SaveOrder(Order entity) -``` - - ---- - -#### SearchOrders (1 of 4) - -```csharp -public PagedResult SearchOrders( - Func> query, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchOrders (2 of 4) - -```csharp -public PagedResult SearchOrders( - Func> query, - Func> sort, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchOrders (3 of 4) - -```csharp -public PagedResult SearchOrders(IQuerySpecification query, - long currentPage = 1, long itemsPerPage = 50) -``` - ---- - -#### SearchOrders (4 of 4) - -```csharp -public PagedResult SearchOrders(IQuerySpecification query, - ISortSpecification sort, long currentPage = 1, long itemsPerPage = 50) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/orderstatusservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/orderstatusservice.md deleted file mode 100644 index 51a36e9d2be..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/orderstatusservice.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: OrderStatusService -description: API reference for OrderStatusService in Umbraco Commerce ---- -## OrderStatusService - -```csharp -public class OrderStatusService : ServiceBase, - ICachedEntityService, IOrderStatusService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IOrderStatusService](iorderstatusservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### OrderStatusService - -```csharp -public OrderStatusService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteOrderStatus (1 of 2) - -```csharp -public void DeleteOrderStatus(Guid id) -``` - ---- - -#### DeleteOrderStatus (2 of 2) - -```csharp -public void DeleteOrderStatus(OrderStatus entity) -``` - - ---- - -#### GetOrderStatus (1 of 2) - -```csharp -public OrderStatusReadOnly GetOrderStatus(Guid id) -``` - ---- - -#### GetOrderStatus (2 of 2) - -```csharp -public OrderStatusReadOnly GetOrderStatus(Guid storeId, string alias) -``` - - ---- - -#### GetOrderStatuses (1 of 2) - -```csharp -public IEnumerable GetOrderStatuses(Guid storeId) -``` - ---- - -#### GetOrderStatuses (2 of 2) - -```csharp -public IEnumerable GetOrderStatuses(Guid[] ids) -``` - - ---- - -#### OrderStatusExists - -```csharp -public bool OrderStatusExists(Guid storeId, string alias) -``` - - ---- - -#### SaveOrderStatus - -```csharp -public void SaveOrderStatus(OrderStatus entity) -``` - - ---- - -#### SortOrderStatuses - -```csharp -public void SortOrderStatuses(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentmethodservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentmethodservice.md deleted file mode 100644 index b247b59ed86..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentmethodservice.md +++ /dev/null @@ -1,118 +0,0 @@ ---- -title: PaymentMethodService -description: API reference for PaymentMethodService in Umbraco Commerce ---- -## PaymentMethodService - -```csharp -public class PaymentMethodService : ServiceBase, - ICachedEntityService, IPaymentMethodService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IPaymentMethodService](ipaymentmethodservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### PaymentMethodService - -```csharp -public PaymentMethodService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeletePaymentMethod (1 of 2) - -```csharp -public void DeletePaymentMethod(Guid id) -``` - ---- - -#### DeletePaymentMethod (2 of 2) - -```csharp -public void DeletePaymentMethod(PaymentMethod entity) -``` - - ---- - -#### GetPaymentMethod (1 of 2) - -```csharp -public PaymentMethodReadOnly GetPaymentMethod(Guid id) -``` - ---- - -#### GetPaymentMethod (2 of 2) - -```csharp -public PaymentMethodReadOnly GetPaymentMethod(Guid storeId, string alias) -``` - - ---- - -#### GetPaymentMethods (1 of 2) - -```csharp -public IEnumerable GetPaymentMethods(Guid storeId) -``` - ---- - -#### GetPaymentMethods (2 of 2) - -```csharp -public IEnumerable GetPaymentMethods(Guid[] ids) -``` - - ---- - -#### GetPaymentMethodsAllowedIn - -```csharp -public IEnumerable GetPaymentMethodsAllowedIn(Guid countryId, Guid? regionId) -``` - - ---- - -#### PaymentMethodExists - -```csharp -public bool PaymentMethodExists(Guid storeId, string alias) -``` - - ---- - -#### SavePaymentMethod - -```csharp -public void SavePaymentMethod(PaymentMethod entity) -``` - - ---- - -#### SortPaymentMethods - -```csharp -public void SortPaymentMethods(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentproviderservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentproviderservice.md deleted file mode 100644 index 07845e1fdd8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentproviderservice.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: PaymentProviderService -description: API reference for PaymentProviderService in Umbraco Commerce ---- -## PaymentProviderService - -```csharp -public class PaymentProviderService : IPaymentProviderService -``` - -**Inheritance** - -* interface [IPaymentProviderService](ipaymentproviderservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### PaymentProviderService - -```csharp -public PaymentProviderService(PaymentProviderCollection paymentProviders) -``` - - -### Methods - -#### GetPaymentProvider - -```csharp -public IPaymentProvider GetPaymentProvider(string alias) -``` - - ---- - -#### GetPaymentProviderDefinitions - -```csharp -public IEnumerable GetPaymentProviderDefinitions() -``` - - ---- - -#### GetPaymentProviderScaffold - -```csharp -public PaymentProviderScaffold GetPaymentProviderScaffold(string alias) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentservice.md deleted file mode 100644 index d5326151605..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/paymentservice.md +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: PaymentService -description: API reference for PaymentService in Umbraco Commerce ---- -## PaymentService - -```csharp -public class PaymentService : ServiceBase, IPaymentService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [IPaymentService](ipaymentservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### PaymentService - -```csharp -public PaymentService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, - IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService, - PaymentProviderContextFactory paymentProviderContextFactory) -``` - - -### Methods - -#### CancelOrderPaymentAsync - -```csharp -public Task CancelOrderPaymentAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### CaptureOrderPaymentAsync - -```csharp -public Task CaptureOrderPaymentAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### FetchOrderPaymentStatusAsync - -```csharp -public Task FetchOrderPaymentStatusAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - ---- - -#### RefundOrderPaymentAsync - -```csharp -public Task RefundOrderPaymentAsync(OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/pricefreezerservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/pricefreezerservice.md deleted file mode 100644 index f5c076d8f3a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/pricefreezerservice.md +++ /dev/null @@ -1,59 +0,0 @@ ---- -title: PriceFreezerService -description: API reference for PriceFreezerService in Umbraco Commerce ---- -## PriceFreezerService - -```csharp -public class PriceFreezerService : ServiceBase, IPriceFreezerService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [IPriceFreezerService](ipricefreezerservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### PriceFreezerService - -```csharp -public PriceFreezerService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### FreezePrice - -```csharp -public void FreezePrice(Guid orderId, string key, FreezablePrice price) -``` - - ---- - -#### GetFrozenPrice - -```csharp -public FreezablePrice GetFrozenPrice(Guid orderId, string key, Guid currencyId, - Guid? countryId = default(Guid?), Guid? regiondId = default(Guid?)) -``` - - ---- - -#### ThawPrices - -```csharp -public void ThawPrices(Guid? orderId = default(Guid?), string partialKey = null, - Guid? currencyId = default(Guid?), Guid? countryId = default(Guid?), - Guid? regiondId = default(Guid?), DateTime? olderThan = default(DateTime?)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/printtemplateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/printtemplateservice.md deleted file mode 100644 index a432a946b41..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/printtemplateservice.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: PrintTemplateService -description: API reference for PrintTemplateService in Umbraco Commerce ---- -## PrintTemplateService - -```csharp -public class PrintTemplateService : ServiceBase, - ICachedEntityService, IPrintTemplateService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IPrintTemplateService](iprinttemplateservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### PrintTemplateService - -```csharp -public PrintTemplateService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeletePrintTemplate (1 of 2) - -```csharp -public void DeletePrintTemplate(Guid id) -``` - ---- - -#### DeletePrintTemplate (2 of 2) - -```csharp -public void DeletePrintTemplate(PrintTemplate entity) -``` - - ---- - -#### GetPrintTemplate (1 of 2) - -```csharp -public PrintTemplateReadOnly GetPrintTemplate(Guid id) -``` - ---- - -#### GetPrintTemplate (2 of 2) - -```csharp -public PrintTemplateReadOnly GetPrintTemplate(Guid storeId, string alias) -``` - - ---- - -#### GetPrintTemplates (1 of 2) - -```csharp -public IEnumerable GetPrintTemplates(Guid storeId) -``` - ---- - -#### GetPrintTemplates (2 of 2) - -```csharp -public IEnumerable GetPrintTemplates(Guid[] ids) -``` - - ---- - -#### PrintTemplateExists - -```csharp -public bool PrintTemplateExists(Guid storeId, string alias) -``` - - ---- - -#### SavePrintTemplate - -```csharp -public void SavePrintTemplate(PrintTemplate entity) -``` - - ---- - -#### SortPrintTemplates - -```csharp -public void SortPrintTemplates(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productattributeservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productattributeservice.md deleted file mode 100644 index 82827db9264..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productattributeservice.md +++ /dev/null @@ -1,189 +0,0 @@ ---- -title: ProductAttributeService -description: API reference for ProductAttributeService in Umbraco Commerce ---- -## ProductAttributeService - -```csharp -public class ProductAttributeService : ServiceBase, - ICachedEntityService, - ICachedEntityService, IProductAttributeService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IProductAttributeService](iproductattributeservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### ProductAttributeService - -```csharp -public ProductAttributeService(IRepositoryFactory repositoryFactory, - IUnitOfWorkProvider uowProvider, ILogger logger, - ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteProductAttribute (1 of 2) - -```csharp -public void DeleteProductAttribute(Guid id) -``` - ---- - -#### DeleteProductAttribute (2 of 2) - -```csharp -public void DeleteProductAttribute(ProductAttribute entity) -``` - - ---- - -#### DeleteProductAttributePreset (1 of 2) - -```csharp -public void DeleteProductAttributePreset(Guid id) -``` - ---- - -#### DeleteProductAttributePreset (2 of 2) - -```csharp -public void DeleteProductAttributePreset(ProductAttributePreset entity) -``` - - ---- - -#### GetProductAttribute (1 of 2) - -```csharp -public ProductAttributeReadOnly GetProductAttribute(Guid id) -``` - ---- - -#### GetProductAttribute (2 of 2) - -```csharp -public ProductAttributeReadOnly GetProductAttribute(Guid storeId, string alias) -``` - - ---- - -#### GetProductAttributePreset (1 of 2) - -```csharp -public ProductAttributePresetReadOnly GetProductAttributePreset(Guid id) -``` - ---- - -#### GetProductAttributePreset (2 of 2) - -```csharp -public ProductAttributePresetReadOnly GetProductAttributePreset(Guid storeId, string alias) -``` - - ---- - -#### GetProductAttributePresets (1 of 2) - -```csharp -public IEnumerable GetProductAttributePresets(Guid storeId) -``` - ---- - -#### GetProductAttributePresets (2 of 2) - -```csharp -public IEnumerable GetProductAttributePresets(Guid[] ids) -``` - - ---- - -#### GetProductAttributes (1 of 2) - -```csharp -public IEnumerable GetProductAttributes(Guid storeId) -``` - ---- - -#### GetProductAttributes (2 of 2) - -```csharp -public IEnumerable GetProductAttributes(Guid[] ids) -``` - - ---- - -#### ProductAttributeExists - -```csharp -public bool ProductAttributeExists(Guid storeId, string alias) -``` - - ---- - -#### ProductAttributePresetExists - -```csharp -public bool ProductAttributePresetExists(Guid storeId, string alias) -``` - - ---- - -#### SaveProductAttribute - -```csharp -public void SaveProductAttribute(ProductAttribute entity) -``` - - ---- - -#### SaveProductAttributePreset - -```csharp -public void SaveProductAttributePreset(ProductAttributePreset entity) -``` - - ---- - -#### SortProductAttributePresets - -```csharp -public void SortProductAttributePresets(Guid[] sortedIds) -``` - - ---- - -#### SortProductAttributes - -```csharp -public void SortProductAttributes(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productpricefreezerservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productpricefreezerservice.md deleted file mode 100644 index 87388ac49ee..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productpricefreezerservice.md +++ /dev/null @@ -1,141 +0,0 @@ ---- -title: ProductPriceFreezerService -description: API reference for ProductPriceFreezerService in Umbraco Commerce ---- -## ProductPriceFreezerService - -```csharp -public class ProductPriceFreezerService : IProductPriceFreezerService -``` - -**Inheritance** - -* interface [IProductPriceFreezerService](iproductpricefreezerservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### ProductPriceFreezerService - -```csharp -public ProductPriceFreezerService(IProductService productService, - IPriceFreezerService priceFreezerService) -``` - - -### Methods - -#### FreezeProductPrice (1 of 2) - -```csharp -public void FreezeProductPrice(Guid storeId, Guid orderId, string productReference, - ProductPrice price) -``` - ---- - -#### FreezeProductPrice (2 of 2) - -```csharp -public void FreezeProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, ProductPrice price) -``` - - ---- - -#### GetOrCreateFrozenProductPrice (1 of 2) - -```csharp -public ProductPrice GetOrCreateFrozenProductPrice(Guid storeId, Guid orderId, - string productReference, Guid currencyId) -``` - ---- - -#### GetOrCreateFrozenProductPrice (2 of 2) - -```csharp -public ProductPrice GetOrCreateFrozenProductPrice(Guid storeId, Guid orderId, - string productReference, string productVariantReference, Guid currencyId) -``` - - ---- - -#### GetProductPrice (1 of 4) - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId) -``` - ---- - -#### GetProductPrice (2 of 4) - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId) -``` - ---- - -#### GetProductPrice (3 of 4) - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId, out bool isFrozen) -``` - ---- - -#### GetProductPrice (4 of 4) - -```csharp -public ProductPrice GetProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId, out bool isFrozen) -``` - - ---- - -#### HasFrozenProductPrice (1 of 2) - -```csharp -public bool HasFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId) -``` - ---- - -#### HasFrozenProductPrice (2 of 2) - -```csharp -public bool HasFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId) -``` - - ---- - -#### ThawFrozenProductPrice (1 of 2) - -```csharp -public void ThawFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - Guid currencyId) -``` - ---- - -#### ThawFrozenProductPrice (2 of 2) - -```csharp -public void ThawFrozenProductPrice(Guid storeId, Guid orderId, string productReference, - string productVariantReference, Guid currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productservice.md deleted file mode 100644 index 7ed971100a8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/productservice.md +++ /dev/null @@ -1,224 +0,0 @@ ---- -title: ProductService -description: API reference for ProductService in Umbraco Commerce ---- -## ProductService - -```csharp -public class ProductService : ServiceBase, IProductService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [IProductService](iproductservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### ProductService - -```csharp -public ProductService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor, IProductAdapter productAdapter, - IStockService stockService) -``` - - -### Methods - -#### GetProduct (1 of 2) - -```csharp -public IProductSnapshot GetProduct(Guid storeId, string productReference, string languageIsoCode) -``` - ---- - -#### GetProduct (2 of 2) - -```csharp -public IProductSnapshot GetProduct(Guid storeId, string productReference, - string productVariantRefernce, string languageIsoCode) -``` - - ---- - -#### GetProductStock (1 of 2) - -```csharp -public decimal? GetProductStock(Guid storeId, string productReference) -``` - ---- - -#### GetProductStock (2 of 2) - -```csharp -public decimal? GetProductStock(Guid storeId, string productReference, - string productVariantReference) -``` - - ---- - -#### GetProductVariantAttributes - -```csharp -public IEnumerable GetProductVariantAttributes(Guid storeId, string productReference, - string languageIsoCode) -``` - - ---- - -#### IncreaseProductStock (1 of 2) - -```csharp -public void IncreaseProductStock(Guid storeId, string productReference, decimal increaseBy) -``` - ---- - -#### IncreaseProductStock (2 of 2) - -```csharp -public void IncreaseProductStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - - ---- - -#### ReduceProductStock (1 of 2) - -```csharp -public void ReduceProductStock(Guid storeId, string productReference, decimal reduceBy) -``` - ---- - -#### ReduceProductStock (2 of 2) - -```csharp -public void ReduceProductStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - - ---- - -#### SearchProductSummaries - -```csharp -public PagedResult SearchProductSummaries(Guid storeId, string languageIsoCode, - string term, long currentPage = 1, long itemsPerPage = 50) -``` - - ---- - -#### SearchProductVariantSummaries - -```csharp -public PagedResult SearchProductVariantSummaries(Guid storeId, - string productReference, string languageIsoCode, string searchTerm, - IDictionary> attributes, long currentPage = 1, - long itemsPerPage = 50) -``` - - ---- - -#### SetProductStock (1 of 2) - -```csharp -public void SetProductStock(Guid storeId, string productReference, decimal value) -``` - ---- - -#### SetProductStock (2 of 2) - -```csharp -public void SetProductStock(Guid storeId, string productReference, string productVariantReference, - decimal value) -``` - - ---- - -#### TryGetProductStock (1 of 2) - -```csharp -public bool TryGetProductStock(Guid storeId, string productReference, out decimal? stock) -``` - ---- - -#### TryGetProductStock (2 of 2) - -```csharp -public bool TryGetProductStock(Guid storeId, string productReference, - string productVariantReference, out decimal? stock) -``` - - ---- - -#### TryIncreaseProductStock (1 of 2) - -```csharp -public bool TryIncreaseProductStock(Guid storeId, string productReference, decimal increaseBy) -``` - ---- - -#### TryIncreaseProductStock (2 of 2) - -```csharp -public bool TryIncreaseProductStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - - ---- - -#### TryReduceProductStock (1 of 2) - -```csharp -public bool TryReduceProductStock(Guid storeId, string productReference, decimal reduceBy) -``` - ---- - -#### TryReduceProductStock (2 of 2) - -```csharp -public bool TryReduceProductStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - - ---- - -#### TrySetProductStock (1 of 2) - -```csharp -public bool TrySetProductStock(Guid storeId, string productReference, decimal value) -``` - ---- - -#### TrySetProductStock (2 of 2) - -```csharp -public bool TrySetProductStock(Guid storeId, string productReference, - string productVariantReference, decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/registeredcustomerinfoservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/registeredcustomerinfoservice.md deleted file mode 100644 index 2b62676d3ec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/registeredcustomerinfoservice.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: RegisteredCustomerInfoService -description: API reference for RegisteredCustomerInfoService in Umbraco Commerce ---- -## RegisteredCustomerInfoService - -```csharp -public class RegisteredCustomerInfoService : IRegisteredCustomerInfoService -``` - -**Inheritance** - -* interface [IRegisteredCustomerInfoService](iregisteredcustomerinfoservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### RegisteredCustomerInfoService - -```csharp -public RegisteredCustomerInfoService( - RegisteredCustomerInfoProviderCollection registeredCustomerInfoProviders) -``` - - -### Methods - -#### GetRegisteredCustomerInfo - -```csharp -public RegisteredCustomerInfo GetRegisteredCustomerInfo(string customerReference) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/servicebase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/servicebase-1.md deleted file mode 100644 index 1d386705799..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/servicebase-1.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: ServiceBase -description: API reference for ServiceBase in Umbraco Commerce ---- -## ServiceBase<TSelf> - -```csharp -public abstract class ServiceBase - where TSelf : ServiceBase -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/shippingmethodservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/shippingmethodservice.md deleted file mode 100644 index 49ba8c159d7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/shippingmethodservice.md +++ /dev/null @@ -1,119 +0,0 @@ ---- -title: ShippingMethodService -description: API reference for ShippingMethodService in Umbraco Commerce ---- -## ShippingMethodService - -```csharp -public class ShippingMethodService : ServiceBase, - ICachedEntityService, IShippingMethodService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IShippingMethodService](ishippingmethodservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### ShippingMethodService - -```csharp -public ShippingMethodService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteShippingMethod (1 of 2) - -```csharp -public void DeleteShippingMethod(Guid id) -``` - ---- - -#### DeleteShippingMethod (2 of 2) - -```csharp -public void DeleteShippingMethod(ShippingMethod entity) -``` - - ---- - -#### GetShippingMethod (1 of 2) - -```csharp -public ShippingMethodReadOnly GetShippingMethod(Guid id) -``` - ---- - -#### GetShippingMethod (2 of 2) - -```csharp -public ShippingMethodReadOnly GetShippingMethod(Guid storeId, string alias) -``` - - ---- - -#### GetShippingMethods (1 of 2) - -```csharp -public IEnumerable GetShippingMethods(Guid storeId) -``` - ---- - -#### GetShippingMethods (2 of 2) - -```csharp -public IEnumerable GetShippingMethods(Guid[] ids) -``` - - ---- - -#### GetShippingMethodsAllowedIn - -```csharp -public IEnumerable GetShippingMethodsAllowedIn(Guid countryId, - Guid? regionId) -``` - - ---- - -#### SaveShippingMethod - -```csharp -public void SaveShippingMethod(ShippingMethod entity) -``` - - ---- - -#### ShippingMethodExists - -```csharp -public bool ShippingMethodExists(Guid storeId, string alias) -``` - - ---- - -#### SortShippingMethods - -```csharp -public void SortShippingMethods(Guid[] sortedIds) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/storeservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/storeservice.md deleted file mode 100644 index 2d4c48240fd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/storeservice.md +++ /dev/null @@ -1,129 +0,0 @@ ---- -title: StoreService -description: API reference for StoreService in Umbraco Commerce ---- -## StoreService - -```csharp -public class StoreService : ServiceBase, ICachedEntityService, - IStoreAnalyticsService, IStoreService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [IStoreAnalyticsService](istoreanalyticsservice.md) -* interface [IStoreService](istoreservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### StoreService - -```csharp -public StoreService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteStore (1 of 2) - -```csharp -public void DeleteStore(Guid entityId) -``` - ---- - -#### DeleteStore (2 of 2) - -```csharp -public void DeleteStore(Store entity) -``` - - ---- - -#### GetStore (1 of 2) - -```csharp -public StoreReadOnly GetStore(Guid id) -``` - ---- - -#### GetStore (2 of 2) - -```csharp -public StoreReadOnly GetStore(string alias) -``` - - ---- - -#### GetStores - -```csharp -public IEnumerable GetStores() -``` - - ---- - -#### GetStores - -```csharp -public IEnumerable GetStores(Guid[] ids) -``` - - ---- - -#### GetStoreStatsForDateRange - -```csharp -public StoreStats GetStoreStatsForDateRange(Guid storeId, DateTime fromUtc, DateTime toUtc) -``` - - ---- - -#### GetStoreSummariesFor - -```csharp -public IEnumerable GetStoreSummariesFor(string userId, string[] userRoles) -``` - - ---- - -#### SaveStore - -```csharp -public void SaveStore(Store entity) -``` - - ---- - -#### SortStores - -```csharp -public void SortStores(Guid[] sortedIds) -``` - - ---- - -#### StoreExists - -```csharp -public bool StoreExists(string alias) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/tagservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/tagservice.md deleted file mode 100644 index 75dcce95783..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/tagservice.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: TagService -description: API reference for TagService in Umbraco Commerce ---- -## TagService - -```csharp -public class TagService : ServiceBase, ITagService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ITagService](itagservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### TagService - -```csharp -public TagService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### GetEntityTags - -```csharp -public IEnumerable GetEntityTags(Guid storeId, Guid entityId, string startsWith = null) -``` - - ---- - -#### GetTags - -```csharp -public IEnumerable GetTags(Guid storeId, string startsWith = null) -``` - - ---- - -#### GetTagsByEntityType - -```csharp -public IEnumerable GetTagsByEntityType(Guid storeId, string entityType, - string startsWith = null) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/taxservice.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/taxservice.md deleted file mode 100644 index 2f6b9d5f108..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/taxservice.md +++ /dev/null @@ -1,109 +0,0 @@ ---- -title: TaxService -description: API reference for TaxService in Umbraco Commerce ---- -## TaxService - -```csharp -public class TaxService : ServiceBase, ICachedEntityService, - ITaxService -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [ICachedEntityService<TEntityType>](icachedentityservice-1.md) -* interface [ITaxService](itaxservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### TaxService - -```csharp -public TaxService(IRepositoryFactory repositoryFactory, IUnitOfWorkProvider uowProvider, - ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### DeleteTaxClass (1 of 2) - -```csharp -public void DeleteTaxClass(Guid id) -``` - ---- - -#### DeleteTaxClass (2 of 2) - -```csharp -public void DeleteTaxClass(TaxClass entity) -``` - - ---- - -#### GetTaxClass (1 of 2) - -```csharp -public TaxClassReadOnly GetTaxClass(Guid id) -``` - ---- - -#### GetTaxClass (2 of 2) - -```csharp -public TaxClassReadOnly GetTaxClass(Guid storeId, string alias) -``` - - ---- - -#### GetTaxClasses (1 of 2) - -```csharp -public IEnumerable GetTaxClasses(Guid storeId) -``` - ---- - -#### GetTaxClasses (2 of 2) - -```csharp -public IEnumerable GetTaxClasses(Guid[] ids) -``` - - ---- - -#### SaveTaxClass - -```csharp -public void SaveTaxClass(TaxClass entity) -``` - - ---- - -#### SortTaxClasses - -```csharp -public void SortTaxClasses(Guid[] sortedIds) -``` - - ---- - -#### TaxClassExists - -```csharp -public bool TaxClassExists(Guid storeId, string alias) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/umbracocommerceservicecontext.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/umbracocommerceservicecontext.md deleted file mode 100644 index 30999821002..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/umbracocommerceservicecontext.md +++ /dev/null @@ -1,321 +0,0 @@ ---- -title: UmbracoCommerceServiceContext -description: API reference for UmbracoCommerceServiceContext in Umbraco Commerce ---- -## UmbracoCommerceServiceContext - -A central service context for easy access to all of Umbraco Commerce's services - -```csharp -public class UmbracoCommerceServiceContext -``` - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### UmbracoCommerceServiceContext - -Instantiates a new UmbracoCommerceServiceContext instance - -```csharp -public UmbracoCommerceServiceContext(Lazy countryService, - Lazy currencyService, Lazy emailTemplateService, - Lazy printTemplateService, - Lazy exportTemplateService, Lazy orderService, - Lazy orderStatusService, Lazy paymentMethodService, - Lazy paymentService, Lazy paymentProviderService, - Lazy shippingMethodService, Lazy storeService, - Lazy taxService, Lazy productService, - Lazy discountService, Lazy giftCardService, - Lazy translationService, - Lazy productAttributeService, Lazy entityService, - Lazy activityLogService, Lazy analyticsService, - Lazy registeredCustomerInfoService, - Lazy tagService) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| countryService | | -| currencyService | | -| emailTemplateService | | -| printTemplateService | | -| exportTemplateService | | -| orderService | | -| orderStatusService | | -| paymentMethodService | | -| paymentService | | -| paymentProviderService | | -| shippingMethodService | | -| storeService | | -| taxService | | -| productService | | -| discountService | | -| giftCardService | | -| translationService | | -| productAttributeService | | -| entityService | | -| activityLogService | | -| analyticsService | | -| registeredCustomerInfoService | | -| tagService | | - - -### Properties - -#### ActivityLogService - -Gets the [`IActivityLogService`](iactivitylogservice.md) - -```csharp -public IActivityLogService ActivityLogService { get; } -``` - - ---- - -#### AnalyticsService - -Gets the [`IAnalyticsService`](ianalyticsservice.md) - -```csharp -public IAnalyticsService AnalyticsService { get; } -``` - - ---- - -#### CountryService - -Gets the [`ICountryService`](icountryservice.md) - -```csharp -public ICountryService CountryService { get; } -``` - - ---- - -#### CurrencyService - -Gets the [`ICurrencyService`](icurrencyservice.md) - -```csharp -public ICurrencyService CurrencyService { get; } -``` - - ---- - -#### DiscountService - -Gets the [`IDiscountService`](idiscountservice.md) - -```csharp -public IDiscountService DiscountService { get; } -``` - - ---- - -#### EmailTemplateService - -Gets the [`IEmailTemplateService`](iemailtemplateservice.md) - -```csharp -public IEmailTemplateService EmailTemplateService { get; } -``` - - ---- - -#### EntityService - -Gets the [`IEntityService`](ientityservice.md) - -```csharp -public IEntityService EntityService { get; } -``` - - ---- - -#### ExportTemplateService - -Gets the [`IExportTemplateService`](iexporttemplateservice.md) - -```csharp -public IExportTemplateService ExportTemplateService { get; } -``` - - ---- - -#### GiftCardService - -Gets the [`IGiftCardService`](igiftcardservice.md) - -```csharp -public IGiftCardService GiftCardService { get; } -``` - - ---- - -#### OrderService - -Gets the [`IOrderService`](iorderservice.md) - -```csharp -public IOrderService OrderService { get; } -``` - - ---- - -#### OrderStatusService - -Gets the [`IOrderStatusService`](iorderstatusservice.md) - -```csharp -public IOrderStatusService OrderStatusService { get; } -``` - - ---- - -#### PaymentMethodService - -Gets the [`IPaymentMethodService`](ipaymentmethodservice.md) - -```csharp -public IPaymentMethodService PaymentMethodService { get; } -``` - - ---- - -#### PaymentProviderService - -Gets the [`IPaymentProviderService`](ipaymentproviderservice.md) - -```csharp -public IPaymentProviderService PaymentProviderService { get; } -``` - - ---- - -#### PaymentService - -Gets the [`IPaymentService`](ipaymentservice.md) - -```csharp -public IPaymentService PaymentService { get; } -``` - - ---- - -#### PrintTemplateService - -Gets the [`IPrintTemplateService`](iprinttemplateservice.md) - -```csharp -public IPrintTemplateService PrintTemplateService { get; } -``` - - ---- - -#### ProductAttributeService - -Gets the [`IProductAttributeService`](iproductattributeservice.md) - -```csharp -public IProductAttributeService ProductAttributeService { get; } -``` - - ---- - -#### ProductService - -Gets the [`IProductService`](iproductservice.md) - -```csharp -public IProductService ProductService { get; } -``` - - ---- - -#### RegisteredCustomerInfoService - -Gets the [`IRegisteredCustomerInfoService`](iregisteredcustomerinfoservice.md) - -```csharp -public IRegisteredCustomerInfoService RegisteredCustomerInfoService { get; } -``` - - ---- - -#### ShippingMethodService - -Gets the [`IShippingMethodService`](ishippingmethodservice.md) - -```csharp -public IShippingMethodService ShippingMethodService { get; } -``` - - ---- - -#### StoreService - -Gets the [`IStoreService`](istoreservice.md) - -```csharp -public IStoreService StoreService { get; } -``` - - ---- - -#### TagService - -Gets the [`ITagService`](itagservice.md) - -```csharp -public ITagService TagService { get; } -``` - - ---- - -#### TaxService - -Gets the [`ITaxService`](itaxservice.md) - -```csharp -public ITaxService TaxService { get; } -``` - - ---- - -#### TranslationService - -Gets the [`ITranslationService`](itranslationservice.md) - -```csharp -public ITranslationService TranslationService { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/umbracocommercestockservicebase-1.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/umbracocommercestockservicebase-1.md deleted file mode 100644 index 9bb33c80b16..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-services/umbracocommercestockservicebase-1.md +++ /dev/null @@ -1,193 +0,0 @@ ---- -title: UmbracoCommerceStockServiceBase -description: API reference for UmbracoCommerceStockServiceBase in Umbraco Commerce ---- -## UmbracoCommerceStockServiceBase<TSelf> - -```csharp -public abstract class UmbracoCommerceStockServiceBase : ServiceBase, IStockService - where TSelf : UmbracoCommerceStockServiceBase -``` - -**Inheritance** - -* Class [ServiceBase<TSelf>](servicebase-1.md) -* interface [IStockService](istockservice.md) - -**Namespace** -* [Umbraco.Commerce.Core.Services](README.md) - -### Constructors - -#### UmbracoCommerceStockServiceBase<TSelf> - -```csharp -public UmbracoCommerceStockServiceBase(IRepositoryFactory repositoryFactory, - IUnitOfWorkProvider uowProvider, ILogger logger, ICacheAccessor cacheAccessor) -``` - - -### Methods - -#### GetStock (1 of 2) - -```csharp -public virtual decimal? GetStock(Guid storeId, string productReference) -``` - ---- - -#### GetStock (2 of 2) - -```csharp -public virtual decimal? GetStock(Guid storeId, string productReference, - string productVariantReference) -``` - - ---- - -#### IncreaseStock (1 of 2) - -```csharp -public virtual void IncreaseStock(Guid storeId, string productReference, decimal increaseBy) -``` - ---- - -#### IncreaseStock (2 of 2) - -```csharp -public virtual void IncreaseStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - - ---- - -#### InvalidateStockCache - -```csharp -public void InvalidateStockCache() -``` - - ---- - -#### InvalidateStockCache - -```csharp -public void InvalidateStockCache(Guid storeId, string productReference, - string productVariantReference) -``` - - ---- - -#### ReduceStock (1 of 2) - -```csharp -public virtual void ReduceStock(Guid storeId, string productReference, decimal reduceBy) -``` - ---- - -#### ReduceStock (2 of 2) - -```csharp -public virtual void ReduceStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - - ---- - -#### SetStock (1 of 2) - -```csharp -public virtual void SetStock(Guid storeId, string productReference, decimal value) -``` - ---- - -#### SetStock (2 of 2) - -```csharp -public virtual void SetStock(Guid storeId, string productReference, string productVariantReference, - decimal value) -``` - - ---- - -#### TryGetStock (1 of 2) - -```csharp -public virtual bool TryGetStock(Guid storeId, string productReference, out decimal? stock) -``` - ---- - -#### TryGetStock (2 of 2) - -```csharp -public virtual bool TryGetStock(Guid storeId, string productReference, - string productVariantReference, out decimal? stock) -``` - - ---- - -#### TryIncreaseStock (1 of 2) - -```csharp -public virtual bool TryIncreaseStock(Guid storeId, string productReference, decimal increaseBy) -``` - ---- - -#### TryIncreaseStock (2 of 2) - -```csharp -public virtual bool TryIncreaseStock(Guid storeId, string productReference, - string productVariantReference, decimal increaseBy) -``` - - ---- - -#### TryReduceStock (1 of 2) - -```csharp -public virtual bool TryReduceStock(Guid storeId, string productReference, decimal reduceBy) -``` - ---- - -#### TryReduceStock (2 of 2) - -```csharp -public virtual bool TryReduceStock(Guid storeId, string productReference, - string productVariantReference, decimal reduceBy) -``` - - ---- - -#### TrySetStock (1 of 2) - -```csharp -public virtual bool TrySetStock(Guid storeId, string productReference, decimal value) -``` - ---- - -#### TrySetStock (2 of 2) - -```csharp -public virtual bool TrySetStock(Guid storeId, string productReference, - string productVariantReference, decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/README.md deleted file mode 100644 index d2e10fdfc6f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Session -description: API reference for Umbraco.Commerce.Core.Session in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Session namespace - -| Public Type | Description | -| --- | --- | -| interface [ISessionManager](isessionmanager.md) | | -| interface [ISessionStore](isessionstore.md) | | -| interface [ITempStore](itempstore.md) | | -| class [SessionManager](sessionmanager.md) | | -| class [SessionManagerAccessor](sessionmanageraccessor.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/isessionmanager.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/isessionmanager.md deleted file mode 100644 index db311391b72..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/isessionmanager.md +++ /dev/null @@ -1,382 +0,0 @@ ---- -title: ISessionManager -description: API reference for ISessionManager in Umbraco Commerce ---- -## ISessionManager - -```csharp -public interface ISessionManager -``` - -**Namespace** -* [Umbraco.Commerce.Core.Session](README.md) - -### Methods - -#### CheckAndMoveSessionOrders - -```csharp -public void CheckAndMoveSessionOrders() -``` - - ---- - -#### ClearCurrentOrder - -```csharp -public void ClearCurrentOrder(Guid storeId) -``` - - ---- - -#### ClearDefaultCurrency - -```csharp -public void ClearDefaultCurrency(Guid storeId) -``` - - ---- - -#### ClearDefaultPaymentCountry - -```csharp -public void ClearDefaultPaymentCountry(Guid storeId) -``` - - ---- - -#### ClearDefaultPaymentMethod - -```csharp -public void ClearDefaultPaymentMethod(Guid storeId) -``` - - ---- - -#### ClearDefaultPaymentRegion - -```csharp -public void ClearDefaultPaymentRegion(Guid storeId) -``` - - ---- - -#### ClearDefaultShippingCountry - -```csharp -public void ClearDefaultShippingCountry(Guid storeId) -``` - - ---- - -#### ClearDefaultShippingMethod - -```csharp -public void ClearDefaultShippingMethod(Guid storeId) -``` - - ---- - -#### ClearDefaultShippingRegion - -```csharp -public void ClearDefaultShippingRegion(Guid storeId) -``` - - ---- - -#### ClearDefaultTaxClass - -```csharp -public void ClearDefaultTaxClass(Guid storeId) -``` - - ---- - -#### GetCurrentFinalizedOrder - -```csharp -public OrderReadOnly GetCurrentFinalizedOrder(Guid storeId) -``` - - ---- - -#### GetCurrentOrder (1 of 2) - -```csharp -public OrderReadOnly GetCurrentOrder(Guid storeId) -``` - ---- - -#### GetCurrentOrder (2 of 2) - -```csharp -public OrderReadOnly GetCurrentOrder(Guid storeId, string customerReference) -``` - - ---- - -#### GetDefaultCurrency - -```csharp -public CurrencyReadOnly GetDefaultCurrency(Guid storeId) -``` - - ---- - -#### GetDefaultPaymentCountry - -```csharp -public CountryReadOnly GetDefaultPaymentCountry(Guid storeId) -``` - - ---- - -#### GetDefaultPaymentMethod - -```csharp -public PaymentMethodReadOnly GetDefaultPaymentMethod(Guid storeId) -``` - - ---- - -#### GetDefaultPaymentRegion - -```csharp -public RegionReadOnly GetDefaultPaymentRegion(Guid storeId) -``` - - ---- - -#### GetDefaultShippingCountry - -```csharp -public CountryReadOnly GetDefaultShippingCountry(Guid storeId) -``` - - ---- - -#### GetDefaultShippingMethod - -```csharp -public ShippingMethodReadOnly GetDefaultShippingMethod(Guid storeId) -``` - - ---- - -#### GetDefaultShippingRegion - -```csharp -public RegionReadOnly GetDefaultShippingRegion(Guid storeId) -``` - - ---- - -#### GetDefaultTaxClass - -```csharp -public TaxClassReadOnly GetDefaultTaxClass(Guid storeId) -``` - - ---- - -#### GetOrCreateCurrentOrder (1 of 2) - -```csharp -public OrderReadOnly GetOrCreateCurrentOrder(Guid storeId) -``` - ---- - -#### GetOrCreateCurrentOrder (2 of 2) - -```csharp -public OrderReadOnly GetOrCreateCurrentOrder(Guid storeId, string customerReference) -``` - - ---- - -#### SetCurrentOrder (1 of 2) - -```csharp -public void SetCurrentOrder(Guid storeId, Guid id) -``` - ---- - -#### SetCurrentOrder (2 of 2) - -```csharp -public void SetCurrentOrder(Guid storeId, OrderReadOnly entity) -``` - - ---- - -#### SetDefaultCurrency (1 of 2) - -```csharp -public void SetDefaultCurrency(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultCurrency (2 of 2) - -```csharp -public void SetDefaultCurrency(Guid storeId, CurrencyReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultPaymentCountry (1 of 2) - -```csharp -public void SetDefaultPaymentCountry(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultPaymentCountry (2 of 2) - -```csharp -public void SetDefaultPaymentCountry(Guid storeId, CountryReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultPaymentMethod (1 of 2) - -```csharp -public void SetDefaultPaymentMethod(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultPaymentMethod (2 of 2) - -```csharp -public void SetDefaultPaymentMethod(Guid storeId, PaymentMethodReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultPaymentRegion (1 of 2) - -```csharp -public void SetDefaultPaymentRegion(Guid storeId, Guid countryId, Guid id, - bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultPaymentRegion (2 of 2) - -```csharp -public void SetDefaultPaymentRegion(Guid storeId, RegionReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultShippingCountry (1 of 2) - -```csharp -public void SetDefaultShippingCountry(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultShippingCountry (2 of 2) - -```csharp -public void SetDefaultShippingCountry(Guid storeId, CountryReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultShippingMethod (1 of 2) - -```csharp -public void SetDefaultShippingMethod(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultShippingMethod (2 of 2) - -```csharp -public void SetDefaultShippingMethod(Guid storeId, ShippingMethodReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultShippingRegion (1 of 2) - -```csharp -public void SetDefaultShippingRegion(Guid storeId, Guid countryId, Guid id, - bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultShippingRegion (2 of 2) - -```csharp -public void SetDefaultShippingRegion(Guid storeId, RegionReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultTaxClass (1 of 2) - -```csharp -public void SetDefaultTaxClass(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultTaxClass (2 of 2) - -```csharp -public void SetDefaultTaxClass(Guid storeId, TaxClassReadOnly entity, - bool applyToCurrentOrder = false) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/isessionstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/isessionstore.md deleted file mode 100644 index 55c084408a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/isessionstore.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: ISessionStore -description: API reference for ISessionStore in Umbraco Commerce ---- -## ISessionStore - -```csharp -public interface ISessionStore -``` - -**Namespace** -* [Umbraco.Commerce.Core.Session](README.md) - -### Methods - -#### GetStoreIds - -```csharp -public Guid[] GetStoreIds() -``` - - ---- - -#### GetValue<T> - -```csharp -public T? GetValue(Guid storeId, string key) - where T : struct -``` - - ---- - -#### SetValue<T> - -```csharp -public void SetValue(Guid storeId, string key, T? value) - where T : struct -``` - - ---- - -#### TrySetValue<T> - -```csharp -public bool TrySetValue(Guid storeId, string key, T? value) - where T : struct -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/itempstore.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/itempstore.md deleted file mode 100644 index 0905032db9b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/itempstore.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -title: ITempStore -description: API reference for ITempStore in Umbraco Commerce ---- -## ITempStore - -```csharp -public interface ITempStore -``` - -**Namespace** -* [Umbraco.Commerce.Core.Session](README.md) - -### Methods - -#### GetStoreIds - -```csharp -public Guid[] GetStoreIds() -``` - - ---- - -#### GetValue<T> - -```csharp -public T? GetValue(Guid storeId, string key) - where T : struct -``` - - ---- - -#### SetValue<T> - -```csharp -public void SetValue(Guid storeId, string key, T? value) - where T : struct -``` - - ---- - -#### TrySetValue<T> - -```csharp -public bool TrySetValue(Guid storeId, string key, T? value) - where T : struct -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/sessionmanager.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/sessionmanager.md deleted file mode 100644 index 8fbc0002a38..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/sessionmanager.md +++ /dev/null @@ -1,454 +0,0 @@ ---- -title: SessionManager -description: API reference for SessionManager in Umbraco Commerce ---- -## SessionManager - -```csharp -public class SessionManager : ISessionManager -``` - -**Inheritance** - -* interface [ISessionManager](isessionmanager.md) - -**Namespace** -* [Umbraco.Commerce.Core.Session](README.md) - -### Constructors - -#### SessionManager - -```csharp -public SessionManager(IStoreService storeService, IOrderService orderService, - ICurrencyService currencyService, ICountryService countryService, - IPaymentMethodService paymentMethodService, IShippingMethodService shippingMethodService, - ITaxService taxService, ISessionStore sessionStore, ITempStore tempStore, - IUnitOfWorkProvider uowProvider) -``` - - -### Methods - -#### CheckAndMoveSessionOrders - -```csharp -public void CheckAndMoveSessionOrders() -``` - - ---- - -#### ClearCurrentAdminOrder - -```csharp -public void ClearCurrentAdminOrder(Guid storeId) -``` - - ---- - -#### ClearCurrentFinalizedOrder - -```csharp -public void ClearCurrentFinalizedOrder(Guid storeId) -``` - - ---- - -#### ClearCurrentOrder - -```csharp -public void ClearCurrentOrder(Guid storeId) -``` - - ---- - -#### ClearDefaultCurrency - -```csharp -public void ClearDefaultCurrency(Guid storeId) -``` - - ---- - -#### ClearDefaultPaymentCountry - -```csharp -public void ClearDefaultPaymentCountry(Guid storeId) -``` - - ---- - -#### ClearDefaultPaymentMethod - -```csharp -public void ClearDefaultPaymentMethod(Guid storeId) -``` - - ---- - -#### ClearDefaultPaymentRegion - -```csharp -public void ClearDefaultPaymentRegion(Guid storeId) -``` - - ---- - -#### ClearDefaultShippingCountry - -```csharp -public void ClearDefaultShippingCountry(Guid storeId) -``` - - ---- - -#### ClearDefaultShippingMethod - -```csharp -public void ClearDefaultShippingMethod(Guid storeId) -``` - - ---- - -#### ClearDefaultShippingRegion - -```csharp -public void ClearDefaultShippingRegion(Guid storeId) -``` - - ---- - -#### ClearDefaultTaxClass - -```csharp -public void ClearDefaultTaxClass(Guid storeId) -``` - - ---- - -#### GetCurrentAdminOrder - -```csharp -public OrderReadOnly GetCurrentAdminOrder(Guid storeId) -``` - - ---- - -#### GetCurrentFinalizedOrder - -```csharp -public OrderReadOnly GetCurrentFinalizedOrder(Guid storeId) -``` - - ---- - -#### GetCurrentOrder (1 of 2) - -```csharp -public OrderReadOnly GetCurrentOrder(Guid storeId) -``` - ---- - -#### GetCurrentOrder (2 of 2) - -```csharp -public OrderReadOnly GetCurrentOrder(Guid storeId, string customerReference) -``` - - ---- - -#### GetDefaultCurrency - -```csharp -public CurrencyReadOnly GetDefaultCurrency(Guid storeId) -``` - - ---- - -#### GetDefaultPaymentCountry - -```csharp -public CountryReadOnly GetDefaultPaymentCountry(Guid storeId) -``` - - ---- - -#### GetDefaultPaymentMethod - -```csharp -public PaymentMethodReadOnly GetDefaultPaymentMethod(Guid storeId) -``` - - ---- - -#### GetDefaultPaymentRegion - -```csharp -public RegionReadOnly GetDefaultPaymentRegion(Guid storeId) -``` - - ---- - -#### GetDefaultShippingCountry - -```csharp -public CountryReadOnly GetDefaultShippingCountry(Guid storeId) -``` - - ---- - -#### GetDefaultShippingMethod - -```csharp -public ShippingMethodReadOnly GetDefaultShippingMethod(Guid storeId) -``` - - ---- - -#### GetDefaultShippingRegion - -```csharp -public RegionReadOnly GetDefaultShippingRegion(Guid storeId) -``` - - ---- - -#### GetDefaultTaxClass - -```csharp -public TaxClassReadOnly GetDefaultTaxClass(Guid storeId) -``` - - ---- - -#### GetOrCreateCurrentOrder (1 of 2) - -```csharp -public OrderReadOnly GetOrCreateCurrentOrder(Guid storeId) -``` - ---- - -#### GetOrCreateCurrentOrder (2 of 2) - -```csharp -public OrderReadOnly GetOrCreateCurrentOrder(Guid storeId, string customerReference) -``` - - ---- - -#### SetCurrentAdminOrder (1 of 2) - -```csharp -public void SetCurrentAdminOrder(Guid storeId, Guid orderId, string currentUserId, - IEnumerable currentUserRoles) -``` - ---- - -#### SetCurrentAdminOrder (2 of 2) - -```csharp -public void SetCurrentAdminOrder(Guid storeId, OrderReadOnly order, string currentUserId, - IEnumerable currentUserRoles) -``` - - ---- - -#### SetCurrentFinalizedOrder - -```csharp -public void SetCurrentFinalizedOrder(Guid storeId, Guid id) -``` - - ---- - -#### SetCurrentOrder (1 of 2) - -```csharp -public void SetCurrentOrder(Guid storeId, Guid orderId) -``` - ---- - -#### SetCurrentOrder (2 of 2) - -```csharp -public void SetCurrentOrder(Guid storeId, OrderReadOnly entity) -``` - - ---- - -#### SetDefaultCurrency (1 of 2) - -```csharp -public void SetDefaultCurrency(Guid storeId, Guid currencyId, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultCurrency (2 of 2) - -```csharp -public void SetDefaultCurrency(Guid storeId, CurrencyReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultPaymentCountry (1 of 2) - -```csharp -public void SetDefaultPaymentCountry(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultPaymentCountry (2 of 2) - -```csharp -public void SetDefaultPaymentCountry(Guid storeId, CountryReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultPaymentMethod (1 of 2) - -```csharp -public void SetDefaultPaymentMethod(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultPaymentMethod (2 of 2) - -```csharp -public void SetDefaultPaymentMethod(Guid storeId, PaymentMethodReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultPaymentRegion (1 of 2) - -```csharp -public void SetDefaultPaymentRegion(Guid storeId, Guid countryId, Guid id, - bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultPaymentRegion (2 of 2) - -```csharp -public void SetDefaultPaymentRegion(Guid storeId, RegionReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultShippingCountry (1 of 2) - -```csharp -public void SetDefaultShippingCountry(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultShippingCountry (2 of 2) - -```csharp -public void SetDefaultShippingCountry(Guid storeId, CountryReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultShippingMethod (1 of 2) - -```csharp -public void SetDefaultShippingMethod(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultShippingMethod (2 of 2) - -```csharp -public void SetDefaultShippingMethod(Guid storeId, ShippingMethodReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultShippingRegion (1 of 2) - -```csharp -public void SetDefaultShippingRegion(Guid storeId, Guid countryId, Guid id, - bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultShippingRegion (2 of 2) - -```csharp -public void SetDefaultShippingRegion(Guid storeId, RegionReadOnly entity, - bool applyToCurrentOrder = false) -``` - - ---- - -#### SetDefaultTaxClass (1 of 2) - -```csharp -public void SetDefaultTaxClass(Guid storeId, Guid id, bool applyToCurrentOrder = false) -``` - ---- - -#### SetDefaultTaxClass (2 of 2) - -```csharp -public void SetDefaultTaxClass(Guid storeId, TaxClassReadOnly entity, - bool applyToCurrentOrder = false) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/sessionmanageraccessor.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/sessionmanageraccessor.md deleted file mode 100644 index bdbdcc6d99a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-session/sessionmanageraccessor.md +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: SessionManagerAccessor -description: API reference for SessionManagerAccessor in Umbraco Commerce ---- -## SessionManagerAccessor - -```csharp -public class SessionManagerAccessor : AccessorBase -``` - -**Inheritance** - -* Class [AccessorBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common/accessorbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Session](README.md) - -### Constructors - -#### SessionManagerAccessor - -```csharp -public SessionManagerAccessor(IScopedFactoryAccessor scopedFactoryAccessor) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/README.md deleted file mode 100644 index 2fb1e86417d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/README.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Specifications.GiftCard -description: API reference for Umbraco.Commerce.Core.Specifications.GiftCard in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Specifications.GiftCard namespace - -| Public Type | Description | -| --- | --- | -| class [GiftCardCreatedBetweenSpecification](giftcardcreatedbetweenspecification.md) | | -| class [GiftCardFromOrderSpecification](giftcardfromorderspecification.md) | | -| class [GiftCardFromStoreSpecification](giftcardfromstorespecification.md) | | -| class [GiftCardHasCodeSpecification](giftcardhascodespecification.md) | | -| class [GiftCardHasPropertySpecification](giftcardhaspropertyspecification.md) | | -| class [GiftCardInCurrencySpecification](giftcardincurrencyspecification.md) | | -| class [GiftCardQuerySpecificationFactory](giftcardqueryspecificationfactory.md) | | -| class [GiftCardSearchableFieldsMatchSpecification](giftcardsearchablefieldsmatchspecification.md) | | -| class [GiftCardSortByCreateDateSpecification](giftcardsortbycreatedatespecification.md) | | -| class [GiftCardSortByOrderNumberSpecification](giftcardsortbyordernumberspecification.md) | | -| class [GiftCardSortSpecificationFactory](giftcardsortspecificationfactory.md) | | -| interface [IGiftCardQuerySpecificationFactory](igiftcardqueryspecificationfactory.md) | | -| interface [IGiftCardSortSpecificationFactory](igiftcardsortspecificationfactory.md) | | -| interface [IGiftCardSpecificationVisitor](igiftcardspecificationvisitor.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardcreatedbetweenspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardcreatedbetweenspecification.md deleted file mode 100644 index b12cca9c494..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardcreatedbetweenspecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: GiftCardCreatedBetweenSpecification -description: API reference for GiftCardCreatedBetweenSpecification in Umbraco Commerce ---- -## GiftCardCreatedBetweenSpecification - -```csharp -public class GiftCardCreatedBetweenSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardCreatedBetweenSpecification - -```csharp -public GiftCardCreatedBetweenSpecification(DateTime? fromDate, DateTime? toDate) -``` - - -### Fields - -#### FromDate - -```csharp -public DateTime? FromDate; -``` - - ---- - -#### ToDate - -```csharp -public DateTime? ToDate; -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardfromorderspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardfromorderspecification.md deleted file mode 100644 index 71231532079..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardfromorderspecification.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: GiftCardFromOrderSpecification -description: API reference for GiftCardFromOrderSpecification in Umbraco Commerce ---- -## GiftCardFromOrderSpecification - -```csharp -public class GiftCardFromOrderSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardFromOrderSpecification (1 of 2) - -```csharp -public GiftCardFromOrderSpecification(Guid orderId) -``` - ---- - -#### GiftCardFromOrderSpecification (2 of 2) - -```csharp -public GiftCardFromOrderSpecification(string orderNumber) -``` - - -### Properties - -#### OrderId - -```csharp -public Guid? OrderId { get; } -``` - - ---- - -#### OrderNumber - -```csharp -public string OrderNumber { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardfromstorespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardfromstorespecification.md deleted file mode 100644 index 8dd763d8f75..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardfromstorespecification.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: GiftCardFromStoreSpecification -description: API reference for GiftCardFromStoreSpecification in Umbraco Commerce ---- -## GiftCardFromStoreSpecification - -```csharp -public class GiftCardFromStoreSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardFromStoreSpecification - -```csharp -public GiftCardFromStoreSpecification(Guid storeId) -``` - - -### Properties - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardhascodespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardhascodespecification.md deleted file mode 100644 index 14e137255a2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardhascodespecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: GiftCardHasCodeSpecification -description: API reference for GiftCardHasCodeSpecification in Umbraco Commerce ---- -## GiftCardHasCodeSpecification - -```csharp -public class GiftCardHasCodeSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardHasCodeSpecification (1 of 2) - -```csharp -public GiftCardHasCodeSpecification(string code) -``` - ---- - -#### GiftCardHasCodeSpecification (2 of 2) - -```csharp -public GiftCardHasCodeSpecification(IEnumerable codes) -``` - - -### Properties - -#### Codes - -```csharp -public IEnumerable Codes { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardhaspropertyspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardhaspropertyspecification.md deleted file mode 100644 index f06aea94c2f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardhaspropertyspecification.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: GiftCardHasPropertySpecification -description: API reference for GiftCardHasPropertySpecification in Umbraco Commerce ---- -## GiftCardHasPropertySpecification - -```csharp -public class GiftCardHasPropertySpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardHasPropertySpecification (1 of 2) - -```csharp -public GiftCardHasPropertySpecification(string key, string value, - StringComparisonType comparisonType) -``` - ---- - -#### GiftCardHasPropertySpecification (2 of 2) - -```csharp -public GiftCardHasPropertySpecification(KeyValuePair property, - StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### Property - -```csharp -public KeyValuePair Property { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardincurrencyspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardincurrencyspecification.md deleted file mode 100644 index 637612e1c60..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardincurrencyspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: GiftCardInCurrencySpecification -description: API reference for GiftCardInCurrencySpecification in Umbraco Commerce ---- -## GiftCardInCurrencySpecification - -```csharp -public class GiftCardInCurrencySpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardInCurrencySpecification (1 of 2) - -```csharp -public GiftCardInCurrencySpecification(Guid currencyId) -``` - ---- - -#### GiftCardInCurrencySpecification (2 of 2) - -```csharp -public GiftCardInCurrencySpecification(IEnumerable currencyIds) -``` - - -### Properties - -#### CurrencyIds - -```csharp -public IEnumerable CurrencyIds { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardqueryspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardqueryspecificationfactory.md deleted file mode 100644 index 7c91e46e9bf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardqueryspecificationfactory.md +++ /dev/null @@ -1,145 +0,0 @@ ---- -title: GiftCardQuerySpecificationFactory -description: API reference for GiftCardQuerySpecificationFactory in Umbraco Commerce ---- -## GiftCardQuerySpecificationFactory - -```csharp -public class GiftCardQuerySpecificationFactory : IGiftCardQuerySpecificationFactory -``` - -**Inheritance** - -* interface [IGiftCardQuerySpecificationFactory](igiftcardqueryspecificationfactory.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardQuerySpecificationFactory - -The default constructor. - -```csharp -public GiftCardQuerySpecificationFactory() -``` - - -### Methods - -#### CreatedAfter - -```csharp -public IQuerySpecification CreatedAfter(DateTime date) -``` - - ---- - -#### CreatedBefore - -```csharp -public IQuerySpecification CreatedBefore(DateTime date) -``` - - ---- - -#### CreatedBetween - -```csharp -public IQuerySpecification CreatedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### FromOrder (1 of 2) - -```csharp -public IQuerySpecification FromOrder(Guid orderId) -``` - ---- - -#### FromOrder (2 of 2) - -```csharp -public IQuerySpecification FromOrder(string orderNumber) -``` - - ---- - -#### FromStore - -```csharp -public IQuerySpecification FromStore(Guid storeId) -``` - - ---- - -#### HasCode (1 of 2) - -```csharp -public IQuerySpecification HasCode(string code) -``` - ---- - -#### HasCode (2 of 2) - -```csharp -public IQuerySpecification HasCode(IEnumerable codes) -``` - - ---- - -#### HasProperty (1 of 2) - -```csharp -public IQuerySpecification HasProperty(string key, string value, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - ---- - -#### HasProperty (2 of 2) - -```csharp -public IQuerySpecification HasProperty(KeyValuePair property, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### InCurrency (1 of 2) - -```csharp -public IQuerySpecification InCurrency(Guid currencyId) -``` - ---- - -#### InCurrency (2 of 2) - -```csharp -public IQuerySpecification InCurrency(IEnumerable currencyIds) -``` - - ---- - -#### SearchableFieldsMatch - -```csharp -public IQuerySpecification SearchableFieldsMatch(string searchTerm, - StringComparisonType comparisonType = StringComparisonType.Contains) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsearchablefieldsmatchspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsearchablefieldsmatchspecification.md deleted file mode 100644 index 1590bd5ebb2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsearchablefieldsmatchspecification.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: GiftCardSearchableFieldsMatchSpecification -description: API reference for GiftCardSearchableFieldsMatchSpecification in Umbraco Commerce ---- -## GiftCardSearchableFieldsMatchSpecification - -```csharp -public class GiftCardSearchableFieldsMatchSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardSearchableFieldsMatchSpecification - -```csharp -public GiftCardSearchableFieldsMatchSpecification(string searchTerm, - StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### SearchTerm - -```csharp -public string SearchTerm { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(GiftCardReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortbycreatedatespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortbycreatedatespecification.md deleted file mode 100644 index 031abc3302b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortbycreatedatespecification.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: GiftCardSortByCreateDateSpecification -description: API reference for GiftCardSortByCreateDateSpecification in Umbraco Commerce ---- -## GiftCardSortByCreateDateSpecification - -```csharp -public class GiftCardSortByCreateDateSpecification : SortSpecificationBase -``` - -**Inheritance** - -* Class [SortSpecificationBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardSortByCreateDateSpecification - -```csharp -public GiftCardSortByCreateDateSpecification(Sort sort = Sort.Ascending) -``` - - -### Methods - -#### Accept - -```csharp -public override void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortbyordernumberspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortbyordernumberspecification.md deleted file mode 100644 index 9c9b9fdd12d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortbyordernumberspecification.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: GiftCardSortByOrderNumberSpecification -description: API reference for GiftCardSortByOrderNumberSpecification in Umbraco Commerce ---- -## GiftCardSortByOrderNumberSpecification - -```csharp -public class GiftCardSortByOrderNumberSpecification : SortSpecificationBase -``` - -**Inheritance** - -* Class [SortSpecificationBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardSortByOrderNumberSpecification - -```csharp -public GiftCardSortByOrderNumberSpecification(Sort sort = Sort.Ascending) -``` - - -### Methods - -#### Accept - -```csharp -public override void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortspecificationfactory.md deleted file mode 100644 index 997fab4be7e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/giftcardsortspecificationfactory.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: GiftCardSortSpecificationFactory -description: API reference for GiftCardSortSpecificationFactory in Umbraco Commerce ---- -## GiftCardSortSpecificationFactory - -```csharp -public class GiftCardSortSpecificationFactory : IGiftCardSortSpecificationFactory -``` - -**Inheritance** - -* interface [IGiftCardSortSpecificationFactory](igiftcardsortspecificationfactory.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Constructors - -#### GiftCardSortSpecificationFactory - -The default constructor. - -```csharp -public GiftCardSortSpecificationFactory() -``` - - -### Methods - -#### ByCreateDate - -```csharp -public ISortSpecification ByCreateDate(Sort sort = Sort.Ascending) -``` - - ---- - -#### ByOrderNumber - -```csharp -public ISortSpecification ByOrderNumber(Sort sort = Sort.Ascending) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardqueryspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardqueryspecificationfactory.md deleted file mode 100644 index 0c6109cf20f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardqueryspecificationfactory.md +++ /dev/null @@ -1,130 +0,0 @@ ---- -title: IGiftCardQuerySpecificationFactory -description: API reference for IGiftCardQuerySpecificationFactory in Umbraco Commerce ---- -## IGiftCardQuerySpecificationFactory - -```csharp -public interface IGiftCardQuerySpecificationFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Methods - -#### CreatedAfter - -```csharp -public IQuerySpecification CreatedAfter(DateTime date) -``` - - ---- - -#### CreatedBefore - -```csharp -public IQuerySpecification CreatedBefore(DateTime date) -``` - - ---- - -#### CreatedBetween - -```csharp -public IQuerySpecification CreatedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### FromOrder (1 of 2) - -```csharp -public IQuerySpecification FromOrder(Guid orderId) -``` - ---- - -#### FromOrder (2 of 2) - -```csharp -public IQuerySpecification FromOrder(string orderNumber) -``` - - ---- - -#### FromStore - -```csharp -public IQuerySpecification FromStore(Guid storeId) -``` - - ---- - -#### HasCode (1 of 2) - -```csharp -public IQuerySpecification HasCode(string code) -``` - ---- - -#### HasCode (2 of 2) - -```csharp -public IQuerySpecification HasCode(IEnumerable codes) -``` - - ---- - -#### HasProperty (1 of 2) - -```csharp -public IQuerySpecification HasProperty(string key, string value, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - ---- - -#### HasProperty (2 of 2) - -```csharp -public IQuerySpecification HasProperty(KeyValuePair property, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### InCurrency (1 of 2) - -```csharp -public IQuerySpecification InCurrency(Guid currencyId) -``` - ---- - -#### InCurrency (2 of 2) - -```csharp -public IQuerySpecification InCurrency(IEnumerable currencyIds) -``` - - ---- - -#### SearchableFieldsMatch - -```csharp -public IQuerySpecification SearchableFieldsMatch(string searchTerm, - StringComparisonType comparisonType = StringComparisonType.Contains) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardsortspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardsortspecificationfactory.md deleted file mode 100644 index 410d39873c9..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardsortspecificationfactory.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: IGiftCardSortSpecificationFactory -description: API reference for IGiftCardSortSpecificationFactory in Umbraco Commerce ---- -## IGiftCardSortSpecificationFactory - -```csharp -public interface IGiftCardSortSpecificationFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - -### Methods - -#### ByCreateDate - -```csharp -public ISortSpecification ByCreateDate(Sort sort = Sort.Ascending) -``` - - ---- - -#### ByOrderNumber - -```csharp -public ISortSpecification ByOrderNumber(Sort sort = Sort.Ascending) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardspecificationvisitor.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardspecificationvisitor.md deleted file mode 100644 index 418e907a3d1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-giftcard/igiftcardspecificationvisitor.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -title: IGiftCardSpecificationVisitor -description: API reference for IGiftCardSpecificationVisitor in Umbraco Commerce ---- -## IGiftCardSpecificationVisitor - -```csharp -public interface IGiftCardSpecificationVisitor : IQuerySpecificationVisitor, - ISortSpecificationVisitor, IVisitor>, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, - IVisitor, - IVisitor, IVisitor>, - IVisitor>, IVisitor> -``` - -**Inheritance** - -* interface [IQuerySpecificationVisitor<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecificationvisitor-1.md) -* interface [ISortSpecificationVisitor<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecificationvisitor-1.md) -* interface [IVisitor<!0>](../../umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.GiftCard](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/README.md deleted file mode 100644 index a273bc1edde..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/README.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Specifications.Order -description: API reference for Umbraco.Commerce.Core.Specifications.Order in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Specifications.Order namespace - -| Public Type | Description | -| --- | --- | -| interface [IOrderQuerySpecificationFactory](iorderqueryspecificationfactory.md) | | -| interface [IOrderSortSpecificationFactory](iordersortspecificationfactory.md) | | -| interface [IOrderSpecificationVisitor](iorderspecificationvisitor.md) | | -| class [OrderByCustomerSpecification](orderbycustomerspecification.md) | | -| class [OrderCreatedBetweenSpecification](ordercreatedbetweenspecification.md) | | -| class [OrderFromStoreSpecification](orderfromstorespecification.md) | | -| class [OrderHasCartNumberSpecification](orderhascartnumberspecification.md) | | -| class [OrderHasCustomerEmailAddressSpecification](orderhascustomeremailaddressspecification.md) | | -| class [OrderHasCustomerFirstNameSpecification](orderhascustomerfirstnamespecification.md) | | -| class [OrderHasCustomerLastNameSpecification](orderhascustomerlastnamespecification.md) | | -| class [OrderHasOrderLinesSpecification](orderhasorderlinesspecification.md) | | -| class [OrderHasOrderLineWithProductSpecification](orderhasorderlinewithproductspecification.md) | | -| class [OrderHasOrderLineWithPropertySpecification](orderhasorderlinewithpropertyspecification.md) | | -| class [OrderHasOrderNumberSpecification](orderhasordernumberspecification.md) | | -| class [OrderHasOrderStatusSpecification](orderhasorderstatusspecification.md) | | -| class [OrderHasPaymentMethodSpecification](orderhaspaymentmethodspecification.md) | | -| class [OrderHasPaymentStatusSpecification](orderhaspaymentstatusspecification.md) | | -| class [OrderHasPropertySpecification](orderhaspropertyspecification.md) | | -| class [OrderHasShippingMethodSpecification](orderhasshippingmethodspecification.md) | | -| class [OrderHasTagSpecification](orderhastagspecification.md) | | -| class [OrderInCurrencySpecification](orderincurrencyspecification.md) | | -| class [OrderIsDiscountedSpecification](orderisdiscountedspecification.md) | | -| class [OrderIsFinalizedSpecification](orderisfinalizedspecification.md) | | -| class [OrderLastUpdatedBetweenSpecification](orderlastupdatedbetweenspecification.md) | | -| class [OrderPlacedBetweenSpecification](orderplacedbetweenspecification.md) | | -| class [OrderQuerySpecificationFactory](orderqueryspecificationfactory.md) | | -| class [OrderRedeemsSpecification](orderredeemsspecification.md) | | -| class [OrderSearchableFieldsMatchSpecification](ordersearchablefieldsmatchspecification.md) | | -| class [OrderSortByCreateDateSpecification](ordersortbycreatedatespecification.md) | | -| class [OrderSortByFinalizedDateSpecification](ordersortbyfinalizeddatespecification.md) | | -| class [OrderSortByOrderNumberSpecification](ordersortbyordernumberspecification.md) | | -| class [OrderSortSpecificationFactory](ordersortspecificationfactory.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iorderqueryspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iorderqueryspecificationfactory.md deleted file mode 100644 index f3876217982..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iorderqueryspecificationfactory.md +++ /dev/null @@ -1,395 +0,0 @@ ---- -title: IOrderQuerySpecificationFactory -description: API reference for IOrderQuerySpecificationFactory in Umbraco Commerce ---- -## IOrderQuerySpecificationFactory - -```csharp -public interface IOrderQuerySpecificationFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Methods - -#### ByCustomer - -```csharp -public IQuerySpecification ByCustomer(string customerReferenceOrEmail) -``` - - ---- - -#### CreatedAfter - -```csharp -public IQuerySpecification CreatedAfter(DateTime date) -``` - - ---- - -#### CreatedBefore - -```csharp -public IQuerySpecification CreatedBefore(DateTime date) -``` - - ---- - -#### CreatedBetween - -```csharp -public IQuerySpecification CreatedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### FromStore - -```csharp -public IQuerySpecification FromStore(Guid storeId) -``` - - ---- - -#### HasCartNumber - -```csharp -public IQuerySpecification HasCartNumber(string cartNumber, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasCustomerEmailAddress - -```csharp -public IQuerySpecification HasCustomerEmailAddress() -``` - - ---- - -#### HasCustomerEmailAddress - -```csharp -public IQuerySpecification HasCustomerEmailAddress(string email, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasCustomerFirstName - -```csharp -public IQuerySpecification HasCustomerFirstName(string firstName, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasCustomerLastName - -```csharp -public IQuerySpecification HasCustomerLastName(string lastName, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasOrderLines - -```csharp -public IQuerySpecification HasOrderLines() -``` - - ---- - -#### HasOrderLineWithProduct (1 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProduct(string productReferenceOrSku) -``` - ---- - -#### HasOrderLineWithProduct (2 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProduct(string productReferenceOrSku, - string productVariantReferenceOrSku) -``` - - ---- - -#### HasOrderLineWithProperty (1 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProperty(string key, string value, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - ---- - -#### HasOrderLineWithProperty (2 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProperty( - KeyValuePair property, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasOrderNumber - -```csharp -public IQuerySpecification HasOrderNumber(string orderNumber, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasOrderStatus (1 of 2) - -```csharp -public IQuerySpecification HasOrderStatus(Guid orderStatusId) -``` - ---- - -#### HasOrderStatus (2 of 2) - -```csharp -public IQuerySpecification HasOrderStatus(IEnumerable orderStatusIds) -``` - - ---- - -#### HasPaymentMethod (1 of 2) - -```csharp -public IQuerySpecification HasPaymentMethod(Guid paymentMethodId) -``` - ---- - -#### HasPaymentMethod (2 of 2) - -```csharp -public IQuerySpecification HasPaymentMethod(IEnumerable paymentMethodIds) -``` - - ---- - -#### HasPaymentStatus (1 of 2) - -```csharp -public IQuerySpecification HasPaymentStatus(PaymentStatus paymentStatus) -``` - ---- - -#### HasPaymentStatus (2 of 2) - -```csharp -public IQuerySpecification HasPaymentStatus( - IEnumerable paymentStatuses) -``` - - ---- - -#### HasProperty (1 of 2) - -```csharp -public IQuerySpecification HasProperty(string key, string value, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - ---- - -#### HasProperty (2 of 2) - -```csharp -public IQuerySpecification HasProperty(KeyValuePair property, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasShippingMethod (1 of 2) - -```csharp -public IQuerySpecification HasShippingMethod(Guid paymentMethodId) -``` - ---- - -#### HasShippingMethod (2 of 2) - -```csharp -public IQuerySpecification HasShippingMethod(IEnumerable paymentMethodIds) -``` - - ---- - -#### HasTag - -```csharp -public IQuerySpecification HasTag(string tag) -``` - - ---- - -#### HasTags - -```csharp -public IQuerySpecification HasTags(IEnumerable tags) -``` - - ---- - -#### InCurrency (1 of 2) - -```csharp -public IQuerySpecification InCurrency(Guid currencyId) -``` - ---- - -#### InCurrency (2 of 2) - -```csharp -public IQuerySpecification InCurrency(IEnumerable currencyIds) -``` - - ---- - -#### IsDiscounted (1 of 2) - -```csharp -public IQuerySpecification IsDiscounted(Guid discountId) -``` - ---- - -#### IsDiscounted (2 of 2) - -```csharp -public IQuerySpecification IsDiscounted(IEnumerable discountIds) -``` - - ---- - -#### IsFinalized - -```csharp -public IQuerySpecification IsFinalized() -``` - - ---- - -#### LastUpdatedAfter - -```csharp -public IQuerySpecification LastUpdatedAfter(DateTime date) -``` - - ---- - -#### LastUpdatedBefore - -```csharp -public IQuerySpecification LastUpdatedBefore(DateTime date) -``` - - ---- - -#### LastUpdatedBetween - -```csharp -public IQuerySpecification LastUpdatedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### PlacedAfter - -```csharp -public IQuerySpecification PlacedAfter(DateTime date) -``` - - ---- - -#### PlacedBefore - -```csharp -public IQuerySpecification PlacedBefore(DateTime date) -``` - - ---- - -#### PlacedBetween - -```csharp -public IQuerySpecification PlacedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### Redeems (1 of 2) - -```csharp -public IQuerySpecification Redeems(string discountOrGiftCardCode) -``` - ---- - -#### Redeems (2 of 2) - -```csharp -public IQuerySpecification Redeems(IEnumerable discountOrGiftCardCodes) -``` - - ---- - -#### SearchableFieldsMatch - -```csharp -public IQuerySpecification SearchableFieldsMatch(string searchTerm, - StringComparisonType comparisonType = StringComparisonType.Contains) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iordersortspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iordersortspecificationfactory.md deleted file mode 100644 index 08e02820ce7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iordersortspecificationfactory.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -title: IOrderSortSpecificationFactory -description: API reference for IOrderSortSpecificationFactory in Umbraco Commerce ---- -## IOrderSortSpecificationFactory - -```csharp -public interface IOrderSortSpecificationFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Methods - -#### ByCreateDate - -```csharp -public ISortSpecification ByCreateDate(Sort sort = Sort.Ascending) -``` - - ---- - -#### ByFinalizedDate - -```csharp -public ISortSpecification ByFinalizedDate(Sort sort = Sort.Ascending) -``` - - ---- - -#### ByOrderNumber - -```csharp -public ISortSpecification ByOrderNumber(Sort sort = Sort.Ascending) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iorderspecificationvisitor.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iorderspecificationvisitor.md deleted file mode 100644 index 2d72ee5fee1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/iorderspecificationvisitor.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: IOrderSpecificationVisitor -description: API reference for IOrderSpecificationVisitor in Umbraco Commerce ---- -## IOrderSpecificationVisitor - -```csharp -public interface IOrderSpecificationVisitor : IQuerySpecificationVisitor, - ISortSpecificationVisitor, IVisitor>, - IVisitor>, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, - IVisitor, IVisitor, - IVisitor, - IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor, - IVisitor, IVisitor>, - IVisitor> -``` - -**Inheritance** - -* interface [IQuerySpecificationVisitor<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecificationvisitor-1.md) -* interface [ISortSpecificationVisitor<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/isortspecificationvisitor-1.md) -* interface [IVisitor<!0>](../../umbraco-commerce-common/umbraco-commerce-common-visitors/ivisitor-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderbycustomerspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderbycustomerspecification.md deleted file mode 100644 index 426206f2c69..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderbycustomerspecification.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: OrderByCustomerSpecification -description: API reference for OrderByCustomerSpecification in Umbraco Commerce ---- -## OrderByCustomerSpecification - -```csharp -public class OrderByCustomerSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderByCustomerSpecification - -```csharp -public OrderByCustomerSpecification(string customerReferenceOrEmail) -``` - - -### Properties - -#### CustomerReferenceOrEmail - -```csharp -public string CustomerReferenceOrEmail { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordercreatedbetweenspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordercreatedbetweenspecification.md deleted file mode 100644 index d19aada6759..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordercreatedbetweenspecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderCreatedBetweenSpecification -description: API reference for OrderCreatedBetweenSpecification in Umbraco Commerce ---- -## OrderCreatedBetweenSpecification - -```csharp -public class OrderCreatedBetweenSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderCreatedBetweenSpecification - -```csharp -public OrderCreatedBetweenSpecification(DateTime? fromDate, DateTime? toDate) -``` - - -### Fields - -#### FromDate - -```csharp -public DateTime? FromDate; -``` - - ---- - -#### ToDate - -```csharp -public DateTime? ToDate; -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderfromstorespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderfromstorespecification.md deleted file mode 100644 index 07aebfde30b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderfromstorespecification.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: OrderFromStoreSpecification -description: API reference for OrderFromStoreSpecification in Umbraco Commerce ---- -## OrderFromStoreSpecification - -```csharp -public class OrderFromStoreSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderFromStoreSpecification - -```csharp -public OrderFromStoreSpecification(Guid storeId) -``` - - -### Properties - -#### StoreId - -```csharp -public Guid StoreId { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascartnumberspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascartnumberspecification.md deleted file mode 100644 index a347b9e8fc4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascartnumberspecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderHasCartNumberSpecification -description: API reference for OrderHasCartNumberSpecification in Umbraco Commerce ---- -## OrderHasCartNumberSpecification - -```csharp -public class OrderHasCartNumberSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasCartNumberSpecification - -```csharp -public OrderHasCartNumberSpecification(string cartNumber, StringComparisonType comparisonType) -``` - - -### Properties - -#### CartNumber - -```csharp -public string CartNumber { get; } -``` - - ---- - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomeremailaddressspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomeremailaddressspecification.md deleted file mode 100644 index 83b155ed901..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomeremailaddressspecification.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: OrderHasCustomerEmailAddressSpecification -description: API reference for OrderHasCustomerEmailAddressSpecification in Umbraco Commerce ---- -## OrderHasCustomerEmailAddressSpecification - -```csharp -public class OrderHasCustomerEmailAddressSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasCustomerEmailAddressSpecification - -The default constructor. - -```csharp -public OrderHasCustomerEmailAddressSpecification() -``` - - ---- - -#### OrderHasCustomerEmailAddressSpecification - -```csharp -public OrderHasCustomerEmailAddressSpecification(string email, StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### Email - -```csharp -public string Email { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomerfirstnamespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomerfirstnamespecification.md deleted file mode 100644 index 6682a3e4b70..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomerfirstnamespecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderHasCustomerFirstNameSpecification -description: API reference for OrderHasCustomerFirstNameSpecification in Umbraco Commerce ---- -## OrderHasCustomerFirstNameSpecification - -```csharp -public class OrderHasCustomerFirstNameSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasCustomerFirstNameSpecification - -```csharp -public OrderHasCustomerFirstNameSpecification(string firstName, StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### FirstName - -```csharp -public string FirstName { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomerlastnamespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomerlastnamespecification.md deleted file mode 100644 index 2ac734d27c3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhascustomerlastnamespecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderHasCustomerLastNameSpecification -description: API reference for OrderHasCustomerLastNameSpecification in Umbraco Commerce ---- -## OrderHasCustomerLastNameSpecification - -```csharp -public class OrderHasCustomerLastNameSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasCustomerLastNameSpecification - -```csharp -public OrderHasCustomerLastNameSpecification(string lastName, StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### LastName - -```csharp -public string LastName { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinesspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinesspecification.md deleted file mode 100644 index 3d2159c101e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinesspecification.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: OrderHasOrderLinesSpecification -description: API reference for OrderHasOrderLinesSpecification in Umbraco Commerce ---- -## OrderHasOrderLinesSpecification - -```csharp -public class OrderHasOrderLinesSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasOrderLinesSpecification - -The default constructor. - -```csharp -public OrderHasOrderLinesSpecification() -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinewithproductspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinewithproductspecification.md deleted file mode 100644 index e543c170f71..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinewithproductspecification.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: OrderHasOrderLineWithProductSpecification -description: API reference for OrderHasOrderLineWithProductSpecification in Umbraco Commerce ---- -## OrderHasOrderLineWithProductSpecification - -```csharp -public class OrderHasOrderLineWithProductSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasOrderLineWithProductSpecification (1 of 2) - -```csharp -public OrderHasOrderLineWithProductSpecification(string productReferenceOrSku) -``` - ---- - -#### OrderHasOrderLineWithProductSpecification (2 of 2) - -```csharp -public OrderHasOrderLineWithProductSpecification(string productReferenceOrSku, - string productVariantReferenceOrSku) -``` - - -### Properties - -#### ProductReferenceOrSku - -```csharp -public string ProductReferenceOrSku { get; } -``` - - ---- - -#### ProductVariantReferenceOrSku - -```csharp -public string ProductVariantReferenceOrSku { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinewithpropertyspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinewithpropertyspecification.md deleted file mode 100644 index 9c30a23813c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderlinewithpropertyspecification.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -title: OrderHasOrderLineWithPropertySpecification -description: API reference for OrderHasOrderLineWithPropertySpecification in Umbraco Commerce ---- -## OrderHasOrderLineWithPropertySpecification - -```csharp -public class OrderHasOrderLineWithPropertySpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasOrderLineWithPropertySpecification (1 of 2) - -```csharp -public OrderHasOrderLineWithPropertySpecification(string key, string value, - StringComparisonType comparisonType) -``` - ---- - -#### OrderHasOrderLineWithPropertySpecification (2 of 2) - -```csharp -public OrderHasOrderLineWithPropertySpecification(KeyValuePair property, - StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### Property - -```csharp -public KeyValuePair Property { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasordernumberspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasordernumberspecification.md deleted file mode 100644 index 181a0d197c5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasordernumberspecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderHasOrderNumberSpecification -description: API reference for OrderHasOrderNumberSpecification in Umbraco Commerce ---- -## OrderHasOrderNumberSpecification - -```csharp -public class OrderHasOrderNumberSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasOrderNumberSpecification - -```csharp -public OrderHasOrderNumberSpecification(string orderNumber, StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### OrderNumber - -```csharp -public string OrderNumber { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderstatusspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderstatusspecification.md deleted file mode 100644 index 7b2a4058f47..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasorderstatusspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderHasOrderStatusSpecification -description: API reference for OrderHasOrderStatusSpecification in Umbraco Commerce ---- -## OrderHasOrderStatusSpecification - -```csharp -public class OrderHasOrderStatusSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasOrderStatusSpecification (1 of 2) - -```csharp -public OrderHasOrderStatusSpecification(Guid orderStatusId) -``` - ---- - -#### OrderHasOrderStatusSpecification (2 of 2) - -```csharp -public OrderHasOrderStatusSpecification(IEnumerable orderStatusIds) -``` - - -### Properties - -#### OrderStatusIds - -```csharp -public IEnumerable OrderStatusIds { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspaymentmethodspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspaymentmethodspecification.md deleted file mode 100644 index 3926cfd93dc..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspaymentmethodspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderHasPaymentMethodSpecification -description: API reference for OrderHasPaymentMethodSpecification in Umbraco Commerce ---- -## OrderHasPaymentMethodSpecification - -```csharp -public class OrderHasPaymentMethodSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasPaymentMethodSpecification (1 of 2) - -```csharp -public OrderHasPaymentMethodSpecification(Guid paymentMethodId) -``` - ---- - -#### OrderHasPaymentMethodSpecification (2 of 2) - -```csharp -public OrderHasPaymentMethodSpecification(IEnumerable paymentMethodIds) -``` - - -### Properties - -#### PaymentMethodIds - -```csharp -public IEnumerable PaymentMethodIds { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspaymentstatusspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspaymentstatusspecification.md deleted file mode 100644 index d4e0874ea5c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspaymentstatusspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderHasPaymentStatusSpecification -description: API reference for OrderHasPaymentStatusSpecification in Umbraco Commerce ---- -## OrderHasPaymentStatusSpecification - -```csharp -public class OrderHasPaymentStatusSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasPaymentStatusSpecification (1 of 2) - -```csharp -public OrderHasPaymentStatusSpecification(PaymentStatus paymentStatus) -``` - ---- - -#### OrderHasPaymentStatusSpecification (2 of 2) - -```csharp -public OrderHasPaymentStatusSpecification(IEnumerable paymentStatuses) -``` - - -### Properties - -#### PaymentStatuses - -```csharp -public IEnumerable PaymentStatuses { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspropertyspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspropertyspecification.md deleted file mode 100644 index b950626a903..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhaspropertyspecification.md +++ /dev/null @@ -1,74 +0,0 @@ ---- -title: OrderHasPropertySpecification -description: API reference for OrderHasPropertySpecification in Umbraco Commerce ---- -## OrderHasPropertySpecification - -```csharp -public class OrderHasPropertySpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasPropertySpecification (1 of 2) - -```csharp -public OrderHasPropertySpecification(string key, string value, StringComparisonType comparisonType) -``` - ---- - -#### OrderHasPropertySpecification (2 of 2) - -```csharp -public OrderHasPropertySpecification(KeyValuePair property, - StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### Property - -```csharp -public KeyValuePair Property { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasshippingmethodspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasshippingmethodspecification.md deleted file mode 100644 index 070eeb61b60..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhasshippingmethodspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderHasShippingMethodSpecification -description: API reference for OrderHasShippingMethodSpecification in Umbraco Commerce ---- -## OrderHasShippingMethodSpecification - -```csharp -public class OrderHasShippingMethodSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasShippingMethodSpecification (1 of 2) - -```csharp -public OrderHasShippingMethodSpecification(Guid shippingMethodId) -``` - ---- - -#### OrderHasShippingMethodSpecification (2 of 2) - -```csharp -public OrderHasShippingMethodSpecification(IEnumerable shippingMethodIds) -``` - - -### Properties - -#### ShippingMethodIds - -```csharp -public IEnumerable ShippingMethodIds { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhastagspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhastagspecification.md deleted file mode 100644 index 33f9071b385..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderhastagspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderHasTagSpecification -description: API reference for OrderHasTagSpecification in Umbraco Commerce ---- -## OrderHasTagSpecification - -```csharp -public class OrderHasTagSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderHasTagSpecification (1 of 2) - -```csharp -public OrderHasTagSpecification(string tag) -``` - ---- - -#### OrderHasTagSpecification (2 of 2) - -```csharp -public OrderHasTagSpecification(IEnumerable tags) -``` - - -### Properties - -#### Tags - -```csharp -public IEnumerable Tags { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderincurrencyspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderincurrencyspecification.md deleted file mode 100644 index 9b2596f5e71..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderincurrencyspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderInCurrencySpecification -description: API reference for OrderInCurrencySpecification in Umbraco Commerce ---- -## OrderInCurrencySpecification - -```csharp -public class OrderInCurrencySpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderInCurrencySpecification (1 of 2) - -```csharp -public OrderInCurrencySpecification(Guid currencyId) -``` - ---- - -#### OrderInCurrencySpecification (2 of 2) - -```csharp -public OrderInCurrencySpecification(IEnumerable currencyIds) -``` - - -### Properties - -#### CurrencyIds - -```csharp -public IEnumerable CurrencyIds { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderisdiscountedspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderisdiscountedspecification.md deleted file mode 100644 index b8a39189c0b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderisdiscountedspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderIsDiscountedSpecification -description: API reference for OrderIsDiscountedSpecification in Umbraco Commerce ---- -## OrderIsDiscountedSpecification - -```csharp -public class OrderIsDiscountedSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderIsDiscountedSpecification (1 of 2) - -```csharp -public OrderIsDiscountedSpecification(Guid discountId) -``` - ---- - -#### OrderIsDiscountedSpecification (2 of 2) - -```csharp -public OrderIsDiscountedSpecification(IEnumerable discountIds) -``` - - -### Properties - -#### DiscountIds - -```csharp -public IEnumerable DiscountIds { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderisfinalizedspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderisfinalizedspecification.md deleted file mode 100644 index c9234e79cef..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderisfinalizedspecification.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: OrderIsFinalizedSpecification -description: API reference for OrderIsFinalizedSpecification in Umbraco Commerce ---- -## OrderIsFinalizedSpecification - -```csharp -public class OrderIsFinalizedSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderIsFinalizedSpecification - -The default constructor. - -```csharp -public OrderIsFinalizedSpecification() -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderlastupdatedbetweenspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderlastupdatedbetweenspecification.md deleted file mode 100644 index 09f1c982650..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderlastupdatedbetweenspecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderLastUpdatedBetweenSpecification -description: API reference for OrderLastUpdatedBetweenSpecification in Umbraco Commerce ---- -## OrderLastUpdatedBetweenSpecification - -```csharp -public class OrderLastUpdatedBetweenSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderLastUpdatedBetweenSpecification - -```csharp -public OrderLastUpdatedBetweenSpecification(DateTime? fromDate, DateTime? toDate) -``` - - -### Fields - -#### FromDate - -```csharp -public DateTime? FromDate; -``` - - ---- - -#### ToDate - -```csharp -public DateTime? ToDate; -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderplacedbetweenspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderplacedbetweenspecification.md deleted file mode 100644 index ea830d64871..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderplacedbetweenspecification.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: OrderPlacedBetweenSpecification -description: API reference for OrderPlacedBetweenSpecification in Umbraco Commerce ---- -## OrderPlacedBetweenSpecification - -```csharp -public class OrderPlacedBetweenSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderPlacedBetweenSpecification - -```csharp -public OrderPlacedBetweenSpecification(DateTime? fromDate, DateTime? toDate) -``` - - -### Fields - -#### FromDate - -```csharp -public DateTime? FromDate; -``` - - ---- - -#### ToDate - -```csharp -public DateTime? ToDate; -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderqueryspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderqueryspecificationfactory.md deleted file mode 100644 index 14432a13e64..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderqueryspecificationfactory.md +++ /dev/null @@ -1,410 +0,0 @@ ---- -title: OrderQuerySpecificationFactory -description: API reference for OrderQuerySpecificationFactory in Umbraco Commerce ---- -## OrderQuerySpecificationFactory - -```csharp -public class OrderQuerySpecificationFactory : IOrderQuerySpecificationFactory -``` - -**Inheritance** - -* interface [IOrderQuerySpecificationFactory](iorderqueryspecificationfactory.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderQuerySpecificationFactory - -The default constructor. - -```csharp -public OrderQuerySpecificationFactory() -``` - - -### Methods - -#### ByCustomer - -```csharp -public IQuerySpecification ByCustomer(string customerReferenceOrEmail) -``` - - ---- - -#### CreatedAfter - -```csharp -public IQuerySpecification CreatedAfter(DateTime date) -``` - - ---- - -#### CreatedBefore - -```csharp -public IQuerySpecification CreatedBefore(DateTime date) -``` - - ---- - -#### CreatedBetween - -```csharp -public IQuerySpecification CreatedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### FromStore - -```csharp -public IQuerySpecification FromStore(Guid storeId) -``` - - ---- - -#### HasCartNumber - -```csharp -public IQuerySpecification HasCartNumber(string cartNumber, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasCustomerEmailAddress - -```csharp -public IQuerySpecification HasCustomerEmailAddress() -``` - - ---- - -#### HasCustomerEmailAddress - -```csharp -public IQuerySpecification HasCustomerEmailAddress(string email, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasCustomerFirstName - -```csharp -public IQuerySpecification HasCustomerFirstName(string firstName, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasCustomerLastName - -```csharp -public IQuerySpecification HasCustomerLastName(string lastName, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasOrderLines - -```csharp -public IQuerySpecification HasOrderLines() -``` - - ---- - -#### HasOrderLineWithProduct (1 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProduct(string productReferenceOrSku) -``` - ---- - -#### HasOrderLineWithProduct (2 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProduct(string productReferenceOrSku, - string productVariantReferenceOrSku) -``` - - ---- - -#### HasOrderLineWithProperty (1 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProperty(string key, string value, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - ---- - -#### HasOrderLineWithProperty (2 of 2) - -```csharp -public IQuerySpecification HasOrderLineWithProperty( - KeyValuePair property, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasOrderNumber - -```csharp -public IQuerySpecification HasOrderNumber(string orderNumber, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasOrderStatus (1 of 2) - -```csharp -public IQuerySpecification HasOrderStatus(Guid orderStatusId) -``` - ---- - -#### HasOrderStatus (2 of 2) - -```csharp -public IQuerySpecification HasOrderStatus(IEnumerable orderStatusIds) -``` - - ---- - -#### HasPaymentMethod (1 of 2) - -```csharp -public IQuerySpecification HasPaymentMethod(Guid paymentMethodId) -``` - ---- - -#### HasPaymentMethod (2 of 2) - -```csharp -public IQuerySpecification HasPaymentMethod(IEnumerable paymentMethodIds) -``` - - ---- - -#### HasPaymentStatus (1 of 2) - -```csharp -public IQuerySpecification HasPaymentStatus(PaymentStatus paymentStatus) -``` - ---- - -#### HasPaymentStatus (2 of 2) - -```csharp -public IQuerySpecification HasPaymentStatus( - IEnumerable paymentStatuses) -``` - - ---- - -#### HasProperty (1 of 2) - -```csharp -public IQuerySpecification HasProperty(string key, string value, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - ---- - -#### HasProperty (2 of 2) - -```csharp -public IQuerySpecification HasProperty(KeyValuePair property, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - ---- - -#### HasShippingMethod (1 of 2) - -```csharp -public IQuerySpecification HasShippingMethod(Guid shippingMethodId) -``` - ---- - -#### HasShippingMethod (2 of 2) - -```csharp -public IQuerySpecification HasShippingMethod(IEnumerable shippingMethodIds) -``` - - ---- - -#### HasTag - -```csharp -public IQuerySpecification HasTag(string tag) -``` - - ---- - -#### HasTags - -```csharp -public IQuerySpecification HasTags(IEnumerable tags) -``` - - ---- - -#### InCurrency (1 of 2) - -```csharp -public IQuerySpecification InCurrency(Guid currencyId) -``` - ---- - -#### InCurrency (2 of 2) - -```csharp -public IQuerySpecification InCurrency(IEnumerable currencyIds) -``` - - ---- - -#### IsDiscounted (1 of 2) - -```csharp -public IQuerySpecification IsDiscounted(Guid discountId) -``` - ---- - -#### IsDiscounted (2 of 2) - -```csharp -public IQuerySpecification IsDiscounted(IEnumerable discountIds) -``` - - ---- - -#### IsFinalized - -```csharp -public IQuerySpecification IsFinalized() -``` - - ---- - -#### LastUpdatedAfter - -```csharp -public IQuerySpecification LastUpdatedAfter(DateTime date) -``` - - ---- - -#### LastUpdatedBefore - -```csharp -public IQuerySpecification LastUpdatedBefore(DateTime date) -``` - - ---- - -#### LastUpdatedBetween - -```csharp -public IQuerySpecification LastUpdatedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### PlacedAfter - -```csharp -public IQuerySpecification PlacedAfter(DateTime date) -``` - - ---- - -#### PlacedBefore - -```csharp -public IQuerySpecification PlacedBefore(DateTime date) -``` - - ---- - -#### PlacedBetween - -```csharp -public IQuerySpecification PlacedBetween(DateTime fromDate, DateTime toDate) -``` - - ---- - -#### Redeems (1 of 2) - -```csharp -public IQuerySpecification Redeems(string discountOrGiftCardCode) -``` - ---- - -#### Redeems (2 of 2) - -```csharp -public IQuerySpecification Redeems(IEnumerable discountOrGiftCardCodes) -``` - - ---- - -#### SearchableFieldsMatch - -```csharp -public IQuerySpecification SearchableFieldsMatch(string searchTerm, - StringComparisonType comparisonType = StringComparisonType.Equals) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderredeemsspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderredeemsspecification.md deleted file mode 100644 index 7a3546a25a3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/orderredeemsspecification.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: OrderRedeemsSpecification -description: API reference for OrderRedeemsSpecification in Umbraco Commerce ---- -## OrderRedeemsSpecification - -```csharp -public class OrderRedeemsSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderRedeemsSpecification (1 of 2) - -```csharp -public OrderRedeemsSpecification(string discountOrGiftCardCode) -``` - ---- - -#### OrderRedeemsSpecification (2 of 2) - -```csharp -public OrderRedeemsSpecification(IEnumerable discountOrGiftCardCodes) -``` - - -### Properties - -#### DiscountOrGiftCardCodes - -```csharp -public IEnumerable DiscountOrGiftCardCodes { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersearchablefieldsmatchspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersearchablefieldsmatchspecification.md deleted file mode 100644 index fc5ff4be0f3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersearchablefieldsmatchspecification.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: OrderSearchableFieldsMatchSpecification -description: API reference for OrderSearchableFieldsMatchSpecification in Umbraco Commerce ---- -## OrderSearchableFieldsMatchSpecification - -```csharp -public class OrderSearchableFieldsMatchSpecification : IQuerySpecification, - ISpecification -``` - -**Inheritance** - -* interface [IQuerySpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/iqueryspecification-1.md) -* interface [ISpecification<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/ispecification-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderSearchableFieldsMatchSpecification - -```csharp -public OrderSearchableFieldsMatchSpecification(string searchTerm, - StringComparisonType comparisonType) -``` - - -### Properties - -#### ComparisonType - -```csharp -public StringComparisonType ComparisonType { get; } -``` - - ---- - -#### SearchTerm - -```csharp -public string SearchTerm { get; } -``` - - -### Methods - -#### Accept - -```csharp -public void Accept(IVisitor visitor) -``` - - ---- - -#### IsSatisfiedBy - -```csharp -public bool IsSatisfiedBy(OrderReadOnly item) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbycreatedatespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbycreatedatespecification.md deleted file mode 100644 index e85f426681b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbycreatedatespecification.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: OrderSortByCreateDateSpecification -description: API reference for OrderSortByCreateDateSpecification in Umbraco Commerce ---- -## OrderSortByCreateDateSpecification - -```csharp -public class OrderSortByCreateDateSpecification : SortSpecificationBase -``` - -**Inheritance** - -* Class [SortSpecificationBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderSortByCreateDateSpecification - -```csharp -public OrderSortByCreateDateSpecification(Sort sort = Sort.Ascending) -``` - - -### Methods - -#### Accept - -```csharp -public override void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort(IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbyfinalizeddatespecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbyfinalizeddatespecification.md deleted file mode 100644 index d650d8e485c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbyfinalizeddatespecification.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: OrderSortByFinalizedDateSpecification -description: API reference for OrderSortByFinalizedDateSpecification in Umbraco Commerce ---- -## OrderSortByFinalizedDateSpecification - -```csharp -public class OrderSortByFinalizedDateSpecification : SortSpecificationBase -``` - -**Inheritance** - -* Class [SortSpecificationBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderSortByFinalizedDateSpecification - -```csharp -public OrderSortByFinalizedDateSpecification(Sort sort = Sort.Ascending) -``` - - -### Methods - -#### Accept - -```csharp -public override void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort(IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbyordernumberspecification.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbyordernumberspecification.md deleted file mode 100644 index 6b9a0262240..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortbyordernumberspecification.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: OrderSortByOrderNumberSpecification -description: API reference for OrderSortByOrderNumberSpecification in Umbraco Commerce ---- -## OrderSortByOrderNumberSpecification - -```csharp -public class OrderSortByOrderNumberSpecification : SortSpecificationBase -``` - -**Inheritance** - -* Class [SortSpecificationBase<!0>](../../umbraco-commerce-common/umbraco-commerce-common-specifications/sortspecificationbase-1.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderSortByOrderNumberSpecification - -```csharp -public OrderSortByOrderNumberSpecification(Sort sort = Sort.Ascending) -``` - - -### Methods - -#### Accept - -```csharp -public override void Accept(IVisitor visitor) -``` - - ---- - -#### InvokeSort (1 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort(IEnumerable collection) -``` - ---- - -#### InvokeSort (2 of 2) - -```csharp -public override IOrderedEnumerable InvokeSort( - IOrderedEnumerable collection) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortspecificationfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortspecificationfactory.md deleted file mode 100644 index fffa842a871..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-specifications-order/ordersortspecificationfactory.md +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: OrderSortSpecificationFactory -description: API reference for OrderSortSpecificationFactory in Umbraco Commerce ---- -## OrderSortSpecificationFactory - -```csharp -public class OrderSortSpecificationFactory : IOrderSortSpecificationFactory -``` - -**Inheritance** - -* interface [IOrderSortSpecificationFactory](iordersortspecificationfactory.md) - -**Namespace** -* [Umbraco.Commerce.Core.Specifications.Order](README.md) - -### Constructors - -#### OrderSortSpecificationFactory - -The default constructor. - -```csharp -public OrderSortSpecificationFactory() -``` - - -### Methods - -#### ByCreateDate - -```csharp -public ISortSpecification ByCreateDate(Sort sort = Sort.Ascending) -``` - - ---- - -#### ByFinalizedDate - -```csharp -public ISortSpecification ByFinalizedDate(Sort sort = Sort.Ascending) -``` - - ---- - -#### ByOrderNumber - -```csharp -public ISortSpecification ByOrderNumber(Sort sort = Sort.Ascending) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/README.md deleted file mode 100644 index 8d4f0ba0e7b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Tax -description: API reference for Umbraco.Commerce.Core.Tax in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Tax namespace - -| Public Type | Description | -| --- | --- | -| class [DestinationTaxSourceFactory](destinationtaxsourcefactory.md) | | -| interface [ITaxSourceFactory](itaxsourcefactory.md) | | -| class [OriginTaxSourceFactory](origintaxsourcefactory.md) | | -| abstract class [TaxSourceFactoryBase](taxsourcefactorybase.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/destinationtaxsourcefactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/destinationtaxsourcefactory.md deleted file mode 100644 index 9ed02814306..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/destinationtaxsourcefactory.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: DestinationTaxSourceFactory -description: API reference for DestinationTaxSourceFactory in Umbraco Commerce ---- -## DestinationTaxSourceFactory - -```csharp -public class DestinationTaxSourceFactory : TaxSourceFactoryBase -``` - -**Inheritance** - -* Class [TaxSourceFactoryBase](taxsourcefactorybase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Tax](README.md) - -### Constructors - -#### DestinationTaxSourceFactory - -The default constructor. - -```csharp -public DestinationTaxSourceFactory() -``` - - -### Methods - -#### Create - -```csharp -public override TaxSource Create(Guid? paymentCountryId, Guid? paymentRegionId = default(Guid?), - Guid? shippingCountryId = default(Guid?), Guid? shippingRegionId = default(Guid?)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/itaxsourcefactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/itaxsourcefactory.md deleted file mode 100644 index 762eb889bf6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/itaxsourcefactory.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: ITaxSourceFactory -description: API reference for ITaxSourceFactory in Umbraco Commerce ---- -## ITaxSourceFactory - -```csharp -public interface ITaxSourceFactory -``` - -**Namespace** -* [Umbraco.Commerce.Core.Tax](README.md) - -### Methods - -#### Create (1 of 2) - -```csharp -public TaxSource Create(OrderReadOnly order) -``` - ---- - -#### Create (2 of 2) - -```csharp -public TaxSource Create(Guid? paymentCountryId, Guid? paymentRegionId = default(Guid?), - Guid? shippingCountryId = default(Guid?), Guid? shippingRegionId = default(Guid?)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/origintaxsourcefactory.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/origintaxsourcefactory.md deleted file mode 100644 index 8d1d0eab89e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/origintaxsourcefactory.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: OriginTaxSourceFactory -description: API reference for OriginTaxSourceFactory in Umbraco Commerce ---- -## OriginTaxSourceFactory - -```csharp -public class OriginTaxSourceFactory : TaxSourceFactoryBase -``` - -**Inheritance** - -* Class [TaxSourceFactoryBase](taxsourcefactorybase.md) - -**Namespace** -* [Umbraco.Commerce.Core.Tax](README.md) - -### Constructors - -#### OriginTaxSourceFactory - -The default constructor. - -```csharp -public OriginTaxSourceFactory() -``` - - -### Methods - -#### Create - -```csharp -public override TaxSource Create(Guid? paymentCountryId, Guid? paymentRegionId = default(Guid?), - Guid? shippingCountryId = default(Guid?), Guid? shippingRegionId = default(Guid?)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/taxsourcefactorybase.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/taxsourcefactorybase.md deleted file mode 100644 index 9c88ec0f548..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-tax/taxsourcefactorybase.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: TaxSourceFactoryBase -description: API reference for TaxSourceFactoryBase in Umbraco Commerce ---- -## TaxSourceFactoryBase - -```csharp -public abstract class TaxSourceFactoryBase : ITaxSourceFactory -``` - -**Inheritance** - -* interface [ITaxSourceFactory](itaxsourcefactory.md) - -**Namespace** -* [Umbraco.Commerce.Core.Tax](README.md) - -### Methods - -#### Create - -```csharp -public TaxSource Create(OrderReadOnly order) -``` - - ---- - -#### Create - -```csharp -public abstract TaxSource Create(Guid? paymentCountryId, Guid? paymentRegionId = default(Guid?), - Guid? shippingCountryId = default(Guid?), Guid? shippingRegionId = default(Guid?)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/README.md deleted file mode 100644 index c0d2e2da133..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Core.Templating -description: API reference for Umbraco.Commerce.Core.Templating in Umbraco Commerce ---- -## Umbraco.Commerce.Core.Templating namespace - -| Public Type | Description | -| --- | --- | -| interface [ITemplateEngine](itemplateengine.md) | | -| class [ViewTemplateEngine](viewtemplateengine.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/itemplateengine.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/itemplateengine.md deleted file mode 100644 index dc254f30f27..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/itemplateengine.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: ITemplateEngine -description: API reference for ITemplateEngine in Umbraco Commerce ---- -## ITemplateEngine - -```csharp -public interface ITemplateEngine -``` - -**Namespace** -* [Umbraco.Commerce.Core.Templating](README.md) - -### Methods - -#### GetTemplateViews - -```csharp -public IEnumerable GetTemplateViews() -``` - - ---- - -#### RenderTemplateView - -```csharp -public string RenderTemplateView(string templateViewPath, object model, string languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/viewtemplateengine.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/viewtemplateengine.md deleted file mode 100644 index 52a1343279a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-templating/viewtemplateengine.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ViewTemplateEngine -description: API reference for ViewTemplateEngine in Umbraco Commerce ---- -## ViewTemplateEngine - -```csharp -public class ViewTemplateEngine : ITemplateEngine -``` - -**Inheritance** - -* interface [ITemplateEngine](itemplateengine.md) - -**Namespace** -* [Umbraco.Commerce.Core.Templating](README.md) - -### Constructors - -#### ViewTemplateEngine - -```csharp -public ViewTemplateEngine(IViewEngine viewEngine) -``` - - -### Methods - -#### GetTemplateViews - -```csharp -public IEnumerable GetTemplateViews() -``` - - ---- - -#### RenderTemplateView - -```csharp -public string RenderTemplateView(string templateViewPath, object model, string languageIsoCode) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-viewengines/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-viewengines/README.md deleted file mode 100644 index 36858383f8c..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-viewengines/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Core.ViewEngines -description: API reference for Umbraco.Commerce.Core.ViewEngines in Umbraco Commerce ---- -## Umbraco.Commerce.Core.ViewEngines namespace - -| Public Type | Description | -| --- | --- | -| interface [IViewEngine](iviewengine.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-viewengines/iviewengine.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-viewengines/iviewengine.md deleted file mode 100644 index 8a6013af0cf..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core-viewengines/iviewengine.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: IViewEngine -description: API reference for IViewEngine in Umbraco Commerce ---- -## IViewEngine - -```csharp -public interface IViewEngine -``` - -**Namespace** -* [Umbraco.Commerce.Core.ViewEngines](README.md) - -### Methods - -#### RenderView - -```csharp -public string RenderView(string viewPath, object model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/README.md deleted file mode 100644 index af326c245ec..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Core -description: API reference for Umbraco.Commerce.Core in Umbraco Commerce ---- -## Umbraco.Commerce.Core namespace - -| Public Type | Description | -| --- | --- | -| static class [Constants](constants.md) | Umbraco Commerce constant variables | -| interface [IUmbracoCommerceBuilder](iumbracocommercebuilder.md) | | -| class [SequentialGuidProvider](sequentialguidprovider.md) | | -| class [UmbracoCommerceUnitOfWorkDefaultOptions](umbracocommerceunitofworkdefaultoptions.md) | | -| class [UmbracoCommerceUnitOfWorkOptions](umbracocommerceunitofworkoptions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/constants.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/constants.md deleted file mode 100644 index e2b3a05e09f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/constants.md +++ /dev/null @@ -1,493 +0,0 @@ ---- -title: Constants -description: API reference for Constants in Umbraco Commerce ---- -## Constants - -Umbraco Commerce constant variables - -```csharp -public static class Constants -``` - -**Namespace** -* [Umbraco.Commerce.Core](README.md) - -### Fields - -#### DefaultMonetaryPrecision - -The default precision of monetary values - -```csharp -public static int DefaultMonetaryPrecision; -``` - - ---- - -#### InstanceId - -Defines a unique instance ID for this instance of Umbraco Commerce. - -```csharp -public static string InstanceId; -``` - - -### Classes - -#### Constants.Entities - -Entity related constants - -```csharp -public static class Entities -``` - -##### Classes - -#### Constants.Entities.EntityTypes - -Entity type constants - -```csharp -public static class EntityTypes -``` - -##### Fields - -#### Cart - -Cart entity type - -```csharp -public const string Cart; -``` - - ---- - -#### Country - -Country entity type - -```csharp -public const string Country; -``` - - ---- - -#### Currency - -Currency entity type - -```csharp -public const string Currency; -``` - - ---- - -#### Discount - -Discount entity type - -```csharp -public const string Discount; -``` - - ---- - -#### EmailTemplate - -Email Template entity type - -```csharp -public const string EmailTemplate; -``` - - ---- - -#### ExportTemplate - -Export Template entity type - -```csharp -public const string ExportTemplate; -``` - - ---- - -#### GiftCard - -Gift Card entity type - -```csharp -public const string GiftCard; -``` - - ---- - -#### Order - -Order entity type - -```csharp -public const string Order; -``` - - ---- - -#### OrderStatus - -Order Status entity type - -```csharp -public const string OrderStatus; -``` - - ---- - -#### PaymentMethod - -Payment Method entity type - -```csharp -public const string PaymentMethod; -``` - - ---- - -#### PrintTemplate - -Print Template entity type - -```csharp -public const string PrintTemplate; -``` - - ---- - -#### ProductAttribute - -Product Attribute entity type - -```csharp -public const string ProductAttribute; -``` - - ---- - -#### ProductAttributePreset - -Product Attribute Preset entity type - -```csharp -public const string ProductAttributePreset; -``` - - ---- - -#### ProductAttributeValue - -Product Attribute Value entity type - -```csharp -public const string ProductAttributeValue; -``` - - ---- - -#### Region - -Region entity type - -```csharp -public const string Region; -``` - - ---- - -#### ShippingMethod - -Shipping Method entity type - -```csharp -public const string ShippingMethod; -``` - - ---- - -#### Store - -Store entity type - -```csharp -public const string Store; -``` - - ---- - -#### TaxClass - -Tax Class entity type - -```csharp -public const string TaxClass; -``` - - - - ---- - -#### Constants.PaymentProviders - -Payment provider related constants - -```csharp -public static class PaymentProviders -``` - -##### Classes - -#### Constants.PaymentProviders.Aliases - -Payment provider aliases - -```csharp -public static class Aliases -``` - -##### Fields - -#### Invoicing - -The invoicing payment provider alias - -```csharp -public const string Invoicing; -``` - - ---- - -#### ZeroValue - -The zero value payment provider alias - -```csharp -public const string ZeroValue; -``` - - - - ---- - -#### Constants.Properties - -Property constants - -```csharp -public static class Properties -``` - -##### Classes - -#### Constants.Properties.Customer - -Customer property constants - -```csharp -public static class Customer -``` - -##### Fields - -#### EmailPropertyAlias - -The property alias of the customer Email property - -```csharp -public const string EmailPropertyAlias; -``` - - ---- - -#### FirstNamePropertyAlias - -The property alias of the customer First Name property - -```csharp -public const string FirstNamePropertyAlias; -``` - - ---- - -#### LastNamePropertyAlias - -The property alias of the customer Last Name property - -```csharp -public const string LastNamePropertyAlias; -``` - - - ---- - -#### Constants.Properties.Product - -Product property constants - -```csharp -public static class Product -``` - -##### Fields - -#### IsGiftCardPropertyAlias - -The property alias of the product Is Gift Card property - -```csharp -public const string IsGiftCardPropertyAlias; -``` - - ---- - -#### IsRecurringPropertyAlias - -The property alias of the product Is Recurring property - -```csharp -public const string IsRecurringPropertyAlias; -``` - - ---- - -#### NamePropertyAlias - -The property alias of the product Product Name property - -```csharp -public const string NamePropertyAlias; -``` - -**Remarks** - -If a productName property isn't present, the nodes Name will be used - - - - ---- - -#### Constants.System - -System constants - -```csharp -public static class System -``` - -##### Fields - -#### ConnectionStringName - -The connection string name for the Umbraco Commerce database - -```csharp -public const string ConnectionStringName; -``` - - ---- - -#### MigrationPlanName - -The Umbraco Commerce migration plan name - -```csharp -public const string MigrationPlanName; -``` - - ---- - -#### ProductAlias - -The UmbracoCommerce product alias - -```csharp -public const string ProductAlias; -``` - - ---- - -#### ProductId - -The Umbraco Commerce product ID - -```csharp -public const string ProductId; -``` - - ---- - -#### ProductName - -The Umbraco Commerce product name - -```csharp -public const string ProductName; -``` - - -##### Classes - -#### Constants.System.Messages - -System message constants - -```csharp -public static class Messages -``` - -##### Fields - -#### ScaffoldToWritableExceptionMessage - -Exception message to display if a scaffold entity is attempted to be made writable - -```csharp -public const string ScaffoldToWritableExceptionMessage; -``` - - - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/iumbracocommercebuilder.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/iumbracocommercebuilder.md deleted file mode 100644 index c41e9bf6808..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/iumbracocommercebuilder.md +++ /dev/null @@ -1,51 +0,0 @@ ---- -title: IUmbracoCommerceBuilder -description: API reference for IUmbracoCommerceBuilder in Umbraco Commerce ---- -## IUmbracoCommerceBuilder - -```csharp -public interface IUmbracoCommerceBuilder -``` - -**Namespace** -* [Umbraco.Commerce.Core](README.md) - -### Properties - -#### Config - -```csharp -public IConfiguration Config { get; } -``` - - ---- - -#### Services - -```csharp -public IServiceCollection Services { get; } -``` - - -### Methods - -#### Build - -```csharp -public void Build() -``` - - ---- - -#### WithCollectionBuilder<TBuilder> - -```csharp -public TBuilder WithCollectionBuilder() - where TBuilder : IComposedCollectionBuilder, new() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/sequentialguidprovider.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/sequentialguidprovider.md deleted file mode 100644 index 9808bad4922..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/sequentialguidprovider.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: SequentialGuidProvider -description: API reference for SequentialGuidProvider in Umbraco Commerce ---- -## SequentialGuidProvider - -```csharp -public class SequentialGuidProvider : IGuidProvider -``` - -**Inheritance** - -* interface [IGuidProvider](../../umbraco-commerce-common/umbraco-commerce-common/iguidprovider.md) - -**Namespace** -* [Umbraco.Commerce.Core](README.md) - -### Constructors - -#### SequentialGuidProvider - -The default constructor. - -```csharp -public SequentialGuidProvider() -``` - - -### Methods - -#### CreateGuid - -```csharp -public Guid CreateGuid() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/umbracocommerceunitofworkdefaultoptions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/umbracocommerceunitofworkdefaultoptions.md deleted file mode 100644 index 6e24feacd69..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/umbracocommerceunitofworkdefaultoptions.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: UmbracoCommerceUnitOfWorkDefaultOptions -description: API reference for UmbracoCommerceUnitOfWorkDefaultOptions in Umbraco Commerce ---- -## UmbracoCommerceUnitOfWorkDefaultOptions - -```csharp -public class UmbracoCommerceUnitOfWorkDefaultOptions -``` - -**Namespace** -* [Umbraco.Commerce.Core](README.md) - -### Constructors - -#### UmbracoCommerceUnitOfWorkDefaultOptions - -The default constructor. - -```csharp -public UmbracoCommerceUnitOfWorkDefaultOptions() -``` - - -### Properties - -#### AutoComplete - -```csharp -public bool? AutoComplete { get; set; } -``` - - ---- - -#### IsolationLevel - -```csharp -public IsolationLevel? IsolationLevel { get; set; } -``` - - ---- - -#### Timeout - -```csharp -public int? Timeout { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/umbracocommerceunitofworkoptions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/umbracocommerceunitofworkoptions.md deleted file mode 100644 index 67099aac90a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-core/umbracocommerceunitofworkoptions.md +++ /dev/null @@ -1,78 +0,0 @@ ---- -title: UmbracoCommerceUnitOfWorkOptions -description: API reference for UmbracoCommerceUnitOfWorkOptions in Umbraco Commerce ---- -## UmbracoCommerceUnitOfWorkOptions - -```csharp -public class UmbracoCommerceUnitOfWorkOptions : IUnitOfWorkOptions -``` - -**Inheritance** - -* interface [IUnitOfWorkOptions](../../umbraco-commerce-common/umbraco-commerce-common/iunitofworkoptions.md) - -**Namespace** -* [Umbraco.Commerce.Core](README.md) - -### Constructors - -#### UmbracoCommerceUnitOfWorkOptions - -The default constructor. - -```csharp -public UmbracoCommerceUnitOfWorkOptions() -``` - - ---- - -#### UmbracoCommerceUnitOfWorkOptions - -```csharp -public UmbracoCommerceUnitOfWorkOptions(IsolationLevel? isolationLevel = null, int? timeout = null, - bool? autoComplete = null) -``` - - -### Properties - -#### AutoComplete - -```csharp -public bool? AutoComplete { get; set; } -``` - - ---- - -#### IsolationLevel - -```csharp -public IsolationLevel? IsolationLevel { get; set; } -``` - - ---- - -#### Timeout - -Milliseconds - -```csharp -public int? Timeout { get; set; } -``` - - -### Methods - -#### CreateNormalizeClone - -```csharp -public static UmbracoCommerceUnitOfWorkOptions CreateNormalizeClone(IUnitOfWorkOptions options, - UmbracoCommerceUnitOfWorkDefaultOptions defaultOptions) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/README.md deleted file mode 100644 index 96b2ea6f529..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [AdjustedPriceExtensions](adjustedpriceextensions.md) | Extensions methods for !:DiscountedPrice entities | -| static class [AmountExtensions](amountextensions.md) | Extensions methods for [`IAmount`](umbraco-commerce-core-models/iamount.md) entities | -| static class [CompositionExtensions](compositionextensions.md) | | -| static class [CurrencyExtensions](currencyextensions.md) | | -| static class [DictionaryExtensions](dictionaryextensions.md) | Dictionary extension methods | -| static class [EnumerableExtensions](enumerableextensions.md) | Extensions for enumerable sources | -| static class [IProductServiceExtensions](iproductserviceextensions.md) | Extension methods for the Product service | -| static class [IProductSnapshotExtensions](iproductsnapshotextensions.md) | | -| static class [ITranslationServiceExtensions](itranslationserviceextensions.md) | Extension methods for the Translation service | -| static class [OrderExtensions](orderextensions.md) | Extension methods for an Order | -| static class [OrderReferenceExtensions](orderreferenceextensions.md) | | -| static class [PaymentMethodExtensions](paymentmethodextensions.md) | | -| static class [PriceExtensions](priceextensions.md) | Extensions methods for [`IPrice`](umbraco-commerce-core-models/iprice.md) entities | -| static class [ShippingMethodExtensions](shippingmethodextensions.md) | | -| static class [UmbracoCommerceBuilderExtensions](umbracocommercebuilderextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/adjustedpriceextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/adjustedpriceextensions.md deleted file mode 100644 index 8028c81b2ab..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/adjustedpriceextensions.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: AdjustedPriceExtensions -description: API reference for AdjustedPriceExtensions in Umbraco Commerce ---- -## AdjustedPriceExtensions - -Extensions methods for !:DiscountedPrice entities - -```csharp -public static class AdjustedPriceExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Formatted - -Formats the [`AdjustedPrice`](../umbraco-commerce-core-models/adjustedprice.md) value for the given prices [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public static FormattedPrice Formatted(this AdjustedPrice price) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| | The [`AdjustedPrice`](../umbraco-commerce-core-models/adjustedprice.md) to format | - -**Returns** - -A [`FormattedAmount`](../umbraco-commerce-core-models/formattedamount.md) instance - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/amountextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/amountextensions.md deleted file mode 100644 index 8ceb3893a8e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/amountextensions.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -title: AmountExtensions -description: API reference for AmountExtensions in Umbraco Commerce ---- -## AmountExtensions - -Extensions methods for [`IAmount`](../umbraco-commerce-core-models/iamount.md) entities - -```csharp -public static class AmountExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Formatted (1 of 2) - -Formats the [`IAmount`](../umbraco-commerce-core-models/iamount.md) value for the given amounts [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public static FormattedAmount Formatted(this IAmount value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The [`IAmount`](../umbraco-commerce-core-models/iamount.md) to format | - -**Returns** - -A [`FormattedAmount`](../umbraco-commerce-core-models/formattedamount.md) instance - ---- - -#### Formatted (2 of 2) - -Formats the [`IAmount`](../umbraco-commerce-core-models/iamount.md) value for the given amounts [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public static FormattedAmount Formatted(this IAmount value, int decimalPlaces) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The [`IAmount`](../umbraco-commerce-core-models/iamount.md) to format | -| decimalPlaces | The number of decimal places to format to | - -**Returns** - -A [`FormattedAmount`](../umbraco-commerce-core-models/formattedamount.md) instance - - ---- - -#### Rounded - -Round the amount to the presission of the amounts culture number format - -```csharp -public static Amount Rounded(this Amount amount) -``` - -**Returns** - -A rounded amount value - - ---- - -#### RoundedIf - -Round the amount to the presission of the amounts culture number format if the given predicate is true - -```csharp -public static Amount RoundedIf(this Amount amount, Predicate test) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| amount | The amount to be rounded | -| test | The predicate to determine if the amount should be rounded or not | - -**Returns** - -A rounded amount value - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/compositionextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/compositionextensions.md deleted file mode 100644 index a72bbba70d7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/compositionextensions.md +++ /dev/null @@ -1,164 +0,0 @@ ---- -title: CompositionExtensions -description: API reference for CompositionExtensions in Umbraco Commerce ---- -## CompositionExtensions - -```csharp -public static class CompositionExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### WithCalculateOrderAdjustedPricesPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderAdjustedPricesPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderAdjustedTransactionAmountPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderAdjustedTransactionAmountPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderLineAdjustedPricesPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderLineAdjustedPricesPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderLinePricesPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderLinePricesPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderLineTaxRatesPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderLineTaxRatesPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderPricesPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderPricesPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderTaxRatesPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderTaxRatesPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderTotalPricePipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderTotalPricePipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderTotalTransactionAmountPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderTotalTransactionAmountPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithCalculateOrderTransactionAmountPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithCalculateOrderTransactionAmountPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithInitStorePipeline - -```csharp -public static PipelineTaskCollectionBuilder WithInitStorePipeline( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithLimitOrderDiscountsPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithLimitOrderDiscountsPipeline(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithSendEmailPipeline - -```csharp -public static PipelineTaskCollectionBuilder WithSendEmailPipeline( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithTelemetryDataPipeline - -```csharp -public static PipelineTaskCollectionBuilder - WithTelemetryDataPipeline(this IUmbracoCommerceBuilder builder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/currencyextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/currencyextensions.md deleted file mode 100644 index 3f92c5191a6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/currencyextensions.md +++ /dev/null @@ -1,42 +0,0 @@ ---- -title: CurrencyExtensions -description: API reference for CurrencyExtensions in Umbraco Commerce ---- -## CurrencyExtensions - -```csharp -public static class CurrencyExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### FormatValue (1 of 2) - -```csharp -public static string FormatValue(this CurrencyReadOnly currency, decimal value, - bool includeSymbol = true) -``` - ---- - -#### FormatValue (2 of 2) - -```csharp -public static string FormatValue(this CurrencyReadOnly currency, decimal value, int decimalPlaces, - bool includeSymbol = true) -``` - - ---- - -#### RoundValue - -```csharp -public static decimal RoundValue(this CurrencyReadOnly currency, decimal value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/dictionaryextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/dictionaryextensions.md deleted file mode 100644 index f21048b4db7..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/dictionaryextensions.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: DictionaryExtensions -description: API reference for DictionaryExtensions in Umbraco Commerce ---- -## DictionaryExtensions - -Dictionary extension methods - -```csharp -public static class DictionaryExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/enumerableextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/enumerableextensions.md deleted file mode 100644 index c02e27524ed..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/enumerableextensions.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: EnumerableExtensions -description: API reference for EnumerableExtensions in Umbraco Commerce ---- -## EnumerableExtensions - -Extensions for enumerable sources - -```csharp -public static class EnumerableExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Sum (1 of 4) - -```csharp -public static Price Sum(this IEnumerable adjustments, Guid currencyId) -``` - ---- - -#### Sum (2 of 4) - -```csharp -public static Amount Sum(this IEnumerable adjustments, Guid currencyId) -``` - ---- - -#### Sum (3 of 4) - -```csharp -public static Amount Sum(this IEnumerable amounts, Guid currencyId) -``` - ---- - -#### Sum (4 of 4) - -```csharp -public static Price Sum(this IEnumerable prices, Guid currencyId) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/iproductserviceextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/iproductserviceextensions.md deleted file mode 100644 index ee621411bb5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/iproductserviceextensions.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: IProductServiceExtensions -description: API reference for IProductServiceExtensions in Umbraco Commerce ---- -## IProductServiceExtensions - -Extension methods for the Product service - -```csharp -public static class IProductServiceExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/iproductsnapshotextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/iproductsnapshotextensions.md deleted file mode 100644 index 61ce0ae8f2b..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/iproductsnapshotextensions.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: IProductSnapshotExtensions -description: API reference for IProductSnapshotExtensions in Umbraco Commerce ---- -## IProductSnapshotExtensions - -```csharp -public static class IProductSnapshotExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### CalculatePrice (1 of 4) - -```csharp -public static Price CalculatePrice(this IProductSnapshot product) -``` - ---- - -#### CalculatePrice (2 of 4) - -```csharp -public static Price CalculatePrice(this IProductSnapshot product, OrderReadOnly currentOrder) -``` - ---- - -#### CalculatePrice (3 of 4) - -```csharp -public static Price CalculatePrice(this IProductSnapshot product, - SessionManagerAccessor sessionAccessor, IProductCalculator calculator, - ITaxSourceFactory taxSourceFactory) -``` - ---- - -#### CalculatePrice (4 of 4) - -```csharp -public static Price CalculatePrice(this IProductSnapshot product, OrderReadOnly currentOrder, - IProductCalculator calculator, ITaxSourceFactory taxSourceFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/itranslationserviceextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/itranslationserviceextensions.md deleted file mode 100644 index 717f1370254..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/itranslationserviceextensions.md +++ /dev/null @@ -1,64 +0,0 @@ ---- -title: ITranslationServiceExtensions -description: API reference for ITranslationServiceExtensions in Umbraco Commerce ---- -## ITranslationServiceExtensions - -Extension methods for the Translation service - -```csharp -public static class ITranslationServiceExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### TranslateValues (1 of 2) - -Translates a series of values to the given language - -```csharp -public static IEnumerable TranslateValues(this ITranslationService translationService, - IEnumerable values, string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| translationService | The [`ITranslationService`](../umbraco-commerce-core-services/itranslationservice.md) instance | -| values | The values to attempt to translate | -| languageIsoCode | The ISO Code of the language to attempt to translate to | - -**Returns** - -A list of translated value, or the original value if a translation was unsuccessful - ---- - -#### TranslateValues (2 of 2) - -Translate a series of dictionary values to the given language - -```csharp -public static IDictionary TranslateValues( - this ITranslationService translationService, IEnumerable> values, - string languageIsoCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| translationService | The [`ITranslationService`](../umbraco-commerce-core-services/itranslationservice.md) instance | -| values | The values to attempt to translate | -| languageIsoCode | The ISO Code of the language to attempt to translate to | - -**Returns** - -A dictionary of translated values, or the original value if a translation was unsuccessful - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/orderextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/orderextensions.md deleted file mode 100644 index 59a8b1620cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/orderextensions.md +++ /dev/null @@ -1,865 +0,0 @@ ---- -title: OrderExtensions -description: API reference for OrderExtensions in Umbraco Commerce ---- -## OrderExtensions - -Extension methods for an Order - -```csharp -public static class OrderExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### AddProduct (1 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (2 of 12) - -Adds a product variant to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, - string productVariantReference, decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (3 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, decimal qty, - string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (4 of 12) - -Adds a product variant to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, - string productVariantReference, decimal qty, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (5 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, decimal qty, - IDictionary properties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (6 of 12) - -Adds a product variant to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, - string productVariantReference, decimal qty, IDictionary properties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (7 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, decimal qty, - IDictionary properties, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (8 of 12) - -Adds a product variant to the order - -```csharp -public static Order AddProduct(this Order order, string productReference, - string productVariantReference, decimal qty, IDictionary properties, - string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (9 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, IProductSnapshot productSnapshot, decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (10 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, IProductSnapshot productSnapshot, decimal qty, - string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (11 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, IProductSnapshot productSnapshot, decimal qty, - IDictionary properties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProduct (12 of 12) - -Adds a product to the order - -```csharp -public static Order AddProduct(this Order order, IProductSnapshot productSnapshot, decimal qty, - IDictionary properties, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - - ---- - -#### AddProductToBundle (1 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (2 of 12) - -Adds a product variant to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, string productVariantReference, decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (3 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, decimal qty, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (4 of 12) - -Adds a product variant to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, string productVariantReference, decimal qty, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (5 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, decimal qty, IDictionary properties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (6 of 12) - -Adds a product variant to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, string productVariantReference, decimal qty, - IDictionary properties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (7 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, decimal qty, IDictionary properties, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (8 of 12) - -Adds a product variant to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - string productReference, string productVariantReference, decimal qty, - IDictionary properties, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productReference | The unique reference of the product | -| productVariantReference | The unique reference of the product variant | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (9 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - IProductSnapshot productSnapshot, decimal qty) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (10 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - IProductSnapshot productSnapshot, decimal qty, string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (11 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - IProductSnapshot productSnapshot, decimal qty, IDictionary properties) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### AddProductToBundle (12 of 12) - -Adds a product to a bundle in the order - -```csharp -public static Order AddProductToBundle(this Order order, string parentBundleId, - IProductSnapshot productSnapshot, decimal qty, IDictionary properties, - string bundleId) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| parentBundleId | The bundle ID of an existing bundle order line to assign the product order line to as a bundle item | -| productSnapshot | A snapshot of the product to add | -| qty | The quantity of the product to add to the order | -| properties | A collection of properties to assign to the product order line | -| bundleId | A bundle ID to assign to the product order line to identify it as a bundle | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - - ---- - -#### ApplyPaymentChanges - -Applies the changes from a Payment Result to an order - -```csharp -public static Order ApplyPaymentChanges(this Order order, PaymentResult result) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The order to update | -| result | The payment result changes to apply | - -**Returns** - -The updated order - - ---- - -#### FinalizeOrUpdateTransaction (1 of 2) - -Finalizes or updates the transaction info of the order - -```csharp -public static Order FinalizeOrUpdateTransaction(this Order order, decimal amountAuthorized, - string transactionId, PaymentStatus paymentStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| amountAuthorized | The amount authorized by the payment gateway | -| transactionId | The ID of the transaction from the payment gateway | -| paymentStatus | The status of the payment | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### FinalizeOrUpdateTransaction (2 of 2) - -Finalizes or updates the transaction info of the order - -```csharp -public static Order FinalizeOrUpdateTransaction(this Order order, decimal amountAuthorized, - decimal transactionFee, string transactionId, PaymentStatus paymentStatus) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| amountAuthorized | The amount authorized by the payment gateway | -| transactionFee | The transaction fee charged by the payment gateway | -| transactionId | The ID of the transaction from the payment gateway | -| paymentStatus | The status of the payment | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - - ---- - -#### GetTotalAmountAdjustmentByType<T> - -Gets the total amount adjustment for a given amount adjustment type - -```csharp -public static Amount GetTotalAmountAdjustmentByType(this OrderReadOnly order) - where T : AmountAdjustment -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The type of the amount adjustment | -| order | The order to fetch the amount adjustments from | - -**Returns** - -The amount of the amount adjustments - - ---- - -#### GetTotalAmountAdjustmentWhere - -Gets the total amount adjustment where amount adjustments match the supplied predicate - -```csharp -public static Amount GetTotalAmountAdjustmentWhere(this OrderReadOnly order, - Func predicate) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The order to fetch the amount adjustments from | -| predicate | The predicate function to include/exclude the amount adjustment | - -**Returns** - -The amount of the amount adjustments - - ---- - -#### GetTotalPriceAdjustmentByType<T> - -Gets the total price adjustment for a given price adjustment type - -```csharp -public static Price GetTotalPriceAdjustmentByType(this OrderReadOnly order) - where T : PriceAdjustment -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| T | The type of the price adjustment | -| order | The order to fetch the price adjustments from | - -**Returns** - -The price of the price adjustments - - ---- - -#### GetTotalPriceAdjustmentWhere - -Gets the total price adjustment where price adjustments match the supplied predicate - -```csharp -public static Price GetTotalPriceAdjustmentWhere(this OrderReadOnly order, - Func predicate) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The order to fetch the price adjustments from | -| predicate | The predicate function to include/exclude the price adjustment | - -**Returns** - -The price of the price adjustments - - ---- - -#### InitializeTransaction - -Initializes a transaction ready to send to the payment gateway - -```csharp -public static Order InitializeTransaction(this Order order) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - - ---- - -#### Recalculate (1 of 2) - -Recalculates the order - -```csharp -public static Order Recalculate(this Order order) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - ---- - -#### Recalculate (2 of 2) - -Recalculates the order - -```csharp -public static Order Recalculate(this Order order, bool force) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| force | A boolean flag indicating whether to force recalculation whether the order needs recalculating or not | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - - ---- - -#### Redeem - -Redeems a [`Discount`](../umbraco-commerce-core-models/discount.md) or [`GiftCard`](../umbraco-commerce-core-models/giftcard.md) against the order - -```csharp -public static Order Redeem(this Order order, string discountOrGiftCardCode) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| order | The [`Order`](../umbraco-commerce-core-models/order.md) instance | -| discountOrGiftCardCode | The [`Discount`](../umbraco-commerce-core-models/discount.md) or [`GiftCard`](../umbraco-commerce-core-models/giftcard.md) code | - -**Returns** - -The updated [`Order`](../umbraco-commerce-core-models/order.md) entity - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/orderreferenceextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/orderreferenceextensions.md deleted file mode 100644 index 7f631092288..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/orderreferenceextensions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: OrderReferenceExtensions -description: API reference for OrderReferenceExtensions in Umbraco Commerce ---- -## OrderReferenceExtensions - -```csharp -public static class OrderReferenceExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### GenerateOrderReference - -```csharp -public static OrderReference GenerateOrderReference(this OrderReadOnly order) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/paymentmethodextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/paymentmethodextensions.md deleted file mode 100644 index 4720704d6f8..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/paymentmethodextensions.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: PaymentMethodExtensions -description: API reference for PaymentMethodExtensions in Umbraco Commerce ---- -## PaymentMethodExtensions - -```csharp -public static class PaymentMethodExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### CalculatePrice (1 of 2) - -```csharp -public static Price CalculatePrice(this PaymentMethodReadOnly paymentMethod) -``` - ---- - -#### CalculatePrice (2 of 2) - -```csharp -public static Price CalculatePrice(this PaymentMethodReadOnly paymentMethod, - SessionManagerAccessor sessionAccessor, IPaymentCalculator calculator, - ITaxSourceFactory taxSourceFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/priceextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/priceextensions.md deleted file mode 100644 index e129d6d6277..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/priceextensions.md +++ /dev/null @@ -1,95 +0,0 @@ ---- -title: PriceExtensions -description: API reference for PriceExtensions in Umbraco Commerce ---- -## PriceExtensions - -Extensions methods for [`IPrice`](../umbraco-commerce-core-models/iprice.md) entities - -```csharp -public static class PriceExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Formatted (1 of 2) - -Formats the [`IPrice`](../umbraco-commerce-core-models/iprice.md) values for the given prices [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public static FormattedPrice Formatted(this IPrice value) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The [`IPrice`](../umbraco-commerce-core-models/iprice.md) to format | - -**Returns** - -A [`FormattedPrice`](../umbraco-commerce-core-models/formattedprice.md) instance - ---- - -#### Formatted (2 of 2) - -Formats the [`IPrice`](../umbraco-commerce-core-models/iprice.md) values for the given prices [`Currency`](../umbraco-commerce-core-models/currency.md) - -```csharp -public static FormattedPrice Formatted(this IPrice value, int decimalPlaces) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| value | The [`IPrice`](../umbraco-commerce-core-models/iprice.md) to format | -| decimalPlaces | The number of decimal places to format to | - -**Returns** - -A [`FormattedPrice`](../umbraco-commerce-core-models/formattedprice.md) instance - - ---- - -#### Rounded - -Round the price to the presission of the prices culture number format - -```csharp -public static Price Rounded(this Price price) -``` - -**Returns** - -A rounded price value - - ---- - -#### RoundedIf - -Round the price to the presission of the prices culture number format if the given predicate is true - -```csharp -public static Price RoundedIf(this Price price, Predicate test) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| price | The price to be rounded | -| test | The predicate to determine if the price should be rounded or not | - -**Returns** - -A rounded price value - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/shippingmethodextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/shippingmethodextensions.md deleted file mode 100644 index ff6da570f32..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/shippingmethodextensions.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: ShippingMethodExtensions -description: API reference for ShippingMethodExtensions in Umbraco Commerce ---- -## ShippingMethodExtensions - -```csharp -public static class ShippingMethodExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### CalculatePrice (1 of 2) - -```csharp -public static Price CalculatePrice(this ShippingMethodReadOnly shippingMethod) -``` - ---- - -#### CalculatePrice (2 of 2) - -```csharp -public static Price CalculatePrice(this ShippingMethodReadOnly shippingMethod, - SessionManagerAccessor sessionAccessor, IShippingCalculator calculator, - ITaxSourceFactory taxSourceFactory) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/umbracocommercebuilderextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/umbracocommercebuilderextensions.md deleted file mode 100644 index 40d91ad7be3..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-core/umbraco-commerce-extensions/umbracocommercebuilderextensions.md +++ /dev/null @@ -1,97 +0,0 @@ ---- -title: UmbracoCommerceBuilderExtensions -description: API reference for UmbracoCommerceBuilderExtensions in Umbraco Commerce ---- -## UmbracoCommerceBuilderExtensions - -```csharp -public static class UmbracoCommerceBuilderExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### WithAmountAdjusters - -```csharp -public static AmountAdjusterCollectionBuilder WithAmountAdjusters( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithDomainEvent<TEvent> - -```csharp -public static UmbracoCommerceEventHandlerComposer WithDomainEvent( - this IUmbracoCommerceBuilder builder) - where TEvent : IDomainEvent -``` - - ---- - -#### WithNotificationEvent<TEvent> - -```csharp -public static UmbracoCommerceEventHandlerComposer - WithNotificationEvent(this IUmbracoCommerceBuilder builder) - where TEvent : INotificationEvent -``` - - ---- - -#### WithOrderFinders - -```csharp -public static OrderFinderCollectionBuilder WithOrderFinders(this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithPipeline<TCollection,TItem> - -```csharp -public static PipelineTaskCollectionBuilder WithPipeline( - this IUmbracoCommerceBuilder builder) - where TCollection : class, IPipelineTaskCollection -``` - - ---- - -#### WithPriceAdjusters - -```csharp -public static PriceAdjusterCollectionBuilder WithPriceAdjusters( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithRegisteredCustomerInfoProviders - -```csharp -public static RegisteredCustomerInfoProviderCollectionBuilder WithRegisteredCustomerInfoProviders( - this IUmbracoCommerceBuilder builder) -``` - - ---- - -#### WithValidationEvent<TEvent> - -```csharp -public static UmbracoCommerceEventHandlerComposer - WithValidationEvent(this IUmbracoCommerceBuilder builder) - where TEvent : IValidationEvent -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/README.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/README.md deleted file mode 100644 index e654ca4561f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/README.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Umbraco.Commerce.Infrastructure -description: API reference for Umbraco.Commerce.Infrastructure in Umbraco Commerce ---- -## Umbraco.Commerce.Infrastructure assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Infrastructure](umbraco-commerce-infrastructure/README.md) | -| [Umbraco.Commerce.Infrastructure.Logging](umbraco-commerce-infrastructure-logging/README.md) | -| [Umbraco.Commerce.Infrastructure.Resiliency](umbraco-commerce-infrastructure-resiliency/README.md) | -| [Umbraco.Commerce.Infrastructure.Services](umbraco-commerce-infrastructure-services/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-logging/README.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-logging/README.md deleted file mode 100644 index 14ab10b5ef1..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-logging/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Infrastructure.Logging -description: API reference for Umbraco.Commerce.Infrastructure.Logging in Umbraco Commerce ---- -## Umbraco.Commerce.Infrastructure.Logging namespace - -| Public Type | Description | -| --- | --- | -| class [MicrosoftLogger<T>](microsoftlogger-1.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-logging/microsoftlogger-1.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-logging/microsoftlogger-1.md deleted file mode 100644 index 094ca35851d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-logging/microsoftlogger-1.md +++ /dev/null @@ -1,202 +0,0 @@ ---- -title: MicrosoftLogger -description: API reference for MicrosoftLogger in Umbraco Commerce ---- -## MicrosoftLogger<T> - -```csharp -public class MicrosoftLogger : ILogger -``` - -**Inheritance** - -* interface [ILogger<!0>](../../umbraco-commerce-common/umbraco-commerce-common-logging/ilogger-1.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Logging](README.md) - -### Constructors - -#### MicrosoftLogger<T> - -```csharp -public MicrosoftLogger(ILogger logger) -``` - - -### Methods - -#### Debug (1 of 2) - -```csharp -public void Debug(string message) -``` - ---- - -#### Debug (2 of 2) - -```csharp -public void Debug(string messageTemplate, params object[] propertyValues) -``` - - ---- - -#### Error (1 of 5) - -```csharp -public void Error(Exception exception, string message) -``` - ---- - -#### Error (2 of 5) - -```csharp -public void Error(Exception exception) -``` - ---- - -#### Error (3 of 5) - -```csharp -public void Error(string message) -``` - ---- - -#### Error (4 of 5) - -```csharp -public void Error(Exception exception, string messageTemplate, params object[] propertyValues) -``` - ---- - -#### Error (5 of 5) - -```csharp -public void Error(string messageTemplate, params object[] propertyValues) -``` - - ---- - -#### Fatal (1 of 5) - -```csharp -public void Fatal(Exception exception, string message) -``` - ---- - -#### Fatal (2 of 5) - -```csharp -public void Fatal(Exception exception) -``` - ---- - -#### Fatal (3 of 5) - -```csharp -public void Fatal(string message) -``` - ---- - -#### Fatal (4 of 5) - -```csharp -public void Fatal(Exception exception, string messageTemplate, params object[] propertyValues) -``` - ---- - -#### Fatal (5 of 5) - -```csharp -public void Fatal(string messageTemplate, params object[] propertyValues) -``` - - ---- - -#### Info (1 of 2) - -```csharp -public void Info(string message) -``` - ---- - -#### Info (2 of 2) - -```csharp -public void Info(string messageTemplate, params object[] propertyValues) -``` - - ---- - -#### IsEnabled - -```csharp -public bool IsEnabled(LogLevel level) -``` - - ---- - -#### Verbose (1 of 2) - -```csharp -public void Verbose(string message) -``` - ---- - -#### Verbose (2 of 2) - -```csharp -public void Verbose(string messageTemplate, params object[] propertyValues) -``` - - ---- - -#### Warn (1 of 4) - -```csharp -public void Warn(string message) -``` - ---- - -#### Warn (2 of 4) - -```csharp -public void Warn(string messageTemplate, params object[] propertyValues) -``` - ---- - -#### Warn (3 of 4) - -```csharp -public void Warn(Exception exception, string message) -``` - ---- - -#### Warn (4 of 4) - -```csharp -public void Warn(Exception exception, string messageTemplate, params object[] propertyValues) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-resiliency/README.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-resiliency/README.md deleted file mode 100644 index 3f7a599cc24..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-resiliency/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Infrastructure.Resiliency -description: API reference for Umbraco.Commerce.Infrastructure.Resiliency in Umbraco Commerce ---- -## Umbraco.Commerce.Infrastructure.Resiliency namespace - -| Public Type | Description | -| --- | --- | -| abstract class [PollyExecutionStrategyBase](pollyexecutionstrategybase.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-resiliency/pollyexecutionstrategybase.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-resiliency/pollyexecutionstrategybase.md deleted file mode 100644 index 59a5f7a919f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-resiliency/pollyexecutionstrategybase.md +++ /dev/null @@ -1,39 +0,0 @@ ---- -title: PollyExecutionStrategyBase -description: API reference for PollyExecutionStrategyBase in Umbraco Commerce ---- -## PollyExecutionStrategyBase - -```csharp -public abstract class PollyExecutionStrategyBase : IExecutionStrategy -``` - -**Inheritance** - -* interface [IExecutionStrategy](../../umbraco-commerce-common/umbraco-commerce-common-resiliency/iexecutionstrategy.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Resiliency](README.md) - -### Methods - -#### Execute<TResult> - -```csharp -public TResult Execute(Func operation, - Func> verifySucceeded = null) -``` - - ---- - -#### ExecuteAsync<TResult> - -```csharp -public Task ExecuteAsync(Func> operation, - Func>> verifySucceeded = null, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/README.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/README.md deleted file mode 100644 index 245365ed9d4..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/README.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: Umbraco.Commerce.Infrastructure.Services -description: API reference for Umbraco.Commerce.Infrastructure.Services in Umbraco Commerce ---- -## Umbraco.Commerce.Infrastructure.Services namespace - -| Public Type | Description | -| --- | --- | -| abstract class [CurrencyExchangeRateServiceBase](currencyexchangerateservicebase.md) | | -| class [CurrencyLayerCurrencyExchangeRateService](currencylayercurrencyexchangerateservice.md) | | -| class [ExchangeRateHostCurrencyExchangeRateService](exchangeratehostcurrencyexchangerateservice.md) | | -| class [ExchangeRatesApiCurrencyExchangeRateService](exchangeratesapicurrencyexchangerateservice.md) | | -| class [FixerCurrencyExchangeRateService](fixercurrencyexchangerateservice.md) | | -| class [OutfieldDigitalCurrencyExchangeRateService](outfielddigitalcurrencyexchangerateservice.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/currencyexchangerateservicebase.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/currencyexchangerateservicebase.md deleted file mode 100644 index 862bbc73409..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/currencyexchangerateservicebase.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: CurrencyExchangeRateServiceBase -description: API reference for CurrencyExchangeRateServiceBase in Umbraco Commerce ---- -## CurrencyExchangeRateServiceBase - -```csharp -public abstract class CurrencyExchangeRateServiceBase : ICurrencyExchangeRateService -``` - -**Inheritance** - -* interface [ICurrencyExchangeRateService](../../umbraco-commerce-core/umbraco-commerce-core-services/icurrencyexchangerateservice.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Services](README.md) - -### Methods - -#### FetchExchangeRate - -```csharp -public abstract decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, - DateTime date) -``` - - ---- - -#### FetchExchangeRates - -```csharp -public abstract Dictionary> FetchExchangeRates( - string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - ---- - -#### GetExchangeRate - -```csharp -public decimal GetExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, DateTime date) -``` - - ---- - -#### GetExchangeRates - -```csharp -public Dictionary> GetExchangeRates(string fromCurrencyIsoCode, - string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/currencylayercurrencyexchangerateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/currencylayercurrencyexchangerateservice.md deleted file mode 100644 index 8089f2e4da5..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/currencylayercurrencyexchangerateservice.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: CurrencyLayerCurrencyExchangeRateService -description: API reference for CurrencyLayerCurrencyExchangeRateService in Umbraco Commerce ---- -## CurrencyLayerCurrencyExchangeRateService - -```csharp -public class CurrencyLayerCurrencyExchangeRateService : CurrencyExchangeRateServiceBase -``` - -**Inheritance** - -* Class [CurrencyExchangeRateServiceBase](currencyexchangerateservicebase.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Services](README.md) - -### Constructors - -#### CurrencyLayerCurrencyExchangeRateService - -```csharp -public CurrencyLayerCurrencyExchangeRateService(string apiKey) -``` - - -### Methods - -#### FetchExchangeRate - -```csharp -public override decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, - DateTime date) -``` - - ---- - -#### FetchExchangeRates - -```csharp -public override Dictionary> FetchExchangeRates( - string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/exchangeratehostcurrencyexchangerateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/exchangeratehostcurrencyexchangerateservice.md deleted file mode 100644 index 4bd0824a3b2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/exchangeratehostcurrencyexchangerateservice.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: ExchangeRateHostCurrencyExchangeRateService -description: API reference for ExchangeRateHostCurrencyExchangeRateService in Umbraco Commerce ---- -## ExchangeRateHostCurrencyExchangeRateService - -```csharp -public class ExchangeRateHostCurrencyExchangeRateService : CurrencyExchangeRateServiceBase -``` - -**Inheritance** - -* Class [CurrencyExchangeRateServiceBase](currencyexchangerateservicebase.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Services](README.md) - -### Constructors - -#### ExchangeRateHostCurrencyExchangeRateService - -The default constructor. - -```csharp -public ExchangeRateHostCurrencyExchangeRateService() -``` - - -### Methods - -#### FetchExchangeRate - -```csharp -public override decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, - DateTime date) -``` - - ---- - -#### FetchExchangeRates - -```csharp -public override Dictionary> FetchExchangeRates( - string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/exchangeratesapicurrencyexchangerateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/exchangeratesapicurrencyexchangerateservice.md deleted file mode 100644 index 2333b099d53..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/exchangeratesapicurrencyexchangerateservice.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: ExchangeRatesApiCurrencyExchangeRateService -description: API reference for ExchangeRatesApiCurrencyExchangeRateService in Umbraco Commerce ---- -## ExchangeRatesApiCurrencyExchangeRateService - -```csharp -public class ExchangeRatesApiCurrencyExchangeRateService : CurrencyExchangeRateServiceBase -``` - -**Inheritance** - -* Class [CurrencyExchangeRateServiceBase](currencyexchangerateservicebase.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Services](README.md) - -### Constructors - -#### ExchangeRatesApiCurrencyExchangeRateService - -```csharp -public ExchangeRatesApiCurrencyExchangeRateService(string apiKey) -``` - - -### Methods - -#### FetchExchangeRate - -```csharp -public override decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, - DateTime date) -``` - - ---- - -#### FetchExchangeRates - -```csharp -public override Dictionary> FetchExchangeRates( - string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/fixercurrencyexchangerateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/fixercurrencyexchangerateservice.md deleted file mode 100644 index 7ba71d8a72d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/fixercurrencyexchangerateservice.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -title: FixerCurrencyExchangeRateService -description: API reference for FixerCurrencyExchangeRateService in Umbraco Commerce ---- -## FixerCurrencyExchangeRateService - -```csharp -public class FixerCurrencyExchangeRateService : CurrencyExchangeRateServiceBase -``` - -**Inheritance** - -* Class [CurrencyExchangeRateServiceBase](currencyexchangerateservicebase.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Services](README.md) - -### Constructors - -#### FixerCurrencyExchangeRateService - -```csharp -public FixerCurrencyExchangeRateService(string apiKey) -``` - - -### Methods - -#### FetchExchangeRate - -```csharp -public override decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, - DateTime date) -``` - - ---- - -#### FetchExchangeRates - -```csharp -public override Dictionary> FetchExchangeRates( - string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/outfielddigitalcurrencyexchangerateservice.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/outfielddigitalcurrencyexchangerateservice.md deleted file mode 100644 index 65365c3ef19..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure-services/outfielddigitalcurrencyexchangerateservice.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: OutfieldDigitalCurrencyExchangeRateService -description: API reference for OutfieldDigitalCurrencyExchangeRateService in Umbraco Commerce ---- -## OutfieldDigitalCurrencyExchangeRateService - -```csharp -public class OutfieldDigitalCurrencyExchangeRateService : CurrencyExchangeRateServiceBase -``` - -**Inheritance** - -* Class [CurrencyExchangeRateServiceBase](currencyexchangerateservicebase.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure.Services](README.md) - -### Constructors - -#### OutfieldDigitalCurrencyExchangeRateService - -The default constructor. - -```csharp -public OutfieldDigitalCurrencyExchangeRateService() -``` - - -### Methods - -#### FetchExchangeRate - -```csharp -public override decimal FetchExchangeRate(string fromCurrencyIsoCode, string toCurrencyIsoCode, - DateTime date) -``` - - ---- - -#### FetchExchangeRates - -```csharp -public override Dictionary> FetchExchangeRates( - string fromCurrencyIsoCode, string[] toCurrencyIsoCodes, DateTime dateFrom, DateTime dateTo) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/README.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/README.md deleted file mode 100644 index e1a4af797bd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Infrastructure -description: API reference for Umbraco.Commerce.Infrastructure in Umbraco Commerce ---- -## Umbraco.Commerce.Infrastructure namespace - -| Public Type | Description | -| --- | --- | -| abstract class [PollyUnitOfWorkExecutionStrategyBase](pollyunitofworkexecutionstrategybase.md) | | -| class [ScopedServiceProviderFactory](scopedserviceproviderfactory.md) | | -| class [ScopedServiceProviderFactoryAccessor](scopedserviceproviderfactoryaccessor.md) | | -| class [ServiceProviderFactory](serviceproviderfactory.md) | | -| abstract class [ServiceProviderFactoryBase](serviceproviderfactorybase.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/pollyunitofworkexecutionstrategybase.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/pollyunitofworkexecutionstrategybase.md deleted file mode 100644 index 167f5a47a69..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/pollyunitofworkexecutionstrategybase.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -title: PollyUnitOfWorkExecutionStrategyBase -description: API reference for PollyUnitOfWorkExecutionStrategyBase in Umbraco Commerce ---- -## PollyUnitOfWorkExecutionStrategyBase - -```csharp -public abstract class PollyUnitOfWorkExecutionStrategyBase : PollyExecutionStrategyBase, - IUnitOfWorkExecutionStrategy -``` - -**Inheritance** - -* Class [PollyExecutionStrategyBase](../umbraco-commerce-infrastructure-resiliency/pollyexecutionstrategybase.md) -* interface [IUnitOfWorkExecutionStrategy](../../umbraco-commerce-common/umbraco-commerce-common/iunitofworkexecutionstrategy.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/scopedserviceproviderfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/scopedserviceproviderfactory.md deleted file mode 100644 index d643467d700..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/scopedserviceproviderfactory.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: ScopedServiceProviderFactory -description: API reference for ScopedServiceProviderFactory in Umbraco Commerce ---- -## ScopedServiceProviderFactory - -```csharp -public class ScopedServiceProviderFactory : ServiceProviderFactoryBase, IScopedFactory -``` - -**Inheritance** - -* Class [ServiceProviderFactoryBase](serviceproviderfactorybase.md) -* interface [IScopedFactory](../../umbraco-commerce-common/umbraco-commerce-common/iscopedfactory.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure](README.md) - -### Constructors - -#### ScopedServiceProviderFactory (1 of 2) - -```csharp -public ScopedServiceProviderFactory(IServiceScope scope) -``` - ---- - -#### ScopedServiceProviderFactory (2 of 2) - -```csharp -public ScopedServiceProviderFactory(IServiceProvider serviceProvider) -``` - - -### Methods - -#### Dispose - -```csharp -public void Dispose() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/scopedserviceproviderfactoryaccessor.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/scopedserviceproviderfactoryaccessor.md deleted file mode 100644 index 47a40a491ca..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/scopedserviceproviderfactoryaccessor.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ScopedServiceProviderFactoryAccessor -description: API reference for ScopedServiceProviderFactoryAccessor in Umbraco Commerce ---- -## ScopedServiceProviderFactoryAccessor - -```csharp -public class ScopedServiceProviderFactoryAccessor : IScopedFactoryAccessor -``` - -**Inheritance** - -* interface [IScopedFactoryAccessor](../../umbraco-commerce-common/umbraco-commerce-common/iscopedfactoryaccessor.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure](README.md) - -### Constructors - -#### ScopedServiceProviderFactoryAccessor - -```csharp -public ScopedServiceProviderFactoryAccessor(IUnitOfWorkAccessor unitOfWorkAccessor, - IHttpContextAccessor httpContextAccessor) -``` - - -### Properties - -#### Factory - -```csharp -public IScopedFactory Factory { get; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/serviceproviderfactory.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/serviceproviderfactory.md deleted file mode 100644 index bf455ec42bb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/serviceproviderfactory.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: ServiceProviderFactory -description: API reference for ServiceProviderFactory in Umbraco Commerce ---- -## ServiceProviderFactory - -```csharp -public class ServiceProviderFactory : ServiceProviderFactoryBase, IFactory -``` - -**Inheritance** - -* Class [ServiceProviderFactoryBase](serviceproviderfactorybase.md) -* interface [IFactory](../../umbraco-commerce-common/umbraco-commerce-common/ifactory.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure](README.md) - -### Constructors - -#### ServiceProviderFactory - -```csharp -public ServiceProviderFactory(IServiceProvider services) -``` - - -### Methods - -#### CreateScoped - -```csharp -public IScopedFactory CreateScoped() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/serviceproviderfactorybase.md b/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/serviceproviderfactorybase.md deleted file mode 100644 index 9588c12c00d..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/serviceproviderfactorybase.md +++ /dev/null @@ -1,81 +0,0 @@ ---- -title: ServiceProviderFactoryBase -description: API reference for ServiceProviderFactoryBase in Umbraco Commerce ---- -## ServiceProviderFactoryBase - -```csharp -public abstract class ServiceProviderFactoryBase : IFactoryBase -``` - -**Inheritance** - -* interface [IFactoryBase](../../umbraco-commerce-common/umbraco-commerce-common/ifactorybase.md) - -**Namespace** -* [Umbraco.Commerce.Infrastructure](README.md) - -### Constructors - -#### ServiceProviderFactoryBase - -```csharp -public ServiceProviderFactoryBase(IServiceProvider services) -``` - - -### Methods - -#### GetAllInstances - -```csharp -public IEnumerable GetAllInstances(Type type) -``` - - ---- - -#### GetAllInstances<T> - -```csharp -public IEnumerable GetAllInstances() -``` - - ---- - -#### GetInstance - -```csharp -public object GetInstance(Type type) -``` - - ---- - -#### GetInstance<T> - -```csharp -public T GetInstance() -``` - - ---- - -#### TryGetInstance - -```csharp -public object TryGetInstance(Type type) -``` - - ---- - -#### TryGetInstance<T> - -```csharp -public T TryGetInstance() -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/README.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/README.md deleted file mode 100644 index 9856f4bcb2e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Persistence.Sqlite -description: API reference for Umbraco.Commerce.Persistence.Sqlite in Umbraco Commerce ---- -## Umbraco.Commerce.Persistence.Sqlite assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | -| [Umbraco.Commerce.Persistence.Sqlite](umbraco-commerce-persistence-sqlite/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-extensions/README.md deleted file mode 100644 index 97cccb93ddb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [UmbracoCommerceBuilderExtensions](umbracocommercebuilderextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-extensions/umbracocommercebuilderextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-extensions/umbracocommercebuilderextensions.md deleted file mode 100644 index 8badc892802..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-extensions/umbracocommercebuilderextensions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: UmbracoCommerceBuilderExtensions -description: API reference for UmbracoCommerceBuilderExtensions in Umbraco Commerce ---- -## UmbracoCommerceBuilderExtensions - -```csharp -public static class UmbracoCommerceBuilderExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### AddSQLite - -```csharp -public static IUmbracoCommerceBuilder AddSQLite(this IUmbracoCommerceBuilder builder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/README.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/README.md deleted file mode 100644 index b468ca77964..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Persistence.Sqlite -description: API reference for Umbraco.Commerce.Persistence.Sqlite in Umbraco Commerce ---- -## Umbraco.Commerce.Persistence.Sqlite namespace - -| Public Type | Description | -| --- | --- | -| static class [Constants](constants.md) | | -| class [SqliteDatabaseCreator](sqlitedatabasecreator.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/constants.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/constants.md deleted file mode 100644 index 0275827a3e2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/constants.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Constants -description: API reference for Constants in Umbraco Commerce ---- -## Constants - -```csharp -public static class Constants -``` - -**Namespace** -* [Umbraco.Commerce.Persistence.Sqlite](README.md) - -### Fields - -#### ProviderName - -```csharp -public const string ProviderName; -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/sqlitedatabasecreator.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/sqlitedatabasecreator.md deleted file mode 100644 index a11b0c87edb..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlite/umbraco-commerce-persistence-sqlite/sqlitedatabasecreator.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: SqliteDatabaseCreator -description: API reference for SqliteDatabaseCreator in Umbraco Commerce ---- -## SqliteDatabaseCreator - -```csharp -public class SqliteDatabaseCreator : IDatabaseCreator -``` - -**Inheritance** - -* interface [IDatabaseCreator](../../umbraco-commerce-persistence/umbraco-commerce-persistence/idatabasecreator.md) - -**Namespace** -* [Umbraco.Commerce.Persistence.Sqlite](README.md) - -### Constructors - -#### SqliteDatabaseCreator - -```csharp -public SqliteDatabaseCreator(ILogger logger) -``` - - -### Properties - -#### ProviderName - -```csharp -public string ProviderName { get; } -``` - - -### Methods - -#### Create - -Creates a SQLite database file. - -```csharp -public void Create(string connectionString) -``` - -**Remarks** - -With journal_mode = wal we have snapshot isolation. - -Concurrent read/write can take occur, committing a write transaction will have no impact on open read transactions as they see only committed data from the point in time that they began reading. - -A write transaction still requires exclusive access to database files so concurrent writes are not possible. - -Read more [Isolation in SQLite](https://www.sqlite.org/isolation.html) Read more [Write-Ahead Logging](https://www.sqlite.org/wal.html) - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/README.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/README.md deleted file mode 100644 index 6387d0e5b10..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Persistence.SqlServer -description: API reference for Umbraco.Commerce.Persistence.SqlServer in Umbraco Commerce ---- -## Umbraco.Commerce.Persistence.SqlServer assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | -| [Umbraco.Commerce.Persistence.SqlServer](umbraco-commerce-persistence-sqlserver/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-extensions/README.md deleted file mode 100644 index 592b6b7bb3f..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [UmbracoCommerceBuilderExtensions](umbracocommercebuilderextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-extensions/umbracocommercebuilderextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-extensions/umbracocommercebuilderextensions.md deleted file mode 100644 index d7b1bedf815..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-extensions/umbracocommercebuilderextensions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: UmbracoCommerceBuilderExtensions -description: API reference for UmbracoCommerceBuilderExtensions in Umbraco Commerce ---- -## UmbracoCommerceBuilderExtensions - -```csharp -public static class UmbracoCommerceBuilderExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### AddSqlServer - -```csharp -public static IUmbracoCommerceBuilder AddSqlServer(this IUmbracoCommerceBuilder builder) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/README.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/README.md deleted file mode 100644 index f88596c65e6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Persistence.SqlServer -description: API reference for Umbraco.Commerce.Persistence.SqlServer in Umbraco Commerce ---- -## Umbraco.Commerce.Persistence.SqlServer namespace - -| Public Type | Description | -| --- | --- | -| static class [Constants](constants.md) | | -| class [HybridSqlServerUnitOfWorkExecutionStrategy](hybridsqlserverunitofworkexecutionstrategy.md) | | -| class [SqlAzureUnitOfWorkExecutionStrategy](sqlazureunitofworkexecutionstrategy.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/constants.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/constants.md deleted file mode 100644 index 2f38e6974d6..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/constants.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: Constants -description: API reference for Constants in Umbraco Commerce ---- -## Constants - -```csharp -public static class Constants -``` - -**Namespace** -* [Umbraco.Commerce.Persistence.SqlServer](README.md) - -### Fields - -#### ProviderName - -```csharp -public const string ProviderName; -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/hybridsqlserverunitofworkexecutionstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/hybridsqlserverunitofworkexecutionstrategy.md deleted file mode 100644 index 7f0e9428913..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/hybridsqlserverunitofworkexecutionstrategy.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: HybridSqlServerUnitOfWorkExecutionStrategy -description: API reference for HybridSqlServerUnitOfWorkExecutionStrategy in Umbraco Commerce ---- -## HybridSqlServerUnitOfWorkExecutionStrategy - -```csharp -public class HybridSqlServerUnitOfWorkExecutionStrategy : IUnitOfWorkExecutionStrategy -``` - -**Inheritance** - -* interface [IUnitOfWorkExecutionStrategy](../../umbraco-commerce-common/umbraco-commerce-common/iunitofworkexecutionstrategy.md) - -**Namespace** -* [Umbraco.Commerce.Persistence.SqlServer](README.md) - -### Constructors - -#### HybridSqlServerUnitOfWorkExecutionStrategy - -```csharp -public HybridSqlServerUnitOfWorkExecutionStrategy( - IOptionsMonitor connectionString) -``` - - -### Methods - -#### Execute<TResult> - -```csharp -public TResult Execute(Func operation, - Func> verifySucceeded = null) -``` - - ---- - -#### ExecuteAsync<TResult> - -```csharp -public Task ExecuteAsync(Func> operation, - Func>> verifySucceeded = null, - CancellationToken cancellationToken = default(CancellationToken)) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/sqlazureunitofworkexecutionstrategy.md b/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/sqlazureunitofworkexecutionstrategy.md deleted file mode 100644 index f4938651e77..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-persistence-sqlserver/umbraco-commerce-persistence-sqlserver/sqlazureunitofworkexecutionstrategy.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -title: SqlAzureUnitOfWorkExecutionStrategy -description: API reference for SqlAzureUnitOfWorkExecutionStrategy in Umbraco Commerce ---- -## SqlAzureUnitOfWorkExecutionStrategy - -```csharp -public class SqlAzureUnitOfWorkExecutionStrategy : PollyUnitOfWorkExecutionStrategyBase -``` - -**Inheritance** - -* Class [PollyUnitOfWorkExecutionStrategyBase](../../umbraco-commerce-infrastructure/umbraco-commerce-infrastructure/pollyunitofworkexecutionstrategybase.md) - -**Namespace** -* [Umbraco.Commerce.Persistence.SqlServer](README.md) - -### Constructors - -#### SqlAzureUnitOfWorkExecutionStrategy - -The default constructor. - -```csharp -public SqlAzureUnitOfWorkExecutionStrategy() -``` - - -### Properties - -#### RetryTimes - -```csharp -public static IEnumerable RetryTimes { get; set; } -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/README.md b/10/umbraco-commerce/reference/umbraco-commerce-web/README.md deleted file mode 100644 index 42e80dae004..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/README.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: Umbraco.Commerce.Web -description: API reference for Umbraco.Commerce.Web in Umbraco Commerce ---- -## Umbraco.Commerce.Web assembly - -| Namespace | -| --- | -| [Umbraco.Commerce.Extensions](umbraco-commerce-extensions/README.md) | -| [Umbraco.Commerce.Web.Attributes](umbraco-commerce-web-attributes/README.md) | -| [Umbraco.Commerce.Web.Mvc](umbraco-commerce-web-mvc/README.md) | -| [Umbraco.Commerce.Web.Session](umbraco-commerce-web-session/README.md) | -| [Umbraco.Commerce.Web.ViewEngines](umbraco-commerce-web-viewengines/README.md) | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/README.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/README.md deleted file mode 100644 index 760035733d2..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Extensions -description: API reference for Umbraco.Commerce.Extensions in Umbraco Commerce ---- -## Umbraco.Commerce.Extensions namespace - -| Public Type | Description | -| --- | --- | -| static class [FormDataCollectionExtensions](formdatacollectionextensions.md) | | -| static class [HtmlHelperExtensions](htmlhelperextensions.md) | | -| static class [SessionExtensions](sessionextensions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/formdatacollectionextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/formdatacollectionextensions.md deleted file mode 100644 index 7e6daa77e49..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/formdatacollectionextensions.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -title: FormDataCollectionExtensions -description: API reference for FormDataCollectionExtensions in Umbraco Commerce ---- -## FormDataCollectionExtensions - -```csharp -public static class FormDataCollectionExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### ContainsKey - -```csharp -public static bool ContainsKey(this FormDataCollection qs, string key) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/htmlhelperextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/htmlhelperextensions.md deleted file mode 100644 index c6161e070db..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/htmlhelperextensions.md +++ /dev/null @@ -1,195 +0,0 @@ ---- -title: HtmlHelperExtensions -description: API reference for HtmlHelperExtensions in Umbraco Commerce ---- -## HtmlHelperExtensions - -```csharp -public static class HtmlHelperExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### BeginPaymentForm (1 of 3) - -Helper method to create a payment form for the given order - -```csharp -public static MvcForm BeginPaymentForm(this IHtmlHelper htmlHelper, OrderReadOnly order) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | - ---- - -#### BeginPaymentForm (2 of 3) - -Helper method to create a payment form for the given order - -```csharp -public static MvcForm BeginPaymentForm(this IHtmlHelper htmlHelper, OrderReadOnly order, - object htmlAttributes) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| htmlAttributes | | - ---- - -#### BeginPaymentForm (3 of 3) - -Helper method to create a payment form for the given order - -```csharp -public static MvcForm BeginPaymentForm(this IHtmlHelper htmlHelper, OrderReadOnly order, - IDictionary htmlAttributes) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| htmlAttributes | | - - ---- - -#### BeginPaymentFormAsync (1 of 3) - -Helper method to create a payment form for the given order - -```csharp -public static Task BeginPaymentFormAsync(this IHtmlHelper htmlHelper, OrderReadOnly order, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| cancellationToken | | - ---- - -#### BeginPaymentFormAsync (2 of 3) - -Helper method to create a payment form for the given order - -```csharp -public static Task BeginPaymentFormAsync(this IHtmlHelper htmlHelper, OrderReadOnly order, - object htmlAttributes, CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| htmlAttributes | | -| cancellationToken | | - ---- - -#### BeginPaymentFormAsync (3 of 3) - -Helper method to create a payment form for the given order - -```csharp -public static Task BeginPaymentFormAsync(this IHtmlHelper htmlHelper, OrderReadOnly order, - IDictionary htmlAttributes, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| htmlAttributes | | -| cancellationToken | | - - ---- - -#### RenderPaymentForm - -Helper method to create a payment form for the given order - -```csharp -public static MvcForm RenderPaymentForm(this IHtmlHelper htmlHelper, OrderReadOnly order, - IDictionary htmlAttributes, IOrderService orderService, - IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService, - PaymentProviderContextFactory paymentProviderContextFactory, - IOrderNumberGenerator orderNumberGenerator, IUnitOfWorkProvider uowProvider, - IMembershipHelper membershipHelper) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| htmlAttributes | | -| orderService | | -| paymentMethodService | | -| paymentProviderService | | -| paymentProviderContextFactory | | -| orderNumberGenerator | | -| uowProvider | | -| membershipHelper | | - - ---- - -#### RenderPaymentFormAsync - -Helper method to create a payment form for the given order - -```csharp -public static Task RenderPaymentFormAsync(this IHtmlHelper htmlHelper, - OrderReadOnly order, IDictionary htmlAttributes, IOrderService orderService, - IPaymentMethodService paymentMethodService, IPaymentProviderService paymentProviderService, - PaymentProviderContextFactory paymentProviderContextFactory, - IOrderNumberGenerator orderNumberGenerator, IUnitOfWorkProvider uowProvider, - IMembershipHelper membershipHelper, - CancellationToken cancellationToken = default(CancellationToken)) -``` - -**Parameters** - -| Parameter | Description | -| --- | --- | -| htmlHelper | | -| order | | -| htmlAttributes | | -| orderService | | -| paymentMethodService | | -| paymentProviderService | | -| paymentProviderContextFactory | | -| orderNumberGenerator | | -| uowProvider | | -| membershipHelper | | -| cancellationToken | | - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/sessionextensions.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/sessionextensions.md deleted file mode 100644 index ab7eada8add..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-extensions/sessionextensions.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: SessionExtensions -description: API reference for SessionExtensions in Umbraco Commerce ---- -## SessionExtensions - -```csharp -public static class SessionExtensions -``` - -**Namespace** -* [Umbraco.Commerce.Extensions](README.md) - -### Methods - -#### Get<T> - -```csharp -public static T Get(this ISession session, string key) -``` - - ---- - -#### Set<T> - -```csharp -public static void Set(this ISession session, string key, T value) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-attributes/README.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-attributes/README.md deleted file mode 100644 index 1c25f3a91af..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-attributes/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Web.Attributes -description: API reference for Umbraco.Commerce.Web.Attributes in Umbraco Commerce ---- -## Umbraco.Commerce.Web.Attributes namespace - -| Public Type | Description | -| --- | --- | -| class [CheckAndMoveSessionOrdersMvcActionFilterAttribute](checkandmovesessionordersmvcactionfilterattribute.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-attributes/checkandmovesessionordersmvcactionfilterattribute.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-attributes/checkandmovesessionordersmvcactionfilterattribute.md deleted file mode 100644 index 84e46d60b4a..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-attributes/checkandmovesessionordersmvcactionfilterattribute.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: CheckAndMoveSessionOrdersMvcActionFilterAttribute -description: API reference for CheckAndMoveSessionOrdersMvcActionFilterAttribute in Umbraco Commerce ---- -## CheckAndMoveSessionOrdersMvcActionFilterAttribute - -```csharp -public class CheckAndMoveSessionOrdersMvcActionFilterAttribute : ActionFilterAttribute -``` - -**Namespace** -* [Umbraco.Commerce.Web.Attributes](README.md) - -### Constructors - -#### CheckAndMoveSessionOrdersMvcActionFilterAttribute - -The default constructor. - -```csharp -public CheckAndMoveSessionOrdersMvcActionFilterAttribute() -``` - - -### Methods - -#### OnResultExecuting - -```csharp -public override void OnResultExecuting(ResultExecutingContext context) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-mvc/README.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-mvc/README.md deleted file mode 100644 index 9057ac4c9cd..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-mvc/README.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: Umbraco.Commerce.Web.Mvc -description: API reference for Umbraco.Commerce.Web.Mvc in Umbraco Commerce ---- -## Umbraco.Commerce.Web.Mvc namespace - -| Public Type | Description | -| --- | --- | -| class [UmbracoCommerceMvcConfigureOptions](umbracocommercemvcconfigureoptions.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-mvc/umbracocommercemvcconfigureoptions.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-mvc/umbracocommercemvcconfigureoptions.md deleted file mode 100644 index 632252aad63..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-mvc/umbracocommercemvcconfigureoptions.md +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: UmbracoCommerceMvcConfigureOptions -description: API reference for UmbracoCommerceMvcConfigureOptions in Umbraco Commerce ---- -## UmbracoCommerceMvcConfigureOptions - -```csharp -public class UmbracoCommerceMvcConfigureOptions : IConfigureOptions -``` - -**Namespace** -* [Umbraco.Commerce.Web.Mvc](README.md) - -### Constructors - -#### UmbracoCommerceMvcConfigureOptions - -The default constructor. - -```csharp -public UmbracoCommerceMvcConfigureOptions() -``` - - -### Methods - -#### Configure - -```csharp -public void Configure(MvcOptions options) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/README.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/README.md deleted file mode 100644 index ae5148b3321..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/README.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -title: Umbraco.Commerce.Web.Session -description: API reference for Umbraco.Commerce.Web.Session in Umbraco Commerce ---- -## Umbraco.Commerce.Web.Session namespace - -| Public Type | Description | -| --- | --- | -| class [WebSessionStore](websessionstore.md) | | -| abstract class [WebStoreBase](webstorebase.md) | | -| class [WebTempStore](webtempstore.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/websessionstore.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/websessionstore.md deleted file mode 100644 index 702ce366931..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/websessionstore.md +++ /dev/null @@ -1,76 +0,0 @@ ---- -title: WebSessionStore -description: API reference for WebSessionStore in Umbraco Commerce ---- -## WebSessionStore - -```csharp -public class WebSessionStore : WebStoreBase, ISessionStore -``` - -**Inheritance** - -* Class [WebStoreBase](webstorebase.md) -* interface [ISessionStore](../../umbraco-commerce-core/umbraco-commerce-core-session/isessionstore.md) - -**Namespace** -* [Umbraco.Commerce.Web.Session](README.md) - -### Constructors - -#### WebSessionStore (1 of 2) - -```csharp -public WebSessionStore(Lazy storeService, IUmbracoCommerceSettings settings) -``` - ---- - -#### WebSessionStore (2 of 2) - -```csharp -public WebSessionStore(Lazy storeService, IUmbracoCommerceSettings settings, - IHttpContextAccessor httpContextAccessor) -``` - - -### Methods - -#### GetStoreIds - -```csharp -public Guid[] GetStoreIds() -``` - - ---- - -#### GetValue<T> - -```csharp -public T? GetValue(Guid storeId, string key) - where T : struct -``` - - ---- - -#### SetValue<T> - -```csharp -public void SetValue(Guid storeId, string key, T? value) - where T : struct -``` - - ---- - -#### TrySetValue<T> - -```csharp -public bool TrySetValue(Guid storeId, string key, T? value) - where T : struct -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/webstorebase.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/webstorebase.md deleted file mode 100644 index ecb2bfffa4e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/webstorebase.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: WebStoreBase -description: API reference for WebStoreBase in Umbraco Commerce ---- -## WebStoreBase - -```csharp -public abstract class WebStoreBase -``` - -**Namespace** -* [Umbraco.Commerce.Web.Session](README.md) - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/webtempstore.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/webtempstore.md deleted file mode 100644 index 7ffb5d77016..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-session/webtempstore.md +++ /dev/null @@ -1,67 +0,0 @@ ---- -title: WebTempStore -description: API reference for WebTempStore in Umbraco Commerce ---- -## WebTempStore - -```csharp -public class WebTempStore : WebStoreBase, ITempStore -``` - -**Inheritance** - -* Class [WebStoreBase](webstorebase.md) -* interface [ITempStore](../../umbraco-commerce-core/umbraco-commerce-core-session/itempstore.md) - -**Namespace** -* [Umbraco.Commerce.Web.Session](README.md) - -### Constructors - -#### WebTempStore - -```csharp -public WebTempStore(IUmbracoCommerceSettings settings, IHttpContextAccessor httpContextAccessor) -``` - - -### Methods - -#### GetStoreIds - -```csharp -public Guid[] GetStoreIds() -``` - - ---- - -#### GetValue<T> - -```csharp -public T? GetValue(Guid storeId, string key) - where T : struct -``` - - ---- - -#### SetValue<T> - -```csharp -public void SetValue(Guid storeId, string key, T? value) - where T : struct -``` - - ---- - -#### TrySetValue<T> - -```csharp -public bool TrySetValue(Guid storeId, string key, T? value) - where T : struct -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/README.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/README.md deleted file mode 100644 index f57b1c1236e..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/README.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Umbraco.Commerce.Web.ViewEngines -description: API reference for Umbraco.Commerce.Web.ViewEngines in Umbraco Commerce ---- -## Umbraco.Commerce.Web.ViewEngines namespace - -| Public Type | Description | -| --- | --- | -| class [RazorViewEngine](razorviewengine.md) | | -| abstract class [UmbracoCommerceRazorTemplateView<TModel>](umbracocommercerazortemplateview-1.md) | | - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/razorviewengine.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/razorviewengine.md deleted file mode 100644 index ba9ef12db48..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/razorviewengine.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -title: RazorViewEngine -description: API reference for RazorViewEngine in Umbraco Commerce ---- -## RazorViewEngine - -```csharp -public class RazorViewEngine : IViewEngine -``` - -**Inheritance** - -* interface [IViewEngine](../../umbraco-commerce-core/umbraco-commerce-core-viewengines/iviewengine.md) - -**Namespace** -* [Umbraco.Commerce.Web.ViewEngines](README.md) - -### Constructors - -#### RazorViewEngine - -```csharp -public RazorViewEngine(IRazorViewEngine razorViewEngine, ITempDataProvider tempDataProvider, - IHttpContextAccessor httpContextAccessor) -``` - - -### Methods - -#### RenderView - -```csharp -public string RenderView(string viewPath, object model) -``` - - - diff --git a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/umbracocommercerazortemplateview-1.md b/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/umbracocommercerazortemplateview-1.md deleted file mode 100644 index 79475e099ce..00000000000 --- a/10/umbraco-commerce/reference/umbraco-commerce-web/umbraco-commerce-web-viewengines/umbracocommercerazortemplateview-1.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: UmbracoCommerceRazorTemplateView -description: API reference for UmbracoCommerceRazorTemplateView in Umbraco Commerce ---- -## UmbracoCommerceRazorTemplateView<TModel> - -```csharp -public abstract class UmbracoCommerceRazorTemplateView : RazorPage -``` - -**Namespace** -* [Umbraco.Commerce.Web.ViewEngines](README.md) - -### Properties - -#### BaseUrl - -```csharp -public string BaseUrl { get; } -``` - - ---- - -#### UmbracoCommerceApi - -```csharp -public IUmbracoCommerceApi UmbracoCommerceApi { get; } -``` - - - diff --git a/10/umbraco-commerce/release-notes.md b/10/umbraco-commerce/release-notes.md deleted file mode 100644 index 55517502dd3..00000000000 --- a/10/umbraco-commerce/release-notes.md +++ /dev/null @@ -1,93 +0,0 @@ ---- -description: >- - Get an overview of the things changed and fixed in each version of Umbraco Commerce. ---- - -# Release Notes - -In this section, we have summarized the changes to Umbraco Commerce released in each version. Each version is presented with a link to the [Commerce issue tracker](https://github.com/umbraco/Umbraco.Commerce.Issues/issues) showing a list of issues resolved in the release. We also link to the individual issues themselves from the detail. - -If there are any breaking changes or other issues to be aware of when upgrading they are also noted here. - -{% hint style="info" %} -If you are upgrading to a new major version, check the breaking changes in the [Version Specific Upgrade Notes](./upgrading/version-specific-upgrades.md) article. -{% endhint %} - -## Release History - -This section contains the release notes for Umbraco Commerce 10 including all changes for this version. - -#### [10.0.13](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.13) (July 11th 2024) - -* Fixed issue with stock synchronizer prematurely looking up a store [#536](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/536). - -#### [10.0.12](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.12) (July 3rd 2024) - -* Added pessimistic locking to the payment provider callback endpoint to prevent concurrency issues if the endpoint is called too many times at once [#533](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/533). -* Fixed percentage discounts not taking the stores rounding method into account during calculation [#506](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/506). -* Fixed issue where order lines with a zero value would cause a concurrency exception due to the fact their prices aren't frozen but the order recalculation process was attempting to refreeze them. -* Updated Order properties to trim whitespace around values to prevent unexpected behavior [#528](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/528). - -#### [10.0.11](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.11) (April 23rd 2024) - -* Fixed error in `SearchOrder` when searching with date ranges [#496](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/496). - -#### [10.0.10](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.10) (April 8th 2024) - -* Fixed properties set in the background from an entity action lost when resaving the entity from the UI after the action (wasn't fully fixed in 10.0.9) [#472](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/472). -* Added support for localhost sub domains in dev license [#493](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/493). -* Added a `WithUmbracoBuilder` extension for `IUmbracoCommerceBuilder` to allow access to the Umbraco configuration within an Umbraco Commerce registration. - -#### [10.0.9](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.9) (March 27th 2024) - -* Fixed properties set in the background from an entity action lost when resaving the entity from the UI after the action [#472](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/472). -* Fixed unable to override cart editor view like you can the order editor view [#474](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/474). - -#### [10.0.8](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.8) (March 3rd 2024) - -* Fixed issue with date range order searches not working correctly [#468](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/468). - -#### 10.0.7 (February 15th 2024) - -* Fixed error in SafeLazy not taking null into account and so causing errors when an entity cache entry is evicted [#466](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/466). -* Incremented `Newtonsoft.Json` version dependency to 13.0.1 as 13.0.0 doesn't exist on NuGet anymore [#451](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/451). - -#### 10.0.6 (February 6th 2024) - -* Added licensing fallback to use any previously validated license within the last 7 days -* Updated `Umbraco.Licenses` version dependency to the latest -* Made `WithUmbracoCommerceBuilder` extension public to allow accessing the `IUmbracoCommerceBuilder` instance outside of the `AddUmbracoCommerce` call - -#### [10.0.5](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.5) (December 13th 2023) - -* Fixed Cross-site scripting (XSS) issue in email/print templates. - -#### [10.0.4](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.4) (November 1st 2023) - -* Use Microsoft.Data.SqlClient for migrations to support Azure connection strings [#443](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/443). -* Move system config files to `system.{}.config.json` to allow overriding as per the docs [#448](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/448). -* Updated order/cart editor config to allow `template` option for custom property rendering [#446](https://github.com/umbraco/Umbraco.Commerce.Issues/discussions/446). - -#### [10.0.3](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.3) (October 18th 2023) - -* Fixed UI spelling mistakes as documented in issue [#427](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/427). -* Fixed issue where adding a product with a uniqueness property, and then adding the same product without a uniqueness property would replace the initial orderline, rather than adding a new one [#438](https://github.com/umbraco/Umbraco.Commerce.Issues/issues/438) -* Fixed localization issue where `-1` in querystrings would get incorrectly formatted. Root ids are now formatted with an invarient culture. - -#### [10.0.2](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.2) (September 13th 2023) - -* Allow overriding of `SameSite`/`Path` for Umbraco Commerce cookies. -* Updated `productSource` resolution to check for both `IPublishedContent` and `IEnumerable` as it depends on the picker used and what its return type is. - -#### [10.0.1](https://github.com/umbraco/Umbraco.Commerce.Issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.1) (August 15th 2023) - -* Updated default order number template from `CART-{0}` to `ORDER-{0}`. -* Updated product adapter to resolve product details correctly from child node variants. - -#### [10.0.0](https://github.com/umbraco/Umbraco.Commerce.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.0) (July 5th 2023) - -* [Initial product launch](https://umbraco.com/blog/umbraco-commerce-release/). - -## Legacy release notes - -You can find the release notes for **Vendr** in the [Change log file on GitHub](../../13/umbraco-commerce/changelog-archive/Vendr-core.md). diff --git a/10/umbraco-commerce/tutorials/overview.md b/10/umbraco-commerce/tutorials/overview.md deleted file mode 100644 index 8367908de5a..00000000000 --- a/10/umbraco-commerce/tutorials/overview.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: Tutorials -description: Step-by-Step Tutorials on getting started with Umbraco Commerce. ---- - -# Overview - -In this section, we will provide a series of follow-along tutorials on how to implement Umbraco Commerce. These will be aimed at getting you set up and running without going into heavy theoretical details. Once you are familiar with working with Umbraco Commerce, you can use the other sections of the documentation to gain a more in-depth knowledge of the different things you'll have implemented. diff --git a/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/README.md b/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/README.md deleted file mode 100644 index 751ad29bef9..00000000000 --- a/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/README.md +++ /dev/null @@ -1,326 +0,0 @@ ---- -description: Learn how to migrate a Vendr solution to Umbraco Commerce. ---- - -# Migrate from Vendr to Umbraco Commerce - -This guide provides a step-by-step approach to migrating a default Vendr solution to Umbraco Commerce. - -{% hint style="warning" %} -Upgrade to the latest version of Vendr before continuing with the migration. - -You can upgrade your installation by installing the [latest version](https://www.nuget.org/packages/Vendr/) on top of the existing one. -{% endhint %} - -You can find details on migrating the Checkout package as well as custom Payment Providers in the [Further Migrations section](./#further-migrations) of this article. - -## Key changes - -Before outlining the exact steps, there are a few key changes to be aware of. - -These changes will dictate the steps to take in the process of migrating to Umbraco Commerce. - -### Project, Package, and Namespace changes - -| Vendr | Umbraco Commerce | -| --------------------------- | -------------------------------------- | -| Vendr.Common | Umbraco.Commerce.Common | -| Vendr.Core | Umbraco.Commerce.Core | -| Vendr.Infrastructure | Umbraco.Commerce.Infrastructure | -| Vendr.Persistence | Umbraco.Commerce.Persistence | -| Vendr.Persistence.Sqlite | Umbraco.Commerce.Persistence.Sqlite | -| Vendr.Persistence.SqlServer | Umbraco.Commerce.Persistence.SqlServer | -| Vendr.Umbraco | Umbraco.Commerce.Cms | -| Vendr.Umbraco.Web | Umbraco.Commerce.Cms.Web | -| Vendr.Web | Umbraco.Commerce.Web | -| Vendr.Web.UI | Umbraco.Commerce.Web.StaticAssets | -| Vendr.Umbraco.Startup | Umbraco.Commerce.Cms.Startup | -| Vendr | Umbraco.Commerce | - -
- -C# Class changes - -* Namespace changes as documented above. -* All classes containing the `Vendr` keyword are now updated to `UmbracoCommerce`. - * Examples: `IVendrApi` is now `IUmbracoCommerceApi` and `AddVendr()` is now `AddUmbracoCommerce()`. - -
- -
- -JavaScript changes - -* All `vendr` modules have changed to `umbraco.commerce` modules. -* All `vendr` prefixed directives, services, and resources are now prefixed with `uc`. -* All `vendr` prefixed events now follow this format: `Umbraco.Commerce.{target}.{action}`. - -
- -
- -UI Changes - -* All static UI assets are served via a Razor Compiled Library (RCL) and are no longer found in the `App_Plugins` folder. -* The folder within `App_Plugins` still exists for the static assets that are user configurable. -* The folder with `App_Plugins` has been renamed from `Vendr` to `UmbracoCommerce`. -* UI Config files have changed from `.js` files to `.json`. - -
- -## Step 1: Replace dependencies - -In this first step, we will be replacing all existing Vendr dependencies with Umbraco Commerce dependencies. - -1. Remove any installed Vendr packages (including Payment Providers): - -```bash -dotnet remove package Vendr -``` - -2. Take a backup of any Vendr-specific templates and config files you will want to reuse: -3. Delete the Vendr `App_Plugins` folder: - -```bash -rmdir App_Plugins\Vendr -``` - -4. Install `Umbraco.Commerce`: - -```bash -dotnet add package Umbraco.Commerce -``` - -5. Install Umbraco Commerce packages including any payment providers previously removed. -6. Reapply any backed-up config files in their new `App_Plugins` location. -7. Move any backed-up templates into the `~/Views/UmbracoCommerce/Templates/` folder. -8. Rename any config files with a `.json` file extension rather than [the previous `.js`](#user-content-fn-1)[^1]. -9. Compile your project against .NET 7.0. - -## Step 2: Update namespaces and entity names - -Based on the [Key Changes](./#key-changes) outlined above update all Vendr references to the new Umbraco Commerce alternatives. Ensure you update any Views/Partials that also reference these. - -## Step 3: Update the database - -In this step, we will cover updating the database for Umbraco Commerce. - -1. Backup your database -2. Rename database tables using the following query: - -{% tabs %} -{% tab title="SQL Server" %} -```sql -sp_rename vendrCurrency, umbracoCommerceCurrency; -sp_rename vendrTaxClass, umbracoCommerceTaxClass; -sp_rename vendrStock, umbracoCommerceStock; -sp_rename vendrOrderStatus, umbracoCommerceOrderStatus; -sp_rename vendrEmailTemplate, umbracoCommerceEmailTemplate; -sp_rename vendrPaymentMethod, umbracoCommercePaymentMethod; -sp_rename vendrShippingMethod, umbracoCommerceShippingMethod; -sp_rename vendrCountry, umbracoCommerceCountry; -sp_rename vendrRegion, umbracoCommerceRegion; -sp_rename vendrCurrencyAllowedCountry, umbracoCommerceCurrencyAllowedCountry; -sp_rename vendrPaymentMethodAllowedCountryRegion, umbracoCommercePaymentMethodAllowedCountryRegion; -sp_rename vendrPaymentMethodCountryRegionPrice, umbracoCommercePaymentMethodCountryRegionPrice; -sp_rename vendrPaymentMethodPaymentProviderSetting, umbracoCommercePaymentMethodPaymentProviderSetting; -sp_rename vendrShippingMethodAllowedCountryRegion, umbracoCommerceShippingMethodAllowedCountryRegion; -sp_rename vendrShippingMethodCountryRegionPrice, umbracoCommerceShippingMethodCountryRegionPrice; -sp_rename vendrTaxClassCountryRegionTaxRate, umbracoCommerceTaxClassCountryRegionTaxRate; -sp_rename vendrDiscount, umbracoCommerceDiscount; -sp_rename vendrDiscountCode, umbracoCommerceDiscountCode; -sp_rename vendrOrder, umbracoCommerceOrder; -sp_rename vendrOrderProperty, umbracoCommerceOrderProperty; -sp_rename vendrOrderLine, umbracoCommerceOrderLine; -sp_rename vendrOrderLineProperty, umbracoCommerceOrderLineProperty; -sp_rename vendrGiftCard, umbracoCommerceGiftCard; -sp_rename vendrOrderAppliedDiscountCode, umbracoCommerceOrderAppliedDiscountCode; -sp_rename vendrOrderAppliedGiftCard, umbracoCommerceOrderAppliedGiftCard; -sp_rename vendrStoreAllowedUserRole, umbracoCommerceStoreAllowedUserRole; -sp_rename vendrStoreAllowedUser, umbracoCommerceStoreAllowedUser; -sp_rename vendrFrozenPrice, umbracoCommerceFrozenPrice; -sp_rename vendrGiftCardProperty, umbracoCommerceGiftCardProperty; -sp_rename vendrActivityLog, umbracoCommerceActivityLog; -sp_rename vendrOrderPriceAdjustment, umbracoCommerceOrderPriceAdjustment; -sp_rename vendrOrderAmountAdjustment, umbracoCommerceOrderAmountAdjustment; -sp_rename vendrProductAttribute, umbracoCommerceProductAttribute; -sp_rename vendrProductAttributeValue, umbracoCommerceProductAttributeValue; -sp_rename vendrTranslatedValue, umbracoCommerceTranslatedValue; -sp_rename vendrProductAttributePreset, umbracoCommerceProductAttributePreset; -sp_rename vendrProductAttributePresetAllowedAttribute, umbracoCommerceProductAttributePresetAllowedAttribute; -sp_rename vendrOrderLineAttribute, umbracoCommerceOrderLineAttribute; -sp_rename vendrPrintTemplate, umbracoCommercePrintTemplate; -sp_rename vendrExportTemplate, umbracoCommerceExportTemplate; -sp_rename vendrStoreEntityTag, umbracoCommerceStoreEntityTag; -sp_rename vendrMigrations, umbracoCommerceMigrations; -sp_rename vendrStore, umbracoCommerceStore; -``` -{% endtab %} - -{% tab title="SQLite" %} -```sql -ALTER TABLE vendrCurrency RENAME TO umbracoCommerceCurrency; -ALTER TABLE vendrTaxClass RENAME TO umbracoCommerceTaxClass; -ALTER TABLE vendrStock RENAME TO umbracoCommerceStock; -ALTER TABLE vendrOrderStatus RENAME TO umbracoCommerceOrderStatus; -ALTER TABLE vendrEmailTemplate RENAME TO umbracoCommerceEmailTemplate; -ALTER TABLE vendrPaymentMethod RENAME TO umbracoCommercePaymentMethod; -ALTER TABLE vendrShippingMethod RENAME TO umbracoCommerceShippingMethod; -ALTER TABLE vendrCountry RENAME TO umbracoCommerceCountry; -ALTER TABLE vendrRegion RENAME TO umbracoCommerceRegion; -ALTER TABLE vendrCurrencyAllowedCountry RENAME TO umbracoCommerceCurrencyAllowedCountry; -ALTER TABLE vendrPaymentMethodAllowedCountryRegion RENAME TO umbracoCommercePaymentMethodAllowedCountryRegion; -ALTER TABLE vendrPaymentMethodCountryRegionPrice RENAME TO umbracoCommercePaymentMethodCountryRegionPrice; -ALTER TABLE vendrPaymentMethodPaymentProviderSetting RENAME TO umbracoCommercePaymentMethodPaymentProviderSetting; -ALTER TABLE vendrShippingMethodAllowedCountryRegion RENAME TO umbracoCommerceShippingMethodAllowedCountryRegion; -ALTER TABLE vendrShippingMethodCountryRegionPrice RENAME TO umbracoCommerceShippingMethodCountryRegionPrice; -ALTER TABLE vendrTaxClassCountryRegionTaxRate RENAME TO umbracoCommerceTaxClassCountryRegionTaxRate; -ALTER TABLE vendrDiscount RENAME TO umbracoCommerceDiscount; -ALTER TABLE vendrDiscountCode RENAME TO umbracoCommerceDiscountCode; -ALTER TABLE vendrOrder RENAME TO umbracoCommerceOrder; -ALTER TABLE vendrOrderProperty RENAME TO umbracoCommerceOrderProperty; -ALTER TABLE vendrOrderLine RENAME TO umbracoCommerceOrderLine; -ALTER TABLE vendrOrderLineProperty RENAME TO umbracoCommerceOrderLineProperty; -ALTER TABLE vendrGiftCard RENAME TO umbracoCommerceGiftCard; -ALTER TABLE vendrOrderAppliedDiscountCode RENAME TO umbracoCommerceOrderAppliedDiscountCode; -ALTER TABLE vendrOrderAppliedGiftCard RENAME TO umbracoCommerceOrderAppliedGiftCard; -ALTER TABLE vendrStoreAllowedUserRole RENAME TO umbracoCommerceStoreAllowedUserRole; -ALTER TABLE vendrStoreAllowedUser RENAME TO umbracoCommerceStoreAllowedUser; -ALTER TABLE vendrFrozenPrice RENAME TO umbracoCommerceFrozenPrice; -ALTER TABLE vendrGiftCardProperty RENAME TO umbracoCommerceGiftCardProperty; -ALTER TABLE vendrActivityLog RENAME TO umbracoCommerceActivityLog; -ALTER TABLE vendrOrderPriceAdjustment RENAME TO umbracoCommerceOrderPriceAdjustment; -ALTER TABLE vendrOrderAmountAdjustment RENAME TO umbracoCommerceOrderAmountAdjustment; -ALTER TABLE vendrProductAttribute RENAME TO umbracoCommerceProductAttribute; -ALTER TABLE vendrProductAttributeValue RENAME TO umbracoCommerceProductAttributeValue; -ALTER TABLE vendrTranslatedValue RENAME TO umbracoCommerceTranslatedValue; -ALTER TABLE vendrProductAttributePreset RENAME TO umbracoCommerceProductAttributePreset; -ALTER TABLE vendrProductAttributePresetAllowedAttribute RENAME TO umbracoCommerceProductAttributePresetAllowedAttribute; -ALTER TABLE vendrOrderLineAttribute RENAME TO umbracoCommerceOrderLineAttribute; -ALTER TABLE vendrPrintTemplate RENAME TO umbracoCommercePrintTemplate; -ALTER TABLE vendrExportTemplate RENAME TO umbracoCommerceExportTemplate; -ALTER TABLE vendrStoreEntityTag RENAME TO umbracoCommerceStoreEntityTag; -ALTER TABLE vendrMigrations RENAME TO umbracoCommerceMigrations; -ALTER TABLE vendrStore RENAME TO umbracoCommerceStore; -``` -{% endtab %} -{% endtabs %} - -3. Swap Vendr property editors for Umbraco Commerce property editors: - -```sql -UPDATE umbracoDataType -SET propertyEditorAlias = REPLACE(propertyEditorAlias, 'Vendr.', 'Umbraco.Commerce.') -WHERE propertyEditorAlias LIKE 'Vendr.%' -``` - -4. Swap the Vendr variants editor for the Umbraco Commerce variants editor in the block list data entry: - -```sql -UPDATE umbracoPropertyData -SET textValue = REPLACE(textValue, 'Vendr.VariantsEditor', 'Umbraco.Commerce.VariantsEditor') -WHERE textValue LIKE '%Vendr.VariantsEditor%'; -``` - -5. Swap Vendr price/amount adjustments to Umbraco Commerce price/amount adjustments: - -```sql -UPDATE umbracoCommerceOrderPriceAdjustment -SET type = REPLACE(type, 'Vendr.', 'Umbraco.Commerce.') -WHERE type LIKE '%Vendr.%'; -UPDATE umbracoCommerceOrderAmountAdjustment -SET type = REPLACE(type, 'Vendr.', 'Umbraco.Commerce.') -WHERE type LIKE '%Vendr.%'; -``` - -6. Update template paths: - -```sql -UPDATE umbracoCommerceEmailTemplate -SET templateView = REPLACE(templateView, '/App_Plugins/Vendr/templates/email', '/Views/UmbracoCommerce/Templates/Email') -WHERE templateView LIKE '%/Vendr/%'; -UPDATE umbracoCommercePrintTemplate -SET templateView = REPLACE(templateView, '/App_Plugins/Vendr/templates/print', '/Views/UmbracoCommerce/Templates/Print') -WHERE templateView LIKE '%/Vendr/%'; -UPDATE umbracoCommerceExportTemplate -SET templateView = REPLACE(templateView, '/App_Plugins/Vendr/templates/export', '/Views/UmbracoCommerce/Templates/Export') -WHERE templateView LIKE '%/Vendr/%'; -``` - -7. Update the migrations log: - -```sql -UPDATE umbracoCommerceMigrations -SET migration = REPLACE(migration, 'Vendr.', 'Umbraco.Commerce.') -WHERE migration LIKE 'Vendr.%'; -``` - -8. Update the activity logs: - -```sql -UPDATE umbracoCommerceActivityLog -SET eventType = REPLACE(eventType, 'vendr/', 'commerce/') -WHERE eventType LIKE 'vendr/%'; -``` - -## Step 4: Finalizing the migration - -1. Delete any obj/bin folders in your projects to ensure a clean build. -2. Recompile all projects and ensure all dependencies are restored correctly -3. Delete the existing Vendr license files in the `umbraco\Licenses` folder. -4. Add your new Umbraco.Commerce license key to the `appSettings.json` file: - -```json -"Umbraco"" { - "Licenses": { - "Umbraco.Commerce": "YOUR_LICENSE_KEY" - } -} -``` - -5. Update any payment gateways that use a global webhook: - -```none -https://{site_url}/umbraco/commerce/payment/callback/{payment_provider_alias}/{payment_method_id}/ -``` - -6. Run the project. - -It is highly recommended to ensure everything works as expected, before moving on to migrating packages and custom payment providers. - -## Further Migrations - -If you have been using the Vendr Checkout package, you will need to follow some additional steps to migrate this package to Umbraco Commerce. Follow the link below for a complete guide: - -{% content-ref url="migrate-umbraco-commerce-checkout.md" %} -[migrate-umbraco-commerce-checkout.md](migrate-umbraco-commerce-checkout.md) -{% endcontent-ref %} - -Any custom payment providers used with Vendr also need to be migrated to Umbraco Commerce. Follow the link below to find detailed steps on how to perform this migration: - -{% content-ref url="migrate-custom-payment-providers.md" %} -[migrate-custom-payment-providers.md](migrate-custom-payment-providers.md) -{% endcontent-ref %} - -## Common Issues - -### DB Migration Issue Due to Column Constraints - -Some users have reported issues running the Umbraco Commerce migrations resuling in an error along the lines of: - -```` -SqlException: The object 'remainingAmount_default' is dependent on column 'remainingAmount'. -ALTER TABLE ALTER COLUMN remainingAmount failed because one or more objects access this column. -Umbraco.Commerce.Persistence.Migrations.DbUpUmbracoCommerceMigrationsRunner.MigrateUp() -```` - -The issue generally revolves around the default constraints not having the expected name. To resolve this you should identify the table and the problematic constraint and manually drop the constraint: - -```sql -ALTER TABLE [dbo].[umbracoCommerceGiftCard] -DROP CONSTRAINT remainingAmount_default; -``` - -This will remove the constraint allowing the migrations to run which should re-add the constraints with the correct name. - -[^1]: Vendr previously used the `.js` file extension to serve JSON files without having to configure a new `.json` mime-type on the server. This is no longer necessary in Umbraco Commerce so we can now use the correct `.json` file extension. diff --git a/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-custom-payment-providers.md b/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-custom-payment-providers.md deleted file mode 100644 index e0214524172..00000000000 --- a/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-custom-payment-providers.md +++ /dev/null @@ -1,26 +0,0 @@ ---- -description: >- - Follow the steps outlined below to migrate your custom payment providers to - Umbraco Commerce. ---- - -# Migrate custom Payment Providers - -Throughout the following steps, we will migrate custom payment providers used for Umbraco Commerce into Umbraco Commerce. - -1. Remove any installed Umbraco Commerce packages - -```bash -dotnet remove package Umbraco.Commerce.Core -``` - -2. Install the `Umbraco.Commerce` packages for the payment providers. - -```bash -dotnet add package Umbraco.Commerce.Core -``` - -3. Update any namespace references. -4. Update project framework to `net7.0`. - -The final step in the migration is to update all abstract async methods exposed by the base class. It needs to be updated to accept an additional `CancellationToken cancellationToken = default` parameter as the final method argument. Your Integrated Development Environment (IDE) should provide feedback on all the methods that have been updated. diff --git a/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-umbraco-commerce-checkout.md b/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-umbraco-commerce-checkout.md deleted file mode 100644 index 9925b605c3b..00000000000 --- a/10/umbraco-commerce/upgrading/migrate-from-vendr-to-umbraco-commerce/migrate-umbraco-commerce-checkout.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -description: >- - Detailed steps on how to migrate the Checkout package from Vendr to Umbraco - Commerce. ---- - -# Migrate Umbraco Commerce Checkout - -Throughout the following steps, we will migrate the Checkout package from Vendr to Umbraco Commerce. - -1. Make a backup of any custom templates and Vendr UI configuration files. -2. Make a note of all configuration values on the Vendr.Checkout Checkout node. -3. Delete Vendr.Checkout generated checkout nodes. - * Checkout - * Customer Information - * Shipping Method - * Payment Method - * Review Order - * Process Payment - * Order Confirmation -4. Delete all Vendr.Checkout generated Document Types. - * \[Vendr Checkout] Page - * \[Vendr Checkout] Checkout Page - * \[Vendr Checkout] Checkout Step Page -5. Delete all Vendr.Checkout generated Data Types. - * \[Vendr Checkout] Step Picker - * \[Vendr Checkout] Theme Color Picker -6. Uninstall the Vendr.Checkout Nuget package: - -```bash -dotnet remove package Vendr.Checkout -``` - -7. Delete any remaining files and folders in the `~/App_Plugins/VendrCheckout` directory. -8. Install the Umbraco.Commerce.Checkout package: - -```bash -dotnet add package Umbraco.Commerce.Checkout -``` - -9. Locate the Umbraco Commerce Checkout dashboard in the Settings section -10. Click the "Install" button to reinstall the Checkout components in the previous location. -11. Copy any custom configuration files back into the solution. -12. Copy any custom Views into the `~/Views/UmbracoCommerceCheckout/` folder. diff --git a/10/umbraco-commerce/upgrading/upgrade.md b/10/umbraco-commerce/upgrading/upgrade.md deleted file mode 100644 index 024422ad5c1..00000000000 --- a/10/umbraco-commerce/upgrading/upgrade.md +++ /dev/null @@ -1,37 +0,0 @@ -# Upgrading Umbraco Commerce - -This article shows how to manually upgrade Umbraco Commerce to run the latest version. -When upgrading Umbraco Commerce, be sure to also consult the [version specific upgrade](version-specific-upgrades.md) notes to learn about potential breaking changes and common pitfalls. - -{% hint style="warning" %} -Before upgrading, it is always advisable to take a complete backup of your site and database. -{% endhint %} - -## Get the latest version of Umbraco Commerce - -To upgrade to the latest version of Umbraco Commerce you can use: -- NuGet -- Visual Studio - -### NuGet - -- NuGet installs the latest version of the package when you use the `dotnet add package Umbraco.Commerce` command unless you specify a package version: `dotnet add package Umbraco.Commerce --version ` - -- After you have added a package reference to your project by executing the `dotnet add package Umbraco.Commerce` command in the directory that contains your project file, run `dotnet restore` to install the package. - - -### Visual Studio - -1. Go to `Tools` -> `NuGet Package Manager` -> `Manage NuGet Packages for Solution...` in Visual Studio, to upgrade Umbraco Commerce: -2. Select **Umbraco.Commerce**. -3. Select the latest version from the Version drop-down and click Install. -4. When the command completes, open the **.csproj** file to make sure the package reference is updated: -```xml - - - -``` - -If you are using one or more of the below sub-packages, they also need to be upgraded as well: - -
Sub-packageDescription
Umbraco.Commerce.CommonA shared project of common, non-Commerce-specific patterns and helpers.
Umbraco.Commerce.CoreCore Commerce functionality that doesn't require any infrastructure-specific dependencies.
Umbraco.Commerce.InfrastructureInfrastructure-specific project containing implementations of core Commerce functionality.
Umbraco.Commerce.Persistence.SqlServerPersistence-specific project containing implementations of core Commerce persistence functionality for SQL Server.
Umbraco.Commerce.Persistence.SqllitePersistence-specific project containing implementations of core Commerce persistence functionality for SQLite.
Umbraco.Commerce.WebCore Commerce functionality that requires a web context.
Umbraco.Commerce.CmsCore Commerce functionality that requires an Umbraco dependency.
Umbraco.Commerce.Cms.WebThe Commerce functionality for the Umbraco presentation layer.
Umbraco.Commerce.Cms.Web.UIThe static Commerce assets for the Umbraco presentation layer.
Umbraco.Commerce.Cms.StartupThe Commerce functionality for registering Commerce with Umbraco.
Umbraco.CommerceThe main Commerce package entry point package.
diff --git a/10/umbraco-commerce/upgrading/version-specific-upgrades.md b/10/umbraco-commerce/upgrading/version-specific-upgrades.md deleted file mode 100644 index bf6dbdeb07a..00000000000 --- a/10/umbraco-commerce/upgrading/version-specific-upgrades.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -description: >- - Version specific documentation for upgrading to new major versions of Umbraco - Commerce. ---- - -# Version Specific Upgrade Notes - -This page covers specific upgrade documentation for when migrating to major 10 of Umbraco Commerce. - -{% hint style="info" %} -If you are upgrading to a new minor or patch version, you can find information about the breaking changes in the [Release Notes](../release-notes.md) article. -{% endhint %} - -## Version Specific Upgrade Notes History - -Version 10 is the initial Long-term support (LTS) release of the Umbraco Commerce product. It contains a number of breaking changes from the previous, Vendr product. - -See the [Migrate from Vendr to Umbraco Commerce guide](../upgrading/migrate-from-vendr-to-umbraco-commerce/README.md) for full details. - -## Legacy version specific upgrade notes - -You can find the version specific upgrade notes for versions out of support in the [Legacy documentation on GitHub](https://github.com/umbraco/UmbracoDocs/tree/umbraco-eol-versions). diff --git a/10/umbraco-deploy/.gitbook.yaml b/10/umbraco-deploy/.gitbook.yaml deleted file mode 100644 index a50374e0c19..00000000000 --- a/10/umbraco-deploy/.gitbook.yaml +++ /dev/null @@ -1,13 +0,0 @@ -root: ./ - -​structure: - readme: README.md - summary: SUMMARY.md - -redirects: - getting-started/install-configure: installation/install-configure.md - the-licensing-model: installation/the-licensing-model.md - deploy-settings: getting-started/deploy-settings.md - extending: getting-started/extending.md - get-started-with-deploy: getting-started/get-started-with-deploy.md - handling-cache-refresher-notifications: getting-started/handling-cache-refresher-notifications.md diff --git a/10/umbraco-deploy/.gitbook/assets/Normal-Restore.gif b/10/umbraco-deploy/.gitbook/assets/Normal-Restore.gif deleted file mode 100644 index 45e8a8011c6..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/Normal-Restore.gif and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1) (1).png b/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1) (1).png deleted file mode 100644 index 652baf5ff5f..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1) (2).png b/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1) (2).png deleted file mode 100644 index 652baf5ff5f..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1) (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1).png b/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1).png deleted file mode 100644 index 652baf5ff5f..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (2).png b/10/umbraco-deploy/.gitbook/assets/code_cursor copy (2).png deleted file mode 100644 index 652baf5ff5f..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/code_cursor copy (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/code_cursor copy.png b/10/umbraco-deploy/.gitbook/assets/code_cursor copy.png deleted file mode 100644 index 652baf5ff5f..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/code_cursor copy.png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/code_cursor.png b/10/umbraco-deploy/.gitbook/assets/code_cursor.png deleted file mode 100644 index 652baf5ff5f..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/code_cursor.png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (1).png b/10/umbraco-deploy/.gitbook/assets/image (1).png deleted file mode 100644 index 8dd98efbf69..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (2).png b/10/umbraco-deploy/.gitbook/assets/image (2).png deleted file mode 100644 index e2e61fef550..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (3).png b/10/umbraco-deploy/.gitbook/assets/image (3).png deleted file mode 100644 index 99c55b6c5db..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (3).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (4).png b/10/umbraco-deploy/.gitbook/assets/image (4).png deleted file mode 100644 index 1d25096fbce..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (4).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (5).png b/10/umbraco-deploy/.gitbook/assets/image (5).png deleted file mode 100644 index 8e8df467a42..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (5).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (6).png b/10/umbraco-deploy/.gitbook/assets/image (6).png deleted file mode 100644 index c8e5d267a25..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (6).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (7).png b/10/umbraco-deploy/.gitbook/assets/image (7).png deleted file mode 100644 index e9c3169ab1b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (7).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (8).png b/10/umbraco-deploy/.gitbook/assets/image (8).png deleted file mode 100644 index ddf5beadede..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (8).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image (9).png b/10/umbraco-deploy/.gitbook/assets/image (9).png deleted file mode 100644 index 2aec97a8175..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image (9).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/image.png b/10/umbraco-deploy/.gitbook/assets/image.png deleted file mode 100644 index 44a3aa99c91..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/image.png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1) (1).png b/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1) (1).png deleted file mode 100644 index ea184f80f6d..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1) (2).png b/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1) (2).png deleted file mode 100644 index ea184f80f6d..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1) (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1).png b/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1).png deleted file mode 100644 index ea184f80f6d..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (2).png b/10/umbraco-deploy/.gitbook/assets/lightbulb copy (2).png deleted file mode 100644 index ea184f80f6d..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/lightbulb copy (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/lightbulb copy.png b/10/umbraco-deploy/.gitbook/assets/lightbulb copy.png deleted file mode 100644 index ea184f80f6d..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/lightbulb copy.png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/lightbulb.png b/10/umbraco-deploy/.gitbook/assets/lightbulb.png deleted file mode 100644 index ea184f80f6d..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/lightbulb.png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/update copy (1) (1).png b/10/umbraco-deploy/.gitbook/assets/update copy (1) (1).png deleted file mode 100644 index 7c182d2364b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/update copy (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/update copy (1) (2).png b/10/umbraco-deploy/.gitbook/assets/update copy (1) (2).png deleted file mode 100644 index 7c182d2364b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/update copy (1) (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/update copy (1).png b/10/umbraco-deploy/.gitbook/assets/update copy (1).png deleted file mode 100644 index 7c182d2364b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/update copy (1).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/update copy (2).png b/10/umbraco-deploy/.gitbook/assets/update copy (2).png deleted file mode 100644 index 7c182d2364b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/update copy (2).png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/update copy.png b/10/umbraco-deploy/.gitbook/assets/update copy.png deleted file mode 100644 index 7c182d2364b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/update copy.png and /dev/null differ diff --git a/10/umbraco-deploy/.gitbook/assets/update.png b/10/umbraco-deploy/.gitbook/assets/update.png deleted file mode 100644 index 7c182d2364b..00000000000 Binary files a/10/umbraco-deploy/.gitbook/assets/update.png and /dev/null differ diff --git a/10/umbraco-deploy/README.md b/10/umbraco-deploy/README.md deleted file mode 100644 index ab7b895a990..00000000000 --- a/10/umbraco-deploy/README.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -description: Documentation on how to work with Umbraco Deploy. ---- - -# Umbraco Deploy Documentation - -Umbraco Deploy is a deployment tool that helps you with the process of transferring code and data between multiple environments. Deploy can be configured for many different setups and is great for both small setups as well as large and more complex infrastructures. - -
Installing Umbraco DeployLearn how you can install Umbraco Deploy on new and existing Umbraco projects.install-configure.md
Deployment workflow inLearn about how the Deployment workflow in Umbraco Deploy work.deployment-workflow
UpgradingLearn how you can upgrade Umbraco Deploy.upgrades
- -{% embed url="https://www.youtube-nocookie.com/embed/Fqfc-UL4q5U" %} -Umbraco Deploy Overview -{% endembed %} - -{% content-ref url="getting-started/deploy-settings.md" %} -[deploy-settings.md](getting-started/deploy-settings.md) -{% endcontent-ref %} - -{% content-ref url="extending/extend-deploy.md" %} -[extend-deploy.md](extending/extend-deploy.md) -{% endcontent-ref %} - -{% content-ref url="troubleshooting.md" %} -[troubleshooting.md](troubleshooting.md) -{% endcontent-ref %} - -Umbraco Deploy is also the engine that runs behind the scenes on [Umbraco Cloud](https://docs.umbraco.com/umbraco-cloud/). Here it takes care of all the deployment processes of both code, schema and content on projects. - -With Umbraco Deploy you get to use the Umbraco Cloud Deployment technology outside of Umbraco Cloud to ease deployment between multiple Umbraco environments. This is done by connecting external hosted Umbraco projects with a local instance of your Umbraco website. - -In the Umbraco Deploy documentation can read all about how to set up and work with Umbraco Deploy. - -You can find articles about how to set up Umbraco Deploy on a new or an existing website, and article about the deployment workflow. diff --git a/10/umbraco-deploy/SUMMARY.md b/10/umbraco-deploy/SUMMARY.md deleted file mode 100644 index fbbfda99fb5..00000000000 --- a/10/umbraco-deploy/SUMMARY.md +++ /dev/null @@ -1,41 +0,0 @@ -# Table of contents - -* [Umbraco Deploy Documentation](README.md) -* [Legacy Documentation](legacy-documentation.md) -* [Release notes](release-notes.md) -* [Troubleshooting](troubleshooting.md) - -## Installation - -* [Installing Umbraco Deploy](installation/install-configure.md) -* [Licensing](installation/the-licensing-model.md) - -## Upgrading - -* [Upgrading Umbraco Deploy](upgrades/README.md) -* [Version Specific Upgrade Details](upgrades/version-specific.md) - -## Getting Started - -* [Getting started](getting-started/get-started-with-deploy.md) -* [CI/CD Build and Deployment Pipeline](getting-started/cicd-pipeline/README.md) - * [Azure DevOps](getting-started/cicd-pipeline/ci-cd-azure-dev-ops.md) - * [GitHub Actions](getting-started/cicd-pipeline/ci-cd-github-actions.md) -* [Streamlining Local Development](getting-started/streamlining-local-development.md) -* [Configuration](getting-started/deploy-settings.md) - -## Deployment Workflow - -* [Deployment](deployment-workflow/README.md) -* [Transferring Content, Media and Forms](deployment-workflow/content-transfer.md) -* [Import and Export](deployment-workflow/import-export.md) -* [Deploying Changes](deployment-workflow/deploying-changes.md) -* [Deploying deletions](deployment-workflow/deploying-deletions.md) -* [Restoring content](deployment-workflow/restoring-content/README.md) - * [Partial Restores](deployment-workflow/restoring-content/partial-restore.md) -* [Deploy Dashboard](deployment-workflow/deploy-dashboard.md) - -## Extending - -* [Extend Deploy](extending/extend-deploy.md) -* [Handling Cache Refresher Notifications](extending/handling-cache-refresher-notifications.md) diff --git a/10/umbraco-deploy/deployment-workflow/README.md b/10/umbraco-deploy/deployment-workflow/README.md deleted file mode 100644 index 3be2016f932..00000000000 --- a/10/umbraco-deploy/deployment-workflow/README.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -meta.Title: Deployments in Umbraco Deploy -description: A description of the proper workflow when working with Umbraco Deploy ---- - -# Deployment - -Umbraco Deploy uses a deployment model that relies on Git and Umbraco Deploy core technology to move your changes from one environment to another. Umbraco Deploy uses a classic "left to right" deployment model, meaning that changes are first made in the Development or local environment and then deployed to the production environment. - -{% hint style="info" %} -If your project contains a Staging environment, deployments will be made from Development to Staging and then from Staging to Live. -{% endhint %} - -![Left to right model](images/left-to-right.png) - -## Deployment Approach - -Umbraco Deploy uses a two-part deployment approach where we keep meta data (Document types, templates, etc) and content (Content nodes and Media) as separate parts of a deployment. In order to be able to distinguish between the two types of deployments we use the term _transfer_ for content and media deployments and the term _deploy_ for meta data deployments. - -In summary: - -1. Meta data such as Document Types, Templates, Forms, Views and config files are stored in a repository and are **deployed** between environments. This can be achieved using a CI/CD deployment pipeline with something like GitHub Actions or Azure DevOps. -2. Content and Media items are **not** stored in the repository. These need to be **transferred** directly from the Umbraco backoffice using the _"Queue for Transfer"_ option. Once a content editor has all the items needed for a transfer they will use the Deployment Dashboard in the Content section to transfer the items in the queue. - -### Deploying meta data - -In order to be able to transfer content and media, the source environment and the target environment needs to have the same setup - meaning they need to be completely in sync and have the same file structure. To achieve this you need to deploy your meta data changes to the target environment. - -* [Deploying from your local machine to your environments](deploying-changes.md) - -### Transfer Content and Media - -Moving your content and media between your environments is done through the Umbraco backoffice. You can transfer content from one environment to another, e.g. from local to your development environment. You also have the option to restore content and media to your local or development environment from your production or staging environment. - -* [Transfer Content and Media](content-transfer.md) -* [Restore Content and / or Media](restoring-content/) - -{% hint style="info" %} -Transferring and restoring content and media is the same whether you are working locally and transferring between two environments. -{% endhint %} - -{% embed url="https://www.youtube.com/embed/poRzuBB11pc?rel=0" %} -Umbraco Deploy - Content transfer and deploy -{% endembed %} - -### Import and Export - -Another approach for transferring content and schema between environments is to use import and export. In one environment, you can export selected content, a tree, or the whole workspace to a .zip file. There are options to include related media files, schema and code files such as templates and stylesheets. - -That .zip file can then be uploaded into a new environment, where it will be validated and then processed to update Umbraco. - -As part of the import process, we provide hooks to allow for migrations of the imported artifacts (like data types) and property data. This should allow you to migrate your Umbraco data from one Umbraco major version to a newer one. - -We recommend using the content and media backoffice transfer options for day-to-day editorial activities. Import and export is intended more for larger transfer options, project upgrades, or one-off tasks when setting up new environments. - -Read more about the [import and export feature](import-export.md). - -## Deploy Dashboard - -In Umbraco Deploy we have included a Deploy Dashboard in the Settings section of the Umbraco backoffice to make it easier to run operations like schema deployment from data files and extract schema to data files. - -When running the `extract schema to data files` operation, Umbraco Deploy will run an `echo > deploy-export` in the data folder of your project which is used to generate UDA files based on the schema in your database. - -Running the `schema deployment from data files` operation will initiate an extraction on the environment - -The extraction will end in one of two possible outcomes: - -1. `deploy-complete`: The extraction succeeded and your environment is in good shape! -2. `deploy-failed`: The extraction failed - open the deploy-failed file, to see the error message. - -It is also possible to see which version of Umbraco Deploy you are running, when the last operation was started and the status of the deployment operation. - -## [Deploy Dashboard](deploy-dashboard.md) - -In Umbraco Deploy we have included a Deploy Dashboard in the Settings section of the Umbraco backoffice to make it easier to run operations like schema deployment from data files and extract schema to data files. diff --git a/10/umbraco-deploy/deployment-workflow/content-transfer.md b/10/umbraco-deploy/deployment-workflow/content-transfer.md deleted file mode 100644 index 96964c74e95..00000000000 --- a/10/umbraco-deploy/deployment-workflow/content-transfer.md +++ /dev/null @@ -1,73 +0,0 @@ ---- -meta.Title: Transferring content with Umbraco Deploy -description: How to restore content in Umbraco Deploy using the deployment dashboard ---- - -# Transferring Content, Media and Forms - -Once all code and meta data is in sync between your environments, it's time to transfer your content and media. This is done from the Umbraco Backoffice. - -Content and media transfers are flexible which means you have complete control over which content nodes and/or media items you want to transfer. You can transfer it all in one go, a few at a time or transfer only a single node. - -Transferring content will overwrite any existing nodes on the target environment - content transfers will transfer the items that you select in the "source" environment to the "target" environment exactly the same as it was in the "source". This means that if you have some content on the target environment already, this will be replaced by the new content from the source environment. - -**Important**: Content and Media transfers will only work if you've deployed all changes to your meta data before hand. Please refer to our documentation on how to deploy meta data from [Deploying Content](deploying-changes.md). - -## Step-by-step - -Let’s go through a content transfer step by step. Imagine you’ve finished working on new content for your project locally and you are ready to transfer the changes to your development site. - -You want to transfer the whole site. You start from the `Home` node and choose to transfer everything under it: - -1. Click on the ellipsis next to the `Home` node in the Content tree. -2. Choose "Do something else". -3. There you get the choice of **Queue for transfer**. - * If you’re currently editing the Home page you could also use the Actions dropdown to find **Queue for transfer**. -4. Choose if you want to include all pages under the chosen page or only transfer the chosen node. - * If you wish to transfer all your content at once, _right-click_ the top of the Content tree where you will also find **Queue for transfer** - this will queue all your content for transfer. -5. Select the language versions that you want to queue for transfer. Only languages for which you have permission to access will be selectable. -6. Set the publish date and time if you want to change when the transferred content should be published. - - {% hint style="info" %} - By default, the content will be transferred in its current published state. So if the content is published in the current environment, the changes will be deployed and the item immediately be published in the destination. If you prefer to schedule the publishing of the changes, you can do so by selecting a publish date. - {% endhint %} -7. Click **Queue** to add the content item to the transfer queue. - - ![Queue for transfer window](images/queue-for-transfer-dialog.png) -8. Go to the Deployment dashboard by clicking on the Content section header. - * You will be able to see which items are currently ready to be transferred - this will include both content and media that you've _queued for transfer_. -9. Confirm by clicking **Transfer toDevelopment** and monitor the progress of the transfer. - - ![Transfer queue]() - -If everything went well, you will see the confirmation screen saying that the transfer has succeeded. - -### Media items - -Media items are transferred the same way as content: - -1. In the Media section _Right-click_ the items you want to transfer and choose **Queue for transfer**. - * Or _right-click_ the top of the Media section to transfer all you media at once. -2. Go to the Deployment dashboard in the Content section to see the items you've queued for transfer and to transfer your items. - -### Umbraco Forms - -In order for Deploy to handle Forms data as content, you will need to ensure that the `transferFormsAsContent` setting in configuration is set to `true`. See details in the [Deploy Settings for Umbraco 9+](../getting-started/deploy-settings.md) article. - -Once the setting have been added to the source and target environment forms can be transferred the same way as content and media: - -1. In the Forms section _Right-click_ the items you want to transfer and choose **Queue for transfer**. - * Or _right-click_ the top of the Forms section to transfer all your Forms at once. -2. Go to the Deployment dashboard in the Content section to see the items you've queued for transfer and to transfer your items. - -{% hint style="info" %} -This does not include entries submitted via the forms. -{% endhint %} - -## Schema Mismatches - -Sometimes a content transfer might not be possible. For example if you add a new property to the HomePage Document type and you don’t have that property in both environments, you’ll get an error with a hint on how to fix this. - -![Clone dialog](images/schema-mismatch.png) - -If you are seeing this type of issue when trying to transfer content, head over to our article about [Schema Mismatch errors](../troubleshooting.md), where you can read about how to resolve the issues. diff --git a/10/umbraco-deploy/deployment-workflow/deploy-dashboard.md b/10/umbraco-deploy/deployment-workflow/deploy-dashboard.md deleted file mode 100644 index 5f2bb9738b2..00000000000 --- a/10/umbraco-deploy/deployment-workflow/deploy-dashboard.md +++ /dev/null @@ -1,75 +0,0 @@ ---- -description: >- - With the Deploy Dashboard, we have made it possible to get an overview of your - Umbraco Deploy installation and perform Deploy operations. ---- - -# Deploy Dashboard - -In this article, we will show the different sections on the Deploy dashboard and how they can be used. - -## Deploy Status - -Here you can see whether the latest deployment has been completed or failed. You can see the version of Umbraco Deploy you are running, and the last time an operation was run. - -

Umbraco Deploy status

- -## Deploy Operations - -With the Deploy operations, you can run different operations in Umbraco Deploy. - -

The different Deploy operations.

- -Below you can read what each operation will do when run through the dashboard. - -### Update Umbraco Schema From Data Files - -Running this operation will update the Umbraco Schema based on the information in the `.uda` files on disk. - -### Export Schema To Data Files - -Running this operation will extract the schema from Umbraco and output it to the `.uda` files on disk. - -### Clear Cached Signatures - -Running this operation will clear the cached artifact signatures from the Umbraco environment. This should not be necessary, however, it may resolve reports of schema mismatches when transferring content that has been aligned. - -### Set Cached Signatures - -This operation will set the cached artifact signatures for all entities within the Umbraco environment. Use this when signatures have been cleared and you want to ensure they are pre-generated before attempting a potentially longer restore or transfer operation. - -## Download Deploy Artifacts - -Running this operation will download a zip file with all the Deploy artifacts representing the Umbraco schema in the form of `.uda` files. - -This operation is useful if you want to move to another Umbraco instance and migrate the data with you. - -

Donwload the Deploy artifacts

- -## Configuration Details - -In the Configuration details, you can see how Umbraco Deploy has been [configured](../getting-started/deploy-settings.md) on your environment. You get an overview of the Setting options, the current value(s), and notes help you understand each of the settings. Updates to the need to be applied in the `appsettings.json` file. - -

Example of Umbraco Deploy configuration.

- -## Schema Comparison - -The Schema Comparison table shows the schema information managed by Umbraco Deploy. - -You can see a comparison between the information that is held in Umbraco and the information in the `.uda` files on disk. - -The table shows: - -* The name of the schema -* The file name -* Whether the file exists in Umbraco -* Whether the file exists -* Whether the file is up-to-date - -

Document type schema comparison

- -You can also view details about a certain element by selecting "View Details". - -This will show the difference between entities stored in Umbraco and the `.uda` file stored on disk. - -

Showing how you can compare schema in the deploy dashboard

diff --git a/10/umbraco-deploy/deployment-workflow/deploying-changes.md b/10/umbraco-deploy/deployment-workflow/deploying-changes.md deleted file mode 100644 index 66ef3c814f4..00000000000 --- a/10/umbraco-deploy/deployment-workflow/deploying-changes.md +++ /dev/null @@ -1,52 +0,0 @@ ---- -description: >- - How to Deploy changes between a local machine and an environment in Umbraco - Deploy using either a Git Gui or without ---- - -# Deploying Changes - -In this article you can learn more about how to deploy your code changes and meta data from a local instance to a remote environment. - -## Deploying from local to your environments - -When you are working with your Umbraco project locally all changes you make will automatically be identified and picked up by your local Git client. - -Here's a quick step-by-step on how you deploy these changes to your environment: - -* You've cloned a site to your local machine to work on. -* You've made some changes to a Document Type. -* The corresponding `.uda` file for this Document Type is now updated with the changes - the file is located in the `/umbraco/Deploy/Revision` folder. -* You've also created a new Data Type that's used on the Document Type. This Data Type is stored as a new file in the `/umbraco/Deploy/Revision` folder as well. -* Using Git, commit those two changed files to your local repository and push them to your repository. -* A deployment kicks in and the Document Type is updated and the new Data Type you created locally is now automatically created in the remote environment as well. - -## Deploying without using a Git client - -If you don't have a Git client installed on your local machine, you can use Git or Git Bash for command-line Git operations. Run the following commands: - -``` -# Navigate to the repository folder -cd mySite -# Check status of the repository for pending changes -git status -# Add pending changes -git add -A -# Commit staged files -git commit -m "Adding updated schema changed" -# Push to the environment -git push - -# If the push is rejected you will need to pull first -git pull -# Try to push again if there were no conflicts -git push -``` - -When pulling new commits, it is a good idea to see if any of these commits contained changes to the schema (anything in `umbraco/Deploy/Revision/`). To ensure your local schema is up-to-date, you can navigate to the `umbraco/Deploy/` folder and create a deploy marker if it doesn't exist. From a command line type the following command: - -`/…mysite/umbraco/Deploy> echo > deploy` - -The local site should be running when you do this. The deploy marker will change to `deploy-progress` while updating the site and to `deploy-complete` when done. If there are any conflicts/errors you will see a `deploy-failed` marker instead, which contains an error message with a description of what went wrong. - -Another way is to use the Deploy Dashboard in the Settings section of the Umbraco backoffice. Here you can see the status of ongoing or completed deployment processes. The status will show whether an operation has been triggered and whether it is in progress, has completed or has failed. The dashboard will show the status based on the marker files on the disk, eg. `deploy-progress`. From the Deploy Dashboard it is also possible to trigger processes. Learn more about this dashboard in the [Deployment ](../overview.md)article. diff --git a/10/umbraco-deploy/deployment-workflow/deploying-deletions.md b/10/umbraco-deploy/deployment-workflow/deploying-deletions.md deleted file mode 100644 index 68774e35429..00000000000 --- a/10/umbraco-deploy/deployment-workflow/deploying-deletions.md +++ /dev/null @@ -1,88 +0,0 @@ ---- -meta.Title: Deploying deletions in Umbraco Deploy -description: How deleting meta data and files work in Umbraco Deploy ---- - -# Deploying deletions - -With Umbraco Deploy deletions are environment specific. This means that in order to delete something entirely from your project, you need to delete it on all environments. - -In this article you can read about the correct way of deleting files, schema and content when using Umbraco Deploy. - -When you are using Umbraco Deploy, you might have more than one environment - including a local clone of the project. These environments each have their own database. The databases will contain references to all of your content and media, as well as to all of your schema files (e.g. Document Types, Templates etc). - -The databases are environment specific. When you deploy from one environment to another, Umbraco Deploy will compare incoming schema files with references to these in the databases using both _alias_ and _GUID_. If something doesn't add up - e.g. there is a mismatch between the database references and the files deployed - you will see an error. Learn more about this in the [Troubleshooting section](../troubleshooting.md). - -The workflow described above does not pick up deletions of content and schema from the database, which is why you'll need to delete the content and/or schema on all your environments, in order to fully complete the deletion. - -The main reason Umbraco Deploy does not delete schema and content on deployments, is because it could lead to unrecoverable loss of data. Imagine that you delete a Document Type on your Development environment, and push this deletion to your production environment where you have a lot of content nodes based on the deleted Document Type. When the deployments goes through, all of those content nodes would be instantly removed with no option to roll back as the Document Type they are based on no longer exists. To avoid anyone ending up in this unfortunate situation, deletes are not automatically handled and will require an active decision from you on each environment in order to take place. - -## Example scenario - -Let's say you've deleted a Document Type on your Development environment, and now you want to deploy this deletion to the production environment. - -Before you deploy the changes, in Git it will show that the following changes are ready to be committed and deployed: - -![Changes ready for deployment](./images/deletions-of-doctype2.png) - -Commit the changes and push them to your repository and trigger a deployment to your environment. - -Once the deployment is complete, you will notice the following: - -* The Document Type you deleted on Development is still present in the backoffice on the production environment. - -You might wonder why the Document Type that you have deleted, is still there. The reason is, that deploy only deletes the associated UDA file, and not the actual Document Type in the database. - -In order to completely delete the Document Type from your entire project, you need to delete it from the backoffice of any of the other environments you have as well. When the Document Type has been deleted from the backoffice of all environments and no UDA file exists, you can consider it completely gone. - -You should however keep in mind that if you at any point during the process, save your Document Type again, a UDA file will be regenerated and when you start deploying changes between environments, this will likely end up recreating your deleted Document Type. - -## Which deletions are deployed? - -Every **file** that's deleted, will also be deleted on the next environment when you deploy. However, there are some differences depending on what you have deleted. - -Here's an overview of what happens when you deploy various deletions to the next environment. - -### Deleting Schema (Document Types, Datatypes etc.) - -Deleted: - -* The associated `.uda` file. - -Not deleted: - -* The entry in the database. -* The item will still be visible in the backoffice. - -### Deleting a Template - -Deleted: - -* The associated `.uda` file. -* The associated `.cshtml` file (the view file). - -Not deleted: - -* The entry in the database. -* The template file will be empty, but still be visible in the backoffice. - -### Deleting files (css files, config files etc.) - -As these are **only** files, everything will be deleted on the next environment upon deployment. - -### Deleting content and / or media - -Content and media deletions will not be picked up by deployments and will have to be deleted on each environment you wish to delete the content or media on. - -### Deleting backoffice languages - -Deleted: - -* The associated `.uda` file - -Not deleted: - -* The entry in the database -* The language will still be visible in the backoffice/content dashboard (for multilingual content) - -Deleting the language in the backoffice on the target environment will ensure the environments are in sync. diff --git a/10/umbraco-deploy/deployment-workflow/images/delete-exports.png b/10/umbraco-deploy/deployment-workflow/images/delete-exports.png deleted file mode 100644 index 718c3c55aab..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/delete-exports.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/deletions-of-doctype2.png b/10/umbraco-deploy/deployment-workflow/images/deletions-of-doctype2.png deleted file mode 100644 index 222348d67d2..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/deletions-of-doctype2.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/export-dialog-complete.png b/10/umbraco-deploy/deployment-workflow/images/export-dialog-complete.png deleted file mode 100644 index 81d50b2dca7..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/export-dialog-complete.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/export-dialog.png b/10/umbraco-deploy/deployment-workflow/images/export-dialog.png deleted file mode 100644 index a1f8df05cb6..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/export-dialog.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/import-dialog-2.png b/10/umbraco-deploy/deployment-workflow/images/import-dialog-2.png deleted file mode 100644 index 6d02e0e77ac..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/import-dialog-2.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/import-dialog-3.png b/10/umbraco-deploy/deployment-workflow/images/import-dialog-3.png deleted file mode 100644 index b2a24da8d38..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/import-dialog-3.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/import-dialog.png b/10/umbraco-deploy/deployment-workflow/images/import-dialog.png deleted file mode 100644 index 1c012d578d1..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/import-dialog.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/left-to-right.png b/10/umbraco-deploy/deployment-workflow/images/left-to-right.png deleted file mode 100644 index ffe8d03dd6c..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/left-to-right.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/queue-for-transfer-dialog.png b/10/umbraco-deploy/deployment-workflow/images/queue-for-transfer-dialog.png deleted file mode 100644 index 17f3093f0ca..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/queue-for-transfer-dialog.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/images/schema-mismatch.png b/10/umbraco-deploy/deployment-workflow/images/schema-mismatch.png deleted file mode 100644 index 3ca384cb6cc..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/images/schema-mismatch.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/import-export.md b/10/umbraco-deploy/deployment-workflow/import-export.md deleted file mode 100644 index 2e3c78be4b7..00000000000 --- a/10/umbraco-deploy/deployment-workflow/import-export.md +++ /dev/null @@ -1,663 +0,0 @@ ---- -meta.Title: Import and export with Umbraco Deploy -description: How to import and export content and schema between Umbraco environments and projects ---- - -# Import and Export - -## What is import and export? - -The import and export feature of Umbraco Deploy allows you to transfer content and schema between Umbraco environments. Exports are made from one environment to a `.zip` file. And this file is imported into another environment to update the Umbraco data there. - -## When to use import and export - -Umbraco Deploy provides two primary workflows for managing different types of Umbraco data: - -- Umbraco schema (such as document types and data types) are transferred [as `.uda` files serialized to disk](./deploying-changes.md). They are deployed to refresh the schema information in a destination environment along with code and template updates. -- Umbraco content (such as content and media) are [transferred by editors using backoffice operations](./content-transfer.md). - -We recommend using these approaches for day-to-day editorial and developer activities. - -Import and export is intended more for larger transfer options, project upgrades, or one-off tasks when setting up new environments. - -As import and export is a two-step process, it doesn't require inter-environment communication. This allows us to process much larger batches of information without running into hard limits imposed by Cloud hosting platforms. - -We are also able provide hooks to allow for migrations of artifacts (such as data types) and property data when importing. This should allow you to migrate your Umbraco data from one Umbraco major version to a newer one. - -## Exporting content and schema - -To export content and schema, you can select either a specific item of content, or a whole tree or workspace. - -When exporting, you can choose to include associated media files. Bear in mind that including media files for a large site can lead to a big zip file. So even with this option, you might want to consider a different method for transferring large amounts of media. For example using direct transfer between Cloud storage accounts or File Transfer Protocol (FTP). - -If your account has access to the Settings section, you can also choose to include the schema information and related files as well. - -![Export dialog](images/export-dialog.png) - -Umbraco Deploy will then serialize all the selected items to individual files, archive them into a zip file and make that available for download. You can download the file using the _Download_ button. - -After the download, you should also delete the archive file from the server. You can do this immediately via the _Delete_ button available in the dialog. - -![Export dialog complete](images/export-dialog-complete.png) - -If you miss doing this, you can also clean up archive files from the Umbraco Deploy dashboard in the _Settings_ section. - -![Delete exports](images/delete-exports.png) - -{% hint style="info" %} -The exported archive files are saved to the Umbraco temp folder in the `Deploy\Export` sub-directory. This is a temporary (non-persistent) location, local to the backoffice server and therefore shouldn't be used for long-term storage of exports. You can also only download the file from the export dialog in the backoffice. -{% endhint %} - -## Importing content and schema - -Having previously exported content and schema to a zip file, you can import this into a new environment. - -![Import dialog](images/import-dialog.png) - -You can upload the file via the browser. - -Similar to when exporting, you can choose to import everything from the archive file, or only content, schema or files. - -{% hint style="info" %} -Deploy does not touch the default maximum upload size, but can you [configure this yourself by following the CMS documentation](https://docs.umbraco.com/umbraco-cms/reference/configuration/maximumuploadsizesettings). -{% endhint %} - -![Import dialog step 2](images/import-dialog-2.png) - -We validate the file before importing. Schema items that content depends on must either be in the upload itself or already exist on the target environment with the same details. If there are any issues that mean the import cannot proceed, it will be reported. You may also be given warnings for review. You can choose to ignore these and proceed if they aren't relevant to the action you are carrying out. - -The import then proceeds, processing all the items provided in the zip file. - -![Import dialog step 3](images/import-dialog-3.png) - -Once complete or on close of the dialog, the imported file will be deleted from the server. If this is missed, perhaps via a closed browser, you can also delete archive files from the Umbraco Deploy dashboard in the _Settings_ section. - -## Migrating whilst importing - -As well as importing the content and schema directly, we also provide support for modifying the items as part of the process. - -For example, you may have taken an export from an Umbraco 8 site, and are looking to import it into a newer major version. In this situation, most content and schema will carry over without issue. However, you may have some items that are no longer compatible. Usually this is due to a property editor - either a built-in Umbraco one or one provided by a package. These may no longer be available in the new version. - -Often though there is a similar replacement. Using Deploy's import feature we can transform the exported content for the obsolete property into that used by the new one during the import. The migration to a content set compatible with the new versions can then be completed. - -For example, we can migrate from a Nested Content property in Umbraco 8 to a Block List in Umbraco 10. - -We provide the necessary migration hooks for this to happen, divided into two types - **artifact migrators** and **property migrators**. - -### Artifact migrators - -Artifact migrators work by transforming the serialized artifact of any imported artifact, via two interfaces: - -- `IArtifactMigrator` - where the migration occurs at the artifact property level -- `IArtifactJsonMigrator` - where the migration occurs at the lower level of transforming the serialized JSON itself. - -Implementations to handle common migrations of data types from obsoleted property editors are available: - -- `ReplaceMediaPickerDataTypeArtifactMigrator` - migrates a datatype from using the legacy media picker to the current version of this property editor -- `ReplaceNestedContentDataTypeArtifactMigrator` - migrated from a datatype based on the obsolete nested content property editor to the block list. - -We've also made available base implementations that you can use to build your own migrations. You may have a need to handle transfer of information between other obsolete and replacement property editors that you have in your Umbraco application. - -- `ArtifactMigratorBase` - migrates the artifact of the specified type -- `DataTypeArtifactMigratorBase` - migrates data type artifacts -- `ReplaceDataTypeArtifactMigratorBase` - migrates a data type from one property editor to another -- `ArtifactJsonMigratorBase` - migrates the JSON of the specified artifact type - -### Property migrators - -Property migrators work to transform the content property data itself. They are used in the Deploy content connectors (documents, media and members) when the property editor is changed during an import: - -Again we have an interface: - -- `IPropertyTypeMigrator` - -Implementations for common migrations: - -- `MediaPickerPropertyTypeMigrator` -- `NestedContentPropertyTypeMigrator` - -And a base type to help you build your own migrations: - -- `PropertyTypeMigratorBase` - -{% hint style="info" %} -Determining whether the property editor has changed is done by comparing the `PropertyEditorAliases` dictionary (containing editor aliases for each content property) stored in the content artifact to the current content type/data type configuration. -{% endhint %} - -### Registering migrators - -Migrators will run if you've registered them to, hence you can enable only the ones needed for your solution. - -You can do this via a composer, as in the following example. Here we register two of the migrators shipped with Umbraco Deploy: - -```csharp -using Umbraco.Cms.Core.Composing; -using Umbraco.Deploy.Core.Migrators; -using Umbraco.Deploy.Infrastructure.Migrators; - -internal class ArtifactMigratorsComposer : IComposer -{ - public void Compose(IUmbracoBuilder builder) - { - builder.DeployArtifactMigrators() - .Append() - .Append(); - - builder.DeployPropertyTypeMigrators() - .Append() - .Append(); - } -} - ``` - -### A custom migration example - Nested Content to Block List - -In order to help writing your own migrations, we share here the source code of an example that ships with Umbraco Deploy. This migration converts Nested Content to Block List. - -First we have the artifact migrator that handles the conversion of the configuration stored with a datatype: - -
-ReplaceNestedContentDataTypeArtifactMigrator.cs (migrate Nested Content data type to Block List) - -```csharp -using System.Globalization; -using Umbraco.Cms.Core; -using Umbraco.Cms.Core.Models; -using Umbraco.Cms.Core.PropertyEditors; -using Umbraco.Cms.Core.Serialization; -using Umbraco.Cms.Core.Services; -using Umbraco.Deploy.Infrastructure.Artifacts; - -public class ReplaceNestedContentDataTypeArtifactMigrator : ReplaceDataTypeArtifactMigratorBase -{ - private readonly IContentTypeService _contentTypeService; - - public ReplaceNestedContentDataTypeArtifactMigrator(PropertyEditorCollection propertyEditors, IConfigurationEditorJsonSerializer configurationEditorJsonSerializer, IContentTypeService contentTypeService) - : base(Constants.PropertyEditors.Aliases.NestedContent, Constants.PropertyEditors.Aliases.BlockList, propertyEditors, configurationEditorJsonSerializer) - => _contentTypeService = contentTypeService; - - protected override BlockListConfiguration? MigrateConfiguration(NestedContentConfiguration configuration) - { - var blockListConfiguration = new BlockListConfiguration() - { - UseInlineEditingAsDefault = true // Similar to how Nested Content looks/works - }; - - if (configuration.MinItems > 0) - { - blockListConfiguration.ValidationLimit.Min = configuration.MinItems; - } - - if (configuration.MaxItems > 0) - { - blockListConfiguration.ValidationLimit.Max = configuration.MaxItems; - } - - if (configuration.ContentTypes is not null) - { - var blocks = new List(); - foreach (NestedContentConfiguration.ContentType nestedContentType in configuration.ContentTypes) - { - if (nestedContentType.Alias is not null && - GetContentTypeKey(nestedContentType.Alias) is Guid contentTypeKey) - { - blocks.Add(new BlockListConfiguration.BlockConfiguration() - { - Label = nestedContentType.Template, - ContentElementTypeKey = contentTypeKey - }); - } - } - - blockListConfiguration.Blocks = blocks.ToArray(); - } - - if (blockListConfiguration.ValidationLimit.Min == 1 && - blockListConfiguration.ValidationLimit.Max == 1 && - blockListConfiguration.Blocks.Length == 1) - { - blockListConfiguration.UseSingleBlockMode = true; - } - - return blockListConfiguration; - } - - protected virtual Guid? GetContentTypeKey(string alias) - { - if (_contentTypeService.Get(alias) is IContentType contentTypeByAlias) - { - return contentTypeByAlias.Key; - } - - // New content types are initially saved by Deploy with a custom postfix (to avoid duplicate aliases), so try to get the first matching item - string aliasPrefix = alias + "__"; - foreach (IContentType contentType in _contentTypeService.GetAll()) - { - if (contentType.Alias.StartsWith(aliasPrefix) && - int.TryParse(contentType.Alias[aliasPrefix.Length..], NumberStyles.HexNumber, null, out _)) - { - return contentType.Key; - } - } - - return null; - } -} -``` - -
- -And secondly we have the property migrator that handles restructuring the content property data: - -
-NestedContentPropertyTypeMigrator.cs (migrate Nested Content property data to Block List) - -```csharp -using Microsoft.Extensions.Logging; -using Newtonsoft.Json; -using Newtonsoft.Json.Linq; -using Umbraco.Cms.Core; -using Umbraco.Cms.Core.Deploy; -using Umbraco.Cms.Core.Models; -using Umbraco.Cms.Core.Models.Blocks; -using Umbraco.Cms.Core.Services; -using Umbraco.Deploy.Core; -using Umbraco.Deploy.Core.Migrators; -using Umbraco.Deploy.Infrastructure.Extensions; - -public class NestedContentPropertyTypeMigrator : PropertyTypeMigratorBase -{ - private readonly ILogger _logger; - private readonly IContentTypeService _contentTypeService; - - public NestedContentPropertyTypeMigrator(ILogger logger, IContentTypeService contentTypeService) - : base(Constants.PropertyEditors.Aliases.NestedContent, Constants.PropertyEditors.Aliases.BlockList) - { - _logger = logger; - _contentTypeService = contentTypeService; - } - - public override object? Migrate(IPropertyType propertyType, object? value, IDictionary propertyEditorAliases, IContextCache contextCache) - { - if (value is not string stringValue || !stringValue.TryParseJson(out NestedContentItem[]? nestedContentItems) || nestedContentItems is null) - { - if (value is not null) - { - _logger.LogWarning("Skipping migration of Nested Content items ({PropertyTypeAlias}), because value could not be parsed: {Value}.", propertyType.Alias, value); - } - - return null; - } - - var layoutItems = new List(); - var contentData = new List(); - - foreach (NestedContentItem nestedContentItem in nestedContentItems) - { - IContentType? contentType = contextCache.GetContentTypeByAlias(_contentTypeService, nestedContentItem.ContentTypeAlias); - if (contentType is null) - { - _logger.LogWarning("Skipping migration of Nested Content item ({Id}), because content type does not exist: {ContentTypeAlias}.", nestedContentItem.Id, nestedContentItem.ContentTypeAlias); - continue; - } - - var udi = new GuidUdi(Constants.UdiEntityType.Element, nestedContentItem.Id); - - layoutItems.Add(new BlockListLayoutItem() - { - ContentUdi = udi - }); - - contentData.Add(new BlockItemData() - { - Udi = udi, - ContentTypeKey = contentType.Key, - RawPropertyValues = nestedContentItem.RawPropertyValues - }); - } - - var blockValue = new BlockValue() - { - Layout = new Dictionary() - { - { Constants.PropertyEditors.Aliases.BlockList, JToken.FromObject(layoutItems) } - }, - ContentData = contentData - }; - - return JsonConvert.SerializeObject(blockValue, Formatting.None); - } - - internal class NestedContentItem - { - [JsonProperty("key")] - public Guid Id { get; set; } = Guid.NewGuid(); // Ensure a unique key is set, even if the JSON doesn't have one - - [JsonProperty("name")] - public string? Name { get; set; } - - [JsonIgnore] - public object? PropType { get; set; } // Ensure this property is ignored - - [JsonProperty("ncContentTypeAlias")] - public string ContentTypeAlias { get; set; } = null!; - - [JsonExtensionData] - public Dictionary RawPropertyValues { get; set; } = null!; - } -} -``` - -
- -Moving forward, other migrators may be built by HQ or the community for property editors found in community packages. We'll make them available for [use](https://www.nuget.org/packages/Umbraco.Deploy.Contrib) and [review](https://github.com/umbraco/Umbraco.Deploy.Contrib) via the `Umbraco.Deploy.Contrib` package. - -### Migrating from Umbraco 7 - -The import and export feature is available from Deploy 4.9 (which supports Umbraco 8), 10.3, 12.1 and 13.0. It's not been ported back to Umbraco 7, hence you can't trigger an export from there in the same way. - -We are still able to use this feature though to help the migration from Umbraco 7 to a more recent major version using additional logic added to the Deploy Contrib project. - -#### Exporting Umbraco 7 content and schema - -We can generate an export archive in the same format as used by the content import/export feature by adding the [`Umbraco.Deploy.Contrib.Export` assembly](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-2.0.0-export) to your Umbraco 7 project. This archive can then be imported into a newer Umbraco version by configuring the legacy import migrators. You can also apply additional migrators to update obsolete data types and property data into newer equivalents. - -This is possible via code, by temporarily applying a composer to an Umbraco 7 project to generate the export archive on start-up: - -
-DeployExportApplicationHandler.cs (export Umbraco 7 content and schema to ZIP archive) - -```csharp -using System; -using System.Linq; -using System.Web.Hosting; -using Umbraco.Core; -using Umbraco.Deploy; -using UmbracoDeploy.Contrib.Export; - -public class DeployExportApplicationHandler : ApplicationEventHandler -{ - protected override void ApplicationInitialized(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) - { - // Set a default value connector that doesn't use object type prefixes - DefaultValueConnector.SetDefault(); - - // Run export after Deploy has started - DeployComponent.Started += (sender, e) => DeployStarted(); - } - - protected void DeployStarted() - { - var udis = new[] - { - // Export all content - Constants.UdiEntityType.Document, - Constants.UdiEntityType.DocumentBlueprint, - Constants.UdiEntityType.Media, - // Export all forms data - Constants.UdiEntityType.FormsForm, - Constants.UdiEntityType.FormsDataSource, - Constants.UdiEntityType.FormsPreValue - }.Select(Udi.Create); - - var dependencyEntityTypes = new[] - { - // Include all related schema - Constants.UdiEntityType.DataType, - Constants.UdiEntityType.DataTypeContainer, - Constants.UdiEntityType.DocumentType, - Constants.UdiEntityType.DocumentTypeContainer, - Constants.UdiEntityType.MediaType, - Constants.UdiEntityType.MediaTypeContainer, - Constants.UdiEntityType.MemberType, - Constants.UdiEntityType.MemberGroup, - Constants.UdiEntityType.Macro, - Constants.UdiEntityType.DictionaryItem, - Constants.UdiEntityType.Template, - Constants.UdiEntityType.Language, - // Include all related files - Constants.UdiEntityType.MediaFile, - Constants.UdiEntityType.MacroScript, - Constants.UdiEntityType.PartialView, - Constants.UdiEntityType.PartialViewMacro, - Constants.UdiEntityType.Script, - Constants.UdiEntityType.Stylesheet, - Constants.UdiEntityType.UserControl, - Constants.UdiEntityType.TemplateFile, - Constants.UdiEntityType.Xslt - }; - - // Create export - var zipArchiveFilePath = HostingEnvironment.MapPath("~/data/" + "export-" + Guid.NewGuid() + ".zip"); - ArtifactExportService.ExportArtifacts(udis, Constants.DeploySelector.ThisAndDescendants, zipArchiveFilePath, dependencyEntityTypes); - } -} -``` - -
- -#### Importing Umbraco 7 content and schema - -To import this archive into a newer Umbraco project, you need to install `UmbracoDeploy.Contrib` 4.3 (for Umbraco 8) or `Umbraco.Deploy.Contrib` 10.2, 12.1 or 13.1 (or later) and configure the legacy artifact type resolver and migrators. Artifact type resolvers allow resolving changes in the type that's stored in the `__type` JSON property of the artifact, in case it moved to a different assembly or namespace (or got renamed) in a newer version. The legacy migrators handle the following changes: - -- Moving the pre-values of data types to the configuration property; -- Moving the invariant release and expire dates of content to the (culture variant) schedule property; -- Moving the 'allowed at root' and 'allowed child content types' of content/media/member types to the permissions property; -- Migrating the data type configuration from pre-values to the correct configuration objects and new editor aliases for: - - `Umbraco.CheckBoxList` (pre-values to value list) - - `Umbraco.ColorPickerAlias` to `Umbraco.ColorPicker` (pre-values to value list) - - `Umbraco.ContentPicker2` to `Umbraco.ContentPicker` (removes invalid start node ID) - - `Umbraco.ContentPickerAlias` to `Umbraco.ContentPicker` (removes invalid start node ID) - - `Umbraco.Date` to `Umbraco.DateTime` - - `Umbraco.DropDown` to `Umbraco.DropDownListFlexible` (pre-values to value list, single item select) - - `Umbraco.DropDownListFlexible` (pre-values to value list, defaults to multiple item select) - - `Umbraco.DropdownlistMultiplePublishKeys` to `Umbraco.DropDownListFlexible` (pre-values to value list, defaults to multiple item select) - - `Umbraco.DropdownlistPublishingKeys` to `Umbraco.DropDownListFlexible` (pre-values to value list, defaults to single item select) - - `Umbraco.DropDownMultiple` to `Umbraco.DropDownListFlexible` (pre-values to value list, defaults to multiple item select) - - `Umbraco.MediaPicker2` to `Umbraco.MediaPicker` (removes invalid start node ID, defaults to single item select) - - `Umbraco.MediaPicker` (removes invalid start node ID) - - `Umbraco.MemberPicker2` to `Umbraco.MemberPicker` - - `Umbraco.MultiNodeTreePicker2` to `Umbraco.MultiNodeTreePicker` (removes invalid start node ID) - - `Umbraco.MultiNodeTreePicker` (removes invalid start node ID) - - `Umbraco.MultipleMediaPicker` to `Umbraco.MediaPicker` (removes invalid start node ID, defaults to multiple item select) - - `Umbraco.NoEdit` to `Umbraco.Label` - - `Umbraco.RadioButtonList` (pre-values to value list, change database type from integer to nvarchar) - - `Umbraco.RelatedLinks2` to `Umbraco.MultiUrlPicker` - - `Umbraco.RelatedLinks` to `Umbraco.MultiUrlPicker` - - `Umbraco.Textbox` to `Umbraco.TextBox` - - `Umbraco.TextboxMultiple` to `Umbraco.TextArea` - - `Umbraco.TinyMCEv3` to `Umbraco.TinyMCE` -- Migrating pre-value property values for: - - `Umbraco.CheckBoxList` - - `Umbraco.DropDown.Flexible` - - `Umbraco.RadioButtonList` - -The following composer adds the required legacy artifact type resolver and migrators, plus a custom resolver that marks the specified document type alias `testElement` as element type. Element types are a concept added in Umbraco 8 and is required for document types that are used in Nested Content. - -
-LegacyImportComposer.cs (configure artifact type resolver and artifact migrators) - -```csharp -using Umbraco.Cms.Core.Composing; -using Umbraco.Deploy.Contrib.Migrators.Legacy; - -internal class LegacyImportComposer : IComposer -{ - public void Compose(IUmbracoBuilder builder) - { - builder.DeployArtifactTypeResolvers() - .AddLegacyTypeResolver(); - - builder.DeployArtifactMigrators() - .AddLegacyMigrators() - .Append(); - } - - private class ElementTypeArtifactMigrator : ElementTypeArtifactMigratorBase - { - public ElementTypeArtifactMigrator() - : base("testElement") - { } - } -} -``` - -
- -{% hint style="info" %} -It is recommended to first only import schema and schema files (by deselecting 'Content' and 'Content files' in the dialog), followed by a complete import of all content and schema. The order in which the artifacts are imported depends on the dependencies between them, so this ensures the schema is completely imported before any content is processed. -{% endhint %} - -#### Obtaining Umbraco Deploy for Umbraco 7 - -Umbraco Deploy for Umbraco 7 is no longer supported and was only available on Umbraco Cloud. It was not released for use on-premise. - -As such if you are looking to migrate from an Umbraco Cloud project running on Umbraco 7, you already have Umbraco Deploy installed. - -If you have an Umbraco 7 on-premise website, you can use this guide to migrate from on-premise to Umbraco Cloud or to upgrade to a newer Deploy version on-premise. You will need to obtain and install Umbraco Deploy for Umbraco 7 into your project, solely to use the export feature. - -The export feature can be used without a license. - -{% hint style="info" %} - -A license is required for the Umbraco project you are importing into - whether that's a license that comes as part of an Umbraco Cloud subscription, or an on-premise one. - -{% endhint %} - -Use this guide to migrate from on-premise to Umbraco Cloud or to upgrade to a newer Deploy version on-premise. - -1. Download the required `dll` files for Umbraco Deploy for Umbraco 7 from the following links: - -- [Umbraco Deploy v2.1.6](https://umbraconightlies.blob.core.windows.net/umbraco-deploy-release/UmbracoDeploy.v2.1.6.zip): Latest Deploy Version 2 release for Umbraco CMS Version 7 (officially for use on Cloud) -- [Umbraco Deploy Contrib v2.0.0](https://umbraconightlies.blob.core.windows.net/umbraco-deploy-contrib-release/UmbracoDeploy.Contrib.2.0.0.zip): Latest/only Deploy Contrib Version 2 -- [Umbraco Deploy Export v2.0.0](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-2.0.0-export): For exporting all content/schema in Version 7 - -2. Install Umbraco Deploy with the Contrib and Export extensions. - -- Install `Umbraco Deploy`, `Deploy.Contrib`, and `Deploy.Export` by copying the downloaded `.dll` files into your Umbraco 7 site. -- When copying the files over from `Umbraco Deploy` you should not overwrite the following files (if you already had Umbraco Deploy installed): - -```csharp - Config/UmbracoDeploy.config - Config/UmbracoDeploy.Settings.config -``` - -- Run the project to make sure it runs without any errors - -3. Update the `web.config` file with the required references for Umbraco Deploy: - -{% code title="web.config" lineNumbers="true" %} - -```xml - - - -
-
- - - - - - - -``` - -{% endcode %} - -4. Export Content. - -- **Export** your content, schema, and files to zip. - -## Service details (programmatically importing and exporting) - -Underlying the functionality of import/export with Deploy is the import/export service, defined by the `IArtifactImportExportService`. - -You may have need to make use of this service directly if building something custom with the feature. For example you might want to import from or export to some custom storage. - -The service interface defines two methods: - -- `ExportArtifactsAsync` - takes a collection of artifacts and a storage provider defined by the `IArtifactExportProvider` interface. The artifacts are serialized and exported to storage. - - `IArtifactExportProvider` defines methods for creating streams for writing serialized artifacts or files handled by Deploy (media, templates, stylesheets etc.). -- `ImportArtifactsAsync` - takes storage provider containing an import defined by the `IArtifactImportProvider` interface. The artifacts from storage are imported into Umbraco. - - `IArtifactImportProvider` defines methods for creating streams for reading serialized artifacts or files handled by Deploy (media, templates, stylesheets etc.). - -Implementations for `IArtifactExportProvider` and `IArtifactImportProvider` are provided for: - -- A physical directory. -- An Umbraco file system. -- A zip file. - -These are all accessible for use via extension methods available on `IArtifactImportExportService` found in the `Umbraco.Deploy.Infrastructure.Extensions` namespace. - -The following example shows this service in use, importing and exporting from a zip file on startup: - -
-ArtifactImportExportComposer.cs (import and export on startup) - -```csharp -using System.IO.Compression; -using Umbraco.Cms.Core; -using Umbraco.Cms.Core.Composing; -using Umbraco.Cms.Core.Deploy; -using Umbraco.Cms.Core.Events; -using Umbraco.Cms.Core.Extensions; -using Umbraco.Cms.Core.Notifications; -using Umbraco.Deploy.Core; -using Umbraco.Deploy.Core.Connectors.ServiceConnectors; -using Umbraco.Deploy.Infrastructure; -using Umbraco.Deploy.Infrastructure.Extensions; -​ -internal class ArtifactImportExportComposer : IComposer -{ - public void Compose(IUmbracoBuilder builder) - => builder.AddNotificationAsyncHandler(); -​ - private sealed class ArtifactImportExportStartedAsyncHandler : INotificationAsyncHandler - { - private readonly IHostEnvironment _hostEnvironment; - private readonly IArtifactImportExportService _diskImportExportService; - private readonly IServiceConnectorFactory _serviceConnectorFactory; - private readonly IFileTypeCollection _fileTypeCollection; -​ - public ArtifactImportExportStartedAsyncHandler(IHostEnvironment hostEnvironment, IArtifactImportExportService diskImportExportService, IServiceConnectorFactory serviceConnectorFactory, IFileTypeCollection fileTypeCollection) - { - _hostEnvironment = hostEnvironment; - _diskImportExportService = diskImportExportService; - _serviceConnectorFactory = serviceConnectorFactory; - _fileTypeCollection = fileTypeCollection; - } -​ - public async Task HandleAsync(UmbracoApplicationStartedNotification notification, CancellationToken cancellationToken) - { - var deployPath = _hostEnvironment.MapPathContentRoot(Constants.SystemDirectories.Data + "/Deploy"); - await ImportAsync(Path.Combine(deployPath, "import.zip")); -​ - Directory.CreateDirectory(deployPath); - await ExportAsync(Path.Combine(deployPath, $"export-{DateTimeOffset.UtcNow.ToUnixTimeSeconds()}.zip")); - } -​ - private async Task ImportAsync(string zipFilePath) - { - if (File.Exists(zipFilePath)) - { - using ZipArchive zipArchive = ZipFile.OpenRead(zipFilePath); - await _diskImportExportService.ImportArtifactsAsync(zipArchive); - } - } -​ - private async Task ExportAsync(string zipFilePath) - { - using ZipArchive zipArchive = ZipFile.Open(zipFilePath, ZipArchiveMode.Create); -​ - IEnumerable udis = DeployEntityTypes.GetEntityTypes(_fileTypeCollection, DeployEntityTypeCategories.ContentAndSchema).Select(Udi.Create); - var contextCache = new DictionaryCache(); - string[] dependencyEntityTypes = DeployEntityTypes.GetEntityTypes(_fileTypeCollection, DeployEntityTypeCategories.All); -​ - await _diskImportExportService.ExportArtifactsAsync(_serviceConnectorFactory, udis, Constants.DeploySelector.ThisAndDescendants, contextCache, zipArchive, dependencyEntityTypes: dependencyEntityTypes); - } - } -} -``` - -
diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/README.md b/10/umbraco-deploy/deployment-workflow/restoring-content/README.md deleted file mode 100644 index a6b9202fc7d..00000000000 --- a/10/umbraco-deploy/deployment-workflow/restoring-content/README.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -meta.Title: Restoring content in Umbraco Deploy -description: How to restore content in Umbraco Deploy ---- - -# Restoring content - -When you have content on your environment and you clone down your Umbraco project to your local machine, you will need to do an extra step, in order to see your content locally. - -The restore option also comes in really handy when you have content editors creating content on different environments. You will be able to restore and work with that content on your different environments and locally. - -## Step-by-step - -There are four options when it comes to restoring content. - -1. [Restore when starting up the project locally](./#restore-when-starting-up-the-project-locally) -2. [Restore everything through the Umbraco backoffice](./#restore-everything-through-the-umbraco-backoffice) -3. [Restore a single tree through the Umbraco backoffice](./#restore-a-single-tree-through-the-umbraco-backoffice) -4. [Partial Restores](partial-restore.md) - -### Restore when starting up the project locally - -The first time you run your project locally you will have the option to restore your content and media before going to the Umbraco backoffice. - -{% hint style="info" %} -This will restore **all** content and media, plus any other entities configured for back-office transfer. -{% endhint %} - -1. When your site is done spinning up, click the green _Restore_ button - this will restore all content and media. -2. Wait till the process completes - this might take a while, depending on the amount of content and media you have on your Umbraco site. -3. When it's complete select _Open Umbraco_ to go to the backoffice. -4. You will now see all your content and media in the Umbraco backoffice. - -

Restore from start-up

- -### Restore everything through the Umbraco backoffice - -The second option for restoring your content and media is found in the Umbraco backoffice. - -1. Go to the Umbraco backoffice on the environment you want to restore content and media to. -2. Click the three dots an select _Do something else_, or _Right-click_ the Content Tree. -3. Choose _Workspace restore..._ from the menu. -4. You will now have the option to restore content from any environment that's _to the right of_ the current environment in the deployment workflow. -5. To ensure the restore will succeed, [make sure that your environments have the same meta data and structure files](../deploying-changes.md). -6. Click _Restore from .._ and wait till the process completes - this might take a while, depending on the amount of content and media you have on your project. -7. When it's done, _right-click_ the Content tree again and choose _Reload_ to see your content in the tree. - -{% hint style="info" %} -As well as content, media and any other entities configured for back-office transfer, will also be restored in the process. - -To see the media, go to the Media section and _Reload_ the tree. -{% endhint %} - -{% embed url="https://www.youtube.com/embed/poRzuBB11pc?rel=0" %} -Umbraco Deploy - Content transfer and restore -{% endembed %} - -### Restore a single tree through the Umbraco backoffice - -The operation is triggered in the same way as when restoring everything, but instead the _Tree restore..._ menu option should be selected. - -For example, if triggered from the content tree, only content entities will be restored. This will also restore any media that’s referenced in that content, but it won’t attempt to restore the full media library, nor any other entities. - -### [Partial Restore](partial-restore.md) - -By using the Partial Restore option, you can make sure that you only restore the part of the content that you need to work with. You can either restore a single item, or include all the descendents of that item too. diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/images/Normal-Restore.gif b/10/umbraco-deploy/deployment-workflow/restoring-content/images/Normal-Restore.gif deleted file mode 100644 index 45e8a8011c6..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/restoring-content/images/Normal-Restore.gif and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/images/Restore-from-Backoffice.gif b/10/umbraco-deploy/deployment-workflow/restoring-content/images/Restore-from-Backoffice.gif deleted file mode 100644 index d1728748e6a..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/restoring-content/images/Restore-from-Backoffice.gif and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty-v9.gif b/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty-v9.gif deleted file mode 100644 index 84cb5f8ce58..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty-v9.gif and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty.gif b/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty.gif deleted file mode 100644 index 4c96d15e2dd..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty.gif and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEnvWithContent.png b/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEnvWithContent.png deleted file mode 100644 index c5b457cdbf4..00000000000 Binary files a/10/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEnvWithContent.png and /dev/null differ diff --git a/10/umbraco-deploy/deployment-workflow/restoring-content/partial-restore.md b/10/umbraco-deploy/deployment-workflow/restoring-content/partial-restore.md deleted file mode 100644 index 44b878ab7d7..00000000000 --- a/10/umbraco-deploy/deployment-workflow/restoring-content/partial-restore.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -meta.Title: Partial restore of content in Umbraco Deploy -description: How to partially restore content in Umbraco Deploy ---- - -# Partial Restores - -In some cases you might not want to restore the entire content tree, but only the parts that you need. **Partial restores** is a feature that allows for restoring specific parts of your content instead of restoring everything. - -You can use Partial Restore on - -* [Environments with existing content or media](partial-restore.md#environment-with-existing-content-or-media), and on -* [Empty environments](partial-restore.md#empty-environment) - -## Empty environment - -In this scenario you've cloned down your environment to your local machine or setup a new environment. In both cases the new environment will have an empty Content section as well as an empty Media section. - -{% hint style="info" %} -Be aware that this feature will also restore all dependencies on the selected content. - -E.g. when you restore a content node which references media items as well as other content nodes, these will all be restored as well, including any parent nodes that these nodes depend on. -{% endhint %} - -Follow these steps to perform a partial restore to get only the parts you need: - -1. Go to the Content section of the Umbraco backoffice on your environment or locally. -2. _Right-click_ the Content Tree, or click the three dots an select _Do something else_. -3. Choose _Partial Restore_. -4. Select the environment that you would like to restore content from. -5. Click "_Select content to restore_" - this will open a dialog with a _preview of the content tree_ from the environment you selected. -6. Select the content node you would like to restore. -7. Decide whether you also want to restore any child nodes _below_ the selected node. -8. Start the restore by clicking _Restore_. -9. To see the restored content, _reload_ the content tree - _right-click_ the Content tree to find this option. - -{% hint style="info" %} -Keep in mind if you select a content node deeper down the tree, all the parents above it, required for the node to exist, will be restored as well. -{% endhint %} - -![Partial restore on empty environment](../../../../13/umbraco-deploy/deployment-workflow/restoring-content/images/partialRestore-onEmpty-v9.gif) - -Partial Restores on empty environments are especially helpful when you have a large amount of content and media and do not necessarily need it all for the task you need to do. - -Instead of having to restore everything which could potentially take a long time, doing a partial restore can be used to shorten the waiting time by only restoring the parts you need. This will ensure that you can quickly get on your way with the task at hand. - -## Environment with existing content or media - -It is also possible to use the Partial Restore feature on environments where you already have content in the Content tree. - -Imagine that you are working with your Umbraco project locally. One of your content editors updates a section in the content tree on the production environment. You would like to see how this updated content looks with the new code you are working on. Follow these steps to do a Partial Restore of the updated content node: - -1. Go to the Content section of your local Umbraco backoffice -2. _Right-click_ the content node which you know contains updates -3. Choose _Partial Restore_ -4. Select the environment that you would like to restore content from -5. Decide whether you also want restore any child nodes under the selected node -6. Start the restore by clicking _Restore_ -7. When the restore is done, reload the content tree to see the changes - -![Partial restore](../../../umbraco-cloud/deployment/restoring-content/images/partialRestore-onEnvWithContent.png) diff --git a/10/umbraco-deploy/extending/extend-deploy.md b/10/umbraco-deploy/extending/extend-deploy.md deleted file mode 100644 index e594a2d1c80..00000000000 --- a/10/umbraco-deploy/extending/extend-deploy.md +++ /dev/null @@ -1,792 +0,0 @@ ---- -meta.Title: "Extending Umbraco Deploy" -description: "How to extend Umbraco Deploy to synchronize custom data" ---- - -# Extending Umbraco Deploy - -Umbraco Deploy supports the deployment of CMS schema information and definitions from the HQ's Forms package, along with managed content and media. Additionally, it can be extended by package or custom solution developers. This allows the deployment of custom data, such as that stored in your own database tables. - -As a package or solution developer, you can hook into the disk-based serialization and deployment. It is similar to that used for Umbraco Document Types and Data Types. It's also possible to provide the ability for editors to deploy custom data via the Backoffice. In the same way that Umbraco content and media can be queued for transfer and restored. - -## Concepts and Examples - -### Entities - -*Entities* are what you may be looking to transfer between two websites using Deploy. Within Umbraco, they are the Document Types, Data Type, documents etc. In a custom solution or a package, there may be representations of some other data that's being stored separately from Umbraco content. These can still be managed in the Backoffice using custom trees and editors. - -For the purposes of subsequent code samples, we'll consider an example entity as a Plain Old Class Object (POCO) with a few properties. - -{% hint style="info" %} -The entity has no dependency on Umbraco or Umbraco Deploy; it can be constructed and managed however makes sense for the package or solution. The only requirement is that it has an ID that will be consistent across the environments (normally a Guid) and a name. -{% endhint %} - -```c# -public class Example -{ - public Guid Id { get; set; } - - public string Name { get; set; } - - public string Description { get; set; } -} -``` - -### Artifacts - -Every entity Deploy works with, whether from Umbraco core or custom data, needs to have an *artifact* representation. You can consider an artifact as a container capable of knowing everything there is to know about a particular entity is defined. They are used as a transport object for communicating between Deploy environments. - -They can also be serialized to JSON representations. These are visible in the .uda files seen on disk in the `/data/revisions/` folder for schema transfers. It is also used when transferring content between different environments over HTTP requests. - -Artifact classes must inherit from `DeployArtifactBase`. - -The following example shows an artifact representing the entity and it's single property for transfer: - -```c# -public class ExampleArtifact : DeployArtifactBase -{ - public ExampleArtifact(GuidUdi udi, IEnumerable dependencies = null) - : base(udi, dependencies) - { } - - public string Description { get; set; } -} -``` - -#### Control Over Serialization - -In most cases the default settings Umbraco Deploy uses for serialization will be appropriate. For example, it ensures that culture specific values such as dates and decimal numbers are rendered using an invariant culture. This ensures that any differences in regional settings between source and destination servers are not a concern. - -If you do need more control, attributes can be applied to the artifact properties. - -For example, to ensure a decimal value is serialized to a consistent number of decimal places you can use the following. `RoundingDecimalJsonConverter` is found in the `Umbraco.Deploy.Serialization` namespace - -```c# -[JsonConverter(typeof(RoundingDecimalJsonConverter), 2)] -public decimal Amount { get; set; } -``` - -### Service Connectors - -Service connectors are responsible for knowing how to handle the mapping between artifacts and entities. They know how to gather all the data required for the type of entity they correspond to, including figuring out what dependencies are needed. For example, in Umbraco, how a Document Type depends on a Data Type. They are responsible for packaging an entity as an artifact and for extracting an entity from an artifact and persisting it in a destination site. - -Service connectors inherit from `ServiceConnectorBase` and are constructed with the artifact and entity as generic type arguments. - -The class is decorated with a `UdiDefinition` via which the name of the entity type is provided. This needs to be unique across all entities so it's likely worth prefixing with something specific to your package or application. - -The following example shows a service connector, responsible for handling the artifact shown above and it's related entity. There are no dependencies to consider here. More complex examples involve collating the dependencies and potentially handling extraction in more than one pass to ensure updates are made in the correct order. - -An illustrative data service is provided via dependency injection. This will be whatever is appropriate for to use for Create, Read, Update and Delete (CRUD) operations around reading and writing of entities. - -{% hint style="info" %} -In Deploy 9.5/10.1, to improve performance on deploy operations, we introduced a cache. This change required the addition of new methods to interfaces, allowing the passing in of a cache parameter. In order to introduce this without breaking changes, we created some new interfaces and base classes. - -In the example below, if instead we inherited from `ServiceConnectorBase2`, which has a type parameter of `IServiceConnector2`, we would be able to implement `IArtifact? IServiceConnector2.GetArtifact(Udi udi, IContextCache contextCache)`. This would allow the connector to read and write to the cache and remove the use of the obsolete methods. - -There's no harm in what is listed below though. It's only that the connectors won't be able to use the cache for any look-ups that are repeated in deploy operations. The obsolete methods won't be removed until Deploy 11. In that version we plan to return back to the original interface and class names. We also plan to introduce the new method overloads which will be a documented breaking change. -{% endhint %} - -```c# -[UdiDefinition("mypackage-example", UdiType.GuidUdi)] -public class ExampleServiceConnector : ServiceConnectorBase> -{ - private readonly IExampleDataService _exampleDataService; - - public ExampleServiceConnector(IExampleDataService exampleDataService) => _exampleDataService = exampleDataService; - - public override ExampleArtifact GetArtifact(object o) - { - var entity = o as Example; - if (entity == null) - { - throw new InvalidEntityTypeException($"Unexpected entity type \"{o.GetType().FullName}\"."); - } - - return GetArtifact(entity.GetUdi(), entity); - } - - public override ExampleArtifact GetArtifact(GuidUdi udi) - { - EnsureType(udi); - var entity = _exampleDataService.GetExampleById(udi.Guid); - - return GetArtifact(udi, entity); - } - - private ExampleArtifact GetArtifact(GuidUdi udi, Example entity) - { - if (entity == null) - { - return null; - } - - var dependencies = new ArtifactDependencyCollection(); - var artifact = Map(udi, entity, dependencies); - artifact.Dependencies = dependencies; - - return artifact; - } - - private ExampleArtifact Map(GuidUdi udi, Example entity, ICollection dependencies) - { - var artifact = new ExampleArtifact(udi); - artifact.Description = example.Description; - return artifact; - } - - private string[] ValidOpenSelectors => new[] - { - DeploySelector.This, - DeploySelector.ThisAndDescendants, - DeploySelector.DescendantsOfThis - }; - private const string OpenUdiName = "All Examples"; - - public override void Explode(UdiRange range, List udis) - { - EnsureType(range.Udi); - - if (range.Udi.IsRoot) - { - EnsureSelector(range, ValidOpenSelectors); - udis.AddRange(_exampleDataService.GetExamples().Select(e => e.GetUdi())); - } - else - { - var entity = _exampleDataService.GetExampleById(((GuidUdi)range.Udi).Guid); - if (entity == null) - { - return; - } - - EnsureSelector(range.Selector, DeploySelector.This); - udis.Add(entity.GetUdi()); - } - } - - public override NamedUdiRange GetRange(string entityType, string sid, string selector) - { - if (sid == "-1") - { - EnsureSelector(selector, ValidOpenSelectors); - return new NamedUdiRange(Udi.Create("mypackage-example"), OpenUdiName, selector); - } - - if (!Guid.TryParse(sid, out Guid id)) - { - throw new ArgumentException("Invalid identifier.", nameof(sid)); - } - - var entity = _exampleDataService.GetExampleById(id); - if (entity == null) - { - throw new ArgumentException("Could not find an entity with the specified identifier.", nameof(sid)); - } - - return GetRange(entity, selector); - } - - public override NamedUdiRange GetRange(GuidUdi udi, string selector) - { - EnsureType(udi); - - if (udi.IsRoot) - { - EnsureSelector(selector, ValidOpenSelectors); - return new NamedUdiRange(udi, OpenUdiName, selector); - } - - var entity = _exampleDataService.GetExampleById(udi.Guid); - if (entity == null) - { - throw new ArgumentException("Could not find an entity with the specified identifier.", nameof(udi)); - } - - return GetRange(entity, selector); - } - - private static NamedUdiRange GetRange(Example e, string selector) => new NamedUdiRange(e.GetUdi(), e.Name, selector); - - public override ArtifactDeployState ProcessInit(ExampleArtifact art, IDeployContext context) - { - EnsureType(art.Udi); - - var entity = _exampleDataService.GetExampleById(art.Udi.Guid); - - return ArtifactDeployState.Create(art, entity, this, 1); - } - - public override void Process(ArtifactDeployState state, IDeployContext context, int pass) - { - switch (pass) - { - case 1: - Pass1(state, context); - state.NextPass = 2; - break; - default: - state.NextPass = -1; // exit - break; - } - } - - private void Pass1(ArtifactDeployState state, IDeployContext context) - { - var artifact = state.Artifact; - - artifact.Udi.EnsureType("mypackage-example"); - - var isNew = state.Entity == null; - - var entity = state.Entity ?? new Example { Id = artifact.Udi.Guid }; - - entity.Name = artifact.Name; - entity.Description = artifact.Description; - - if (isNew) - { - _exampleDataService.AddExample(entity); - } - else - { - _exampleDataService.UpdateExample(entity); - } - } -} -``` - -It's also necessary to provide an extension method to generate the appropriate identifier: - -```c# -public static GuidUdi GetUdi(this Example entity) -{ - if (entity == null) throw new ArgumentNullException("entity"); - return new GuidUdi("mypackage-example", entity.Id).EnsureClosed(); -} -``` - -#### Handling Dependencies - -Umbraco entities often have dependencies on one another, this may also be the case for any custom data you are looking to deploy. If so, you can add the necessary logic to your service connector to ensure dependencies are added. This will ensure Umbraco Deploy also ensures the appropriate dependencies are in place before initiating a transfer. - -If the dependent entity is also deployable, it will be included in the transfer. Or if not, the deployment will be blocked and the reason presented to the user. - -In the following illustrative example, if deploying a representation of a "Person", we ensure their "Department" dependency is added. This will indicate that it must exist to allow the transfer. We can also use `ArtifactDependencyMode.Match` to ensure the dependent entity not only exists but also matches in all properties. - -```c# -private PersonArtifact Map(GuidUdi udi, Person person, ICollection dependencies) -{ - var artifact = new PersonArtifact(udi) - { - Alias = person.Name, - Name = person.Name, - DepartmentId = person.Department.Id, - }; - - // Department node must exist to deploy the person. - dependencies.Add(new ArtifactDependency(person.Department.GetUdi(), true, ArtifactDependencyMode.Exist)); - - return artifact; -} -``` - -### Value Connectors - -As well as dependencies at the level of entities, we can also have dependencies in the property values as well. In Umbraco, an example of this is the multi-node tree picker property editor. It contains references to other content items, that should also be deployed along with the content that hosts the property itself. - -Value connectors are used to track these dependencies and can also be used to transform property data as it is moved between environments. - -The following illustrative example considers a property editor that stores the integer ID of an media item. The integer ID of a media item is not consistent between environments, so we'll need to transform it. And we also want to ensure that the related media item itself is transferred as well as the integer ID reference. - -```c# -using Umbraco.Cms.Core.Deploy; -using Umbraco.Cms.Core.Models; -using Umbraco.Cms.Core.Services; -using Umbraco.Cms.Core; -using Microsoft.Extensions.Logging; -using Umbraco.Deploy.Core; -using Umbraco.Deploy.Core.Connectors.ValueConnectors; - -namespace MyExtensions; - -public class MyMediaPropertyValueConnector : ValueConnectorBase -{ - private readonly IEntityService _entityService; - private readonly ILogger _logger; - - public MyMediaPropertyValueConnector(IEntityService entityService, ILogger logger) - { - _entityService = entityService; - _logger = logger; - } - - public override IEnumerable PropertyEditorAliases => new[] { "MyMediaPropertyEditor" }; - - public override string? ToArtifact(object? value, IPropertyType propertyType, ICollection dependencies, IContextCache contextCache) - { - var svalue = value as string; - if (string.IsNullOrWhiteSpace(svalue)) - { - return null; - } - - if (!int.TryParse(svalue, out var intvalue)) - { - return null; - } - - Attempt getKeyAttempt = _entityService.GetKey(intvalue, UmbracoObjectTypes.Media); - - if (getKeyAttempt.Success) - { - var udi = new GuidUdi(Constants.UdiEntityType.Media, getKeyAttempt.Result); - dependencies.Add(new ArtifactDependency(udi, false, ArtifactDependencyMode.Exist)); - - return udi.ToString(); - } - else - { - _logger.LogDebug($"Couldn't convert integer value #{intvalue} to UDI"); - } - - return null; - } - - public override object? FromArtifact(string? value, IPropertyType propertyType, object? currentValue, IContextCache contextCache) - { - if (string.IsNullOrWhiteSpace(value)) - { - return null; - } - - if (!UdiParser.TryParse(value, out GuidUdi? udi) || udi!.Guid == Guid.Empty) - { - return null; - } - - Attempt getIdAttempt = _entityService.GetId(udi.Guid, UmbracoObjectTypes.Media); - - if (!getIdAttempt.Success) - { - return null; - } - - return getIdAttempt.Result.ToString(); - } -} -``` - -More examples of these can be found in the [open-source `Umbraco.Deploy.Contrib` project](https://github.com/umbraco/Umbraco.Deploy.Contrib/tree/v10/dev/src/Umbraco.Deploy.Contrib/ValueConnectors). - -### Grid Cell Value Connector - -The third and final type of connector is the grid cell value connector. These are responsible for converting values and tracking dependencies for grid editors. - -Umbraco Deploy comes with connectors for the built-in editors such as for media and macros. - -It's also possible to create your own, as in this example. - -The following grid editor is an illustrative example for a rudimentary custom image picker. It contains a package mamifest file: - -```json -{ - "gridEditors": [ - { - "name": "TestImagePicker", - "alias": "testImagePicker", - "view": "/App_Plugins/TestGridEditor/editor.html", - "icon": "icon-code" - } - ] -} -``` - -And an editor view: - -```html -
- - -
-``` - -The value stored by the grid editor will be the integer Id of a media item. - -When transferring this value to an upstream environment using Umbraco Deploy, these tasks are required: - -- The integer Id needs to be converted to a Guid for transfer. Guids for content and media are the same across environments but integer Ids will differ. -- On creation in the upstream environment, the Guid value needs to be converted back to an integer for storage in the grid editor. -- A dependency on the selected media item needs to be tracked, such that it will be transferred to the upstream environment along with the changes to the grid content. - -We can implement that via a grid cell value connector. The following code is for Umbraco Deploy 10.1. For earlier versions, or from Umbraco Deploy 11, the base class should be `GridCellValueConnectorBase`. - -```csharp -using Umbraco.Cms.Core; -using Umbraco.Cms.Core.Deploy; -using Umbraco.Cms.Core.Models; -using Umbraco.Cms.Core.Services; -using Umbraco.Deploy.Core; -namespace Umbraco.Deploy.Infrastructure.Connectors.GridCellValueConnectors -{ - public class CustomMediaGridCellValueConnector : GridCellValueConnectorBase2 - { - public CustomMediaGridCellValueConnector(IEntityService entityService, ILocalLinkParser localLinkParser) - : base(entityService, localLinkParser) - { - } - public override bool IsConnector(string view) => string.Equals(view, "/App_Plugins/TestGridEditor/editor.html", StringComparison.OrdinalIgnoreCase); - public override string? GetValue(GridValue.GridControl control, ICollection dependencies, IContextCache contextCache) - { - var value = control.Value?.ToString(); - if (string.IsNullOrEmpty(value)) - { - return null; - } - if (!int.TryParse(value, out var valueAsInt)) - { - return null; - } - Udi? mediaUdi = GetUdi(valueAsInt, UmbracoObjectTypes.Media); - if (mediaUdi == null) - { - return null; - } - dependencies.Add(new ArtifactDependency(mediaUdi, false, ArtifactDependencyMode.Exist)); - return mediaUdi.ToString(); - } - public override void SetValue(GridValue.GridControl control, IContextCache contextCache) - { - var value = control.Value?.ToString(); - if (string.IsNullOrWhiteSpace(value)) - { - return; - } - var guidUdi = UdiParser.Parse(value.ToString() ?? string.Empty) as GuidUdi; - if (guidUdi == null) - { - return; - } - var mediaId = GetNodeId(guidUdi); - if (!mediaId.HasValue) - { - return; - } - control.Value = mediaId.Value; - } - } -} -``` - -## Registration - -With the artifact and connectors in place, the final step necessary is to register your entity for deployment. - -Connectors do not need to be registered. The fact that they inherit from particular interfaces known to Umbraco Deploy is enough to ensure that they will be used. - -### Custom Entity Types - -If custom entity types are introduced that will be handled by Umbraco Deploy, they need to be registered with Umbraco to parse the UDI references. - -This is done via the following code, which can be triggered from a Umbraco component or an `UmbracoApplicationStartingNotification` handler. - -```c# -UdiParser.RegisterUdiType("mypackage-example", UdiType.GuidUdi); -``` - -### Disk Based Transfers - -To deploy the entity as schema, via disk based representations held in `.uda` files, it's necessary to register the entity with the disk entity service. This is done in a component, where events are used to trigger a serialization of the entity to disk whenever one of them is saved. - -```c# -public class ExampleDataDeployComponent : IComponent -{ - private readonly IDiskEntityService _diskEntityService; - private readonly IServiceConnectorFactory _serviceConnectorFactory; - private readonly IExampleDataService _exampleDataService; - - public ExampleDataDeployComponent( - IDiskEntityService diskEntityService, - IServiceConnectorFactory serviceConnectorFactory, - IExampleDataService exampleDataService) - { - _diskEntityService = diskEntityService; - _serviceConnectorFactory = serviceConnectorFactory; - _exampleDataService = exampleDataService; - } - - public void Initialize() - { - _diskEntityService.RegisterDiskEntityType("mypackage-example"); - _exampleDataService.ExampleSaved += ExampleOnSaved; - } - - private void ExampleOnSaved(object sender, ExampleEventArgs e) - { - var artifact = GetExampleArtifactFromEvent(e); - _diskEntityService.WriteArtifacts(new[] { artifact }); - } - - private IArtifact GetExampleArtifactFromEvent(ExampleEventArgs e) - { - var udi = e.Example.GetUdi(); - return _serviceConnectorFactory.GetConnector(udi.EntityType).GetArtifact(e.Example); - } - - public void Terminate() - { - } -} -``` - -#### Including Plugin Registered Disk Entities in the Schema Comparison Dashboard - -In Umbraco Deploy 9.4 a schema comparison feature was added to the dashboard available under *Settings > Deploy*. This lists the Deploy managed entities held in Umbraco and shows a comparison with the data held in the `.uda` files on disk. - -All core Umbraco entities, such as Document Types and Data Types, will be shown. - -To include entities from plugins, they need to be registered using a method overload as shown above, that allows to provide additional detail, e.g.: - -```c# -_diskEntityService.RegisterDiskEntityType( - "mypackage-example", - "Examples", - false, - _exampleDataService.GetAll().Select(x => new DeployDiskRegisteredEntityTypeDetail.InstalledEntityDetail(x.GetUdi(), x.Name, x)))); -``` - -The parameters are as follows: - -- The system name of the entity type (as used in the `UdiDefinition` attribute). -- A human readable, pluralized name for display in the schema comparison dashboard user interface. -- A flag indicating whether the entity is an Umbraco one, which should be set to `false`. -- A function that returns all entities of the type installed in Umbraco, mapped to an object exposing the Udi and name of the entity. - -### Backoffice Integrated Transfers - -If the optimal deployment workflow for your entity is to have editors control the deployment operations, the transfer entity service should be used. This would be instead of registering with the disk entity service. The process is similar, but a bit more involved. There's a need to also register details of the tree being used for editing the entities. In more complex cases, we also need to be able to handle the situation where multiple entity types are managed within a single tree. - -An introduction to this feature can be found in the second half of [this recorded session from Codegarden 2021](https://youtu.be/8bgZmlJ7ScI?t=938). - -There's also a code sample, demonstrated in the video linked above, available [here](https://github.com/AndyButland/RaceData). - -The following code shows the registration of an entity for Backoffice deployment, where we have the simplest case of a single tree for the entity. - -```c# -public class ExampleDataDeployComponent : IComponent -{ - private readonly ITransferEntityService _transferEntityService; - - public ExampleDataDeployComponent( - ITransferEntityService transferEntityService) - { - _transferEntityService = transferEntityService; - } - - public void Initialize() - { - _transferEntityService.RegisterTransferEntityType( - "mypackage-example", - "Examples", - new DeployRegisteredEntityTypeDetailOptions - { - SupportsQueueForTransfer = true, - SupportsQueueForTransferOfDescendents = true, - SupportsRestore = true, - PermittedToRestore = true, - SupportsPartialRestore = true, - }, - false, - "exampleTreeAlias", - (string routePath, HttpContext httpContext) => true, - (string nodeId, HttpContext httpContext) => true, - (string nodeId, HttpContext httpContext, out Guid entityId) => Guid.TryParse(nodeId, out entityId), - new DeployRegisteredEntityTypeDetail.RemoteTreeDetail(FormsTreeHelper.GetExampleTree, "example", "externalExampleTree")); - } - - public void Terminate() - { - } -} -``` - -The `RegisterTransferEntityType` method on the `ITransferEntityService` takes the following parameters: - -- The name of the entity type, as configured in the `UdiDefinition` attribute associated with your custom service connector. -- A pluralized, human-readable name of the entity, which is used in the transfer queue visual presentation to users. -- A set of options, allowing configuration of whether different deploy operations like queue for transfer and partial restore are made available from the tree menu for the entity. -- A value indicating whether the entity is an Umbraco entity, queryable via the `IEntityService`. For custom solutions and packages, the value to use here is always `false`. -- The alias of the tree used for creating and editing the entity data. - -We then have three functions, which are used to determine if the registered entity matches a specific node and tree alias. For trees managing single entities as we have here, we know that all nodes related to that tree alias will be for the registered entity. And that each node Id is the Guid identifier for the entity. Hence we can use the following function definitions: - -- Return `true` for all route paths. -- Return `true` for all node Ids. -- Return `true` and parse the Guid identity value from the provided string. - -For more complex cases we need the means to distinguish between entities. An example could be when a tree manages more than one entity type. Here we would need to identify whether the entity is being referenced by a particular route path or node ID. A common way to handle this is to prefix the GUID identifier with a different value for each entity. It can then be used to determine to which entity the value refers. - -For example, as shown in the linked sample and video, we have entities for "Team" and "Rider", both managed in the same tree. When rendering the tree, a prefix of "team-" or "rider-" is added to the Guid identifier for the team or rider respectively. We then register the following functions, firstly for the team entity registration: - -```c# -_transferEntityService.RegisterTransferEntityType( - ... - "teams", - (string routePath, HttpContext httpContext) => routePath.Contains($"/teamEdit/") || routePath.Contains($"/teamsOverview"), - (string nodeId, HttpContext httpContext) => nodeId == "-1" || nodeId.StartsWith("team-"), - (string nodeId, HttpContext httpContext, out Guid entityId) => Guid.TryParse(nodeId.Substring("team-".Length), out entityId); -``` - -And then for the rider: - -```c# -_transferEntityService.RegisterTransferEntityType( - ... - "teams", - (string routePath) => routePath.Contains($"/riderEdit/"), - (string nodeId) => nodeId.StartsWith("rider-"), - (string nodeId, HttpContext httpContext, out Guid entityId) => Guid.TryParse(nodeId.Substring("rider-".Length), out entityId); -``` - -If access to services is required when parsing the entity ID, where the `HttpContext` is provided as a parameter, a service can be retrieved. For example: - -```c# -var localizationService = httpContext.RequestServices.GetRequiredService(); -``` - -{% hint style="info" %} -The `HttpContext` parameter for the `matchesRoutePath` and `matchesNodeId` functions was added in Deploy 11. Before that version, it is necessary to use the `StaticServiceProvider.Instance` to access registered services or the `HttpContext`. -{% endhint %} - -Finally, the `remoteTree` optional parameter adds support for plugins to implement Deploy's "partial restore" feature. This gives the editor the option to select an item to restore, from a tree picker displaying details from a remote environment. The parameter is of type `DeployRegisteredEntityTypeDetail.RemoteTreeDetail` that defines three pieces of information: - -- A function responsible for returning a level of a tree. -- The name of the entity (or entities) that can be restored from the remote tree. -- The remote tree alias. - -An example function that returns a level of a remote tree may look like this: - -```c# -public static IEnumerable GetExampleTree(string parentId, HttpContext httpContext) -{ - var exampleDataService = httpContext.RequestServices.GetRequiredService(); - var items = exampleDataService.GetItems(parentId); - return items - .Select(x => new RemoteTreeNode - { - Id = x.Id,, - Title = x.Name, - Icon = "icon-box", - ParentId = parentId, - HasChildren = true, - }) - .ToList(); -} -``` - -To complete the setup for partial restore support, an external tree controller needs to be added, attributed to match the registered tree alias. Using a base class available in `Umbraco.Deploy.Forms.Tree`, this can look like the following: - -```c# -[Tree(DeployConstants.SectionAlias, "externalExampleTree", TreeUse = TreeUse.Dialog)] -public class ExternalDataSourcesTreeController : ExternalTreeControllerBase -{ - public ExternalDataSourcesTreeController( - ILocalizedTextService localizedTextService, - UmbracoApiControllerTypeCollection umbracoApiControllerTypeCollection, - IEventAggregator eventAggregator, - IExtractEnvironmentInfo environmentInfoExtractor, - LinkGenerator linkGenerator, - ILoggerFactory loggerFactory, - IOptions deploySettings) - : base(localizedTextService, umbracoApiControllerTypeCollection, eventAggregator, environmentInfoExtractor, linkGenerator, loggerFactory, deploySettings, "mypackage-example") - { - } -} -``` - -#### Client-Side Registration - -Most features that are available for the deployment of Umbraco entities will also be accessible to entities defined in custom solutions or packages. The "Transfer Now" option available from "Save and Publish" or "Save" button for content/media is only available to custom entities if requested client-side. - -You would do this in the custom AngularJS controller responsible for handling the edit operations on your entity. Inject the `pluginEntityService` and calling the `addInstantDeployButton` function as shown in the following stripped down sample (for the full code, see the sample data repository linked above): - -```js -(function () { - "use strict"; - - function MyController($scope, $routeParams, myResource, formHelper, notificationsService, editorState, pluginEntityService) { - - var vm = this; - - vm.page = {}; - vm.entity = {}; - ... - - vm.page.defaultButton = { - alias: "save", - hotKey: "ctrl+s", - hotKeyWhenHidden: true, - labelKey: "buttons_save", - letter: "S", - handler: function () { vm.save(); } - }; - vm.page.subButtons = []; - - function init() { - - ... - - if (!$routeParams.create) { - - myResource.getById($routeParams.id).then(function (entity) { - - vm.entity = entity; - - // Augment with additional details necessary for identifying the node for a deployment. - vm.entity.metaData = { treeAlias: $routeParams.tree }; - - ... - }); - } - - pluginEntityService.addInstantDeployButton(vm.page.subButtons); - } - - ... - - init(); - - } - - angular.module("umbraco").controller("MyController", MyController); - -})(); -``` - -### Refreshing Signatures - -Umbraco Deploy improves the efficiency of transfers by caching signatures of each artifacts in the database for each environment. The signature is a string based, hashed representation of the serialized artifact. When an update is made to an entity, this signature value should be refreshed. - -Hooking this up can be achieved by applying code similar to the following, extending the `ExampleDataDeployComponent` shown above. - -```c# -public class ExampleDataDeployComponent : IComponent -{ - ... - private readonly ISignatureService _signatureService; - - public ExampleDataDeployComponent( - ... - ISignatureService signatureService) - { - _signatureService = signatureService; - } - - public void Initialize() - { - ... - _signatureService.RegisterHandler(nameof(IExampleDataService.ExampleSaved), (refresher, args) => refresher.SetSignature(GetExampleArtifactFromEvent(args))); - } - - ... -} -``` diff --git a/10/umbraco-deploy/extending/handling-cache-refresher-notifications.md b/10/umbraco-deploy/extending/handling-cache-refresher-notifications.md deleted file mode 100644 index 4568be36f3a..00000000000 --- a/10/umbraco-deploy/extending/handling-cache-refresher-notifications.md +++ /dev/null @@ -1,168 +0,0 @@ ---- -meta.Title: "Handling Cache Refresher Notifications" -description: "How to respond to deployment events using cache refresher notifications" ---- - -# Handling Cache Refresher Notifications - -## Background - -When you deploy content or other Umbraco data between environments, some notifications that are normally fired in CMS operations are suppressed. - -For example, you may handle a `ContentPublishedNotification` to apply some custom logic when a content item is published. This code will run in a normal CMS publish operation. However, when deploying a content item into another environment and triggering it's publishing there, the notification will not be issued. And the custom logic in the notification handler will not run. - -This behavior is deliberate and done for performance and reliability reasons. A normal save and publish operation by an editor operates on one item at a time. With deployments, we may have many, and publishing these notifications may lead to at best slow operations, and at worst inconsistent data. - -The notification will also already be published on the environment where the actual operation was carried out. So repeating this with each content transfer might also result in unwanted behavior. - -However, what if you do want to run some code on an update, even if this is happening as part of a Deploy operation? - -Not all notifications are suppressed by Umbraco Deploy. Some are batched and fired after the deploy operation is complete. These include those related to refreshing the Umbraco cache and rebuilding indexes. - -You can use these cache refresher notifications to handle operations that should occur after a deployment is completed. All notification issued by the CMS are made available. So when deploying a set of content items, a refresher notification will be issued for each. - -## Implementing a Cache Refresher Notification - -The following two code samples illustrate how this can be done. - -The first handles a content cache refresher, which takes a payload from where the content ID can be extracted. Using that the content can be retrieved in the local Umbraco instance and used as appropriate. - -For more details and further examples, please see the [CMS Cache Refresher Notifications documentation](https://docs.umbraco.com/umbraco-cms/reference/notifications/cacherefresher-notifications). - -```csharp -using Umbraco.Cms.Core.Cache; -using Umbraco.Cms.Core.Events; -using Umbraco.Cms.Core.Models; -using Umbraco.Cms.Core.Notifications; -using Umbraco.Cms.Core.Services; -using Umbraco.Cms.Core.Sync; - -namespace TestSite.Business.NotificationHandlers; - -public class ContentCacheRefresherNotificationHandler : INotificationHandler -{ - private readonly ILogger _logger; - private readonly IContentService _contentService; - - public ContentCacheRefresherNotificationHandler( - ILogger logger, - IContentService contentService) - { - _logger = logger; - _contentService = contentService; - } - - public void Handle(ContentCacheRefresherNotification notification) - { - // We only want to handle the RefreshByPayload message type. - if (notification.MessageType != MessageType.RefreshByPayload) - { - return; - } - - // Cast the payload to the expected type. - var payload = (ContentCacheRefresher.JsonPayload[])notification.MessageObject; - - // Handle each content item in the payload. - foreach (ContentCacheRefresher.JsonPayload item in payload) - { - // Retrieve the content item. - var contentItemId = item.Id; - IContent? contentItem = _contentService.GetById(contentItemId); - if (contentItem is null) - { - _logger.LogWarning( - "ContentCacheRefresherNotification handled for type {MessageType} but content item with Id {Id} could not be found.", - notification.MessageType, - contentItemId); - return; - } - - // Do something with the content item. Here we'll just log some details. - _logger.LogInformation( - "ContentCacheRefresherNotification handled for type {MessageType} and id {Id}. " + - "Key: {Key}, Name: {Name}", - notification.MessageType, - contentItemId, - contentItem.Key, - contentItem.Name); - } - } -} -``` - -The second example is similar, but handles an update to a dictionary item. With this one we get a parameter that consists of the item's ID. Again we can retrieve it and carry out some further processing. - -```csharp -using Umbraco.Cms.Core.Events; -using Umbraco.Cms.Core.Models; -using Umbraco.Cms.Core.Notifications; -using Umbraco.Cms.Core.Services; -using Umbraco.Cms.Core.Sync; - -namespace TestSite.Business.NotificationHandlers; - -public class DictionaryCacheRefresherNotificationHandler : INotificationHandler -{ - private readonly ILogger _logger; - private readonly ILocalizationService _localizationService; - - public DictionaryCacheRefresherNotificationHandler( - ILogger logger, - ILocalizationService localizationService) - { - _logger = logger; - _localizationService = localizationService; - } - - public void Handle(DictionaryCacheRefresherNotification notification) - { - // We only want to handle the RefreshById message type. - if (notification.MessageType != MessageType.RefreshById) - { - return; - } - - // Retrieve the dictionary item. - var dictionaryItemId = (int)notification.MessageObject; - IDictionaryItem? dictionaryItem = _localizationService.GetDictionaryItemById(dictionaryItemId); - if (dictionaryItem is null) - { - _logger.LogWarning( - "DictionaryCacheRefresherNotification handled for type {MessageType} but dictionary item with Id {Id} could not be found.", - notification.MessageType, - dictionaryItemId); - return; - } - - // Do something with the dictionary item. Here we'll just log some details. - _logger.LogInformation( - "DictionaryCacheRefresherNotification handled for type {MessageType} and id {Id}. " + - "Key: {Key}, Default Value: {DefaultValue}", - notification.MessageType, - dictionaryItemId, - dictionaryItem.ItemKey, - dictionaryItem.GetDefaultValue()); - } -} -``` - -In both cases, as is usual for notification handlers, you will need to register them via a composer: - -```csharp -using Umbraco.Cms.Core.Composing; -using Umbraco.Cms.Core.Notifications; -using TestSite.Business.NotificationHandlers; - -namespace TestSite.Business; - -public class SiteComposer : IComposer -{ - public void Compose(IUmbracoBuilder builder) - { - builder.AddNotificationHandler(); - builder.AddNotificationHandler(); - } -} -``` - diff --git a/10/umbraco-deploy/getting-started/Streamlining-Local-Development/index.md b/10/umbraco-deploy/getting-started/Streamlining-Local-Development/index.md deleted file mode 100644 index 922f749f037..00000000000 --- a/10/umbraco-deploy/getting-started/Streamlining-Local-Development/index.md +++ /dev/null @@ -1,40 +0,0 @@ ---- -description: "Additional steps you can carry out to streamline your local development workflow" ---- - -# Streamlining Local Development - -In this section we discuss some additional steps you can carry out to streamline your local development workflow. - -## Creating Git Hooks - -Working in a team, it's common for developers to pull code from source control to update their local environment with the latest Umbraco schema. - -They can do this by starting up the website, navigating to the _Settings > Deploy_ dashboard and triggering a data extraction. - -We can automate this step using a [git hook](https://www.atlassian.com/git/tutorials/git-hooks). - -When working with Umbraco Cloud, this step is configured automatically for you when you clone and run your project the first time. If working with Umbraco Deploy On-Premise, you can set it up yourself. - -The process works by using the marker file Umbraco Deploy uses to trigger an update of the Umbraco schema from the `.uda` files from source control. - -If a file named `deploy-on-start` is found in the `/umbraco/Deploy` folder, an update will run automatically when the site starts up. - -Therefore, if we ensure that the file is created everytime the source code is pulled from the remote repository, we can automate the update. - -To do this, carry out the following steps: - -- Find the `.git` folder within your solution root. - - It might be a hidden folder, so if you don't see it, make sure your file browser is configured to show hidden files and folders. -- Within that you'll find a `hooks` folder, and inside that, a file called `post-merge.sample`. -- Rename the file to remove the `.sample` extension and open it in a text editor. -- Apply the following text and save the file (amending the path to the web project as appropriate for your solution structure): - -```sh -#!/bin/sh -echo > src/UmbracoProject/umbraco/Deploy/deploy-on-start -``` - -- Run a `git pull origin `. -- Start up the website and you should find the Umbraco schema update has been triggered. - diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/README.md b/10/umbraco-deploy/getting-started/cicd-pipeline/README.md deleted file mode 100644 index 7d13d955c6e..00000000000 --- a/10/umbraco-deploy/getting-started/cicd-pipeline/README.md +++ /dev/null @@ -1,43 +0,0 @@ ---- -description: "Steps and examples on how Umbraco Deploy can be integrated into an automated build and deployment pipeline" ---- - -# Setting up a CI/CD Build and Deployment Pipeline - -Once Umbraco Deploy has been installed and the schema data has been generated, a CI/CD build server needs to be set up. - -The build server will extract the changes that has been pushed to the repository into your production website that has been connected with Umbraco Deploy. - -This is something that can be done in many different ways depending on where your website is hosted and your setup. - -Umbraco Deploy does not require the use of any particular build or deployment tools and hence we expect that you should be able to continue using the tool or tools of your choice. Any that have support for .NET website deployments and the running of Powershell scripts. such as Azure DevOps or GitHub Actions, would be appropriate. - -Above and beyond the normal steps of a build pipeline for a .NET web application - tasks like NuGet restore, solution build, running of tests etc. - Umbraco Deploy requires three additional steps. - -- The license file needs to be deployed into the target environment's `umbraco/Licenses` folder. -- The `.uda` schema files that are written to disk and included in source control, need to be made available in the build artifact that is deployed to the target environment. -- Once the build is complete, the extraction of the updated schema in the target environment needs to be triggered. - -The first two steps will be implemented in a similar way. There will need to be a step added to the pipeline that runs after the main build of the website, to copy the license file and data files into the published build output, such that they are included in the build artifacts that are deployed to the target environment. - -The third step needs to run last in the pipeline, once the built web application is deployed to the target environment. Umbraco Deploy provides a Powershell script that can be used for the purpose of triggering the extraction of the schema information and update of the target Umbraco installation. - -## Background on the Schema Extraction Process - -Without a CI/CD pipeline step in place to trigger the extraction, following a deployment, the process would need to be carried out manually. This can be done by logging into the backoffice, navigating to _Settings > Deploy_ and triggering the operation via the dashboard. - -Behind the scenes what happens here is a marker file being written to disk - in the `/umbraco/Deploy/` folder and with a name of `deploy`. It’s by monitoring this directory for a file with this name that Umbraco Deploy knows to trigger the extraction. - -Umbraco Deploy also provides an HTTPS endpoint that can be called by an authenticated request. This will write the marker file, which will trigger the extraction. - -Umbraco Deploy On-Premises also ships with a Powershell script, that when executed will call the endpoint, which will write the file, and which will trigger the extraction. - -So while it may be possible to have the CI/CD step directly write the file or call the endpoint, so long as the build used supports running Powershell scripts this is the method we’d recommend, as it has some necessary error checking and retry logic built-in. - -## [Setting up CI/CD pipeline with GitHub Actions](ci-cd-github-actions.md) - -Details the setup of a CI/CD pipeline using GitHub Actions. - -## [Setting up CI/CD pipeline with Azure DevOps](ci-cd-azure-dev-ops.md) - -Details the setup of a CI/CD pipeline using Azure DevOps. diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/ci-cd-azure-dev-ops.md b/10/umbraco-deploy/getting-started/cicd-pipeline/ci-cd-azure-dev-ops.md deleted file mode 100644 index ca6db6e8d56..00000000000 --- a/10/umbraco-deploy/getting-started/cicd-pipeline/ci-cd-azure-dev-ops.md +++ /dev/null @@ -1,106 +0,0 @@ ---- -description: "Steps and examples on how to setup a build and deployment pipeline for Umbraco Deploy using Azure DevOps." ---- - -# Azure DevOps - -In this section, we provide a full example of how Umbraco Deploy running on Umbraco 9 and above can be utilized. This can be used as a part of a build and deployment pipeline using Azure DevOps. You can use this directly or adapt it for your needs. - -## Discussion on the Provided Example - -We have defined a single stage build and deployment pipeline, configured in YAML format. While not as visually intuitive as a drag-and-drop task list, it provides the advantage of source control management. - -We then have a number of variables defined, that are used in the build configuration below. By using variables we have the ability to modify the script for use on other web applications. Some values are set in the script, and some via Azure DevOps variables or secrets. - -Most tasks in the pipeline are standard steps that will be used in any .NET web application release, such as the first steps: - -\#1 Install of the NuGet tooling, - -\#2 Restore of NuGet dependencies, - -\#3 And the project build. - -Additional steps can be added as required, for example for running automated tests. - -The Umbraco Deploy license file and the schema data files will automatically be included within the build output. - -The deployment part of the pipeline stage consists of two steps. - -Firstly a web deployment (#4), takes the packaged build artifact and deploys it, in this case, to an Azure Web App slot. - -The final step (#5) is Umbraco Deploy specific - to call a function defined in the Powershell script and trigger the extraction. - -{% hint style="info" %} -The Microsoft docs contain useful information, if you are unsure of how to set secrets for your pipeline: -* [Set secret variables](https://learn.microsoft.com/en-us/azure/devops/pipelines/process/set-secret-variables?view=azure-devops&tabs=yaml%2Cbash) - -* [Protecting secrets in Azure Pipelines](https://learn.microsoft.com/en-us/azure/devops/pipelines/security/secrets?view=azure-devops) -{% endhint %} - - -## Full Example - -```yaml -trigger: -- main - -pool: - vmImage: 'windows-latest' - -variables: - solution: '**/*.sln' - buildPlatform: 'Any CPU' - buildConfiguration: 'Release' - - vsSolutionName: DeployOnPremSite - vsProjectName: DeployOnPremSite - umbracoDeployTriggerDeploy: $(Build.SourcesDirectory)\$(vsSolutionName)\$(vsProjectName)\TriggerDeploy.ps1 - umbracoDeployReason: AzureDeployment - - deployApiKey: - azureSubscription: - webAppName: - resourceGroupName: - deploySlotName: - deployBaseUrl: - -steps: -#1 NuGet Tool Install -- task: NuGetToolInstaller@1 - displayName: Install NuGet - -#2 NuGet Restore -- task: NuGetCommand@2 - displayName: Restore NuGet packages - inputs: - restoreSolution: '$(solution)' - -#3 Build the VS Solution and publish the output to a zip file -- task: VSBuild@1 - displayName: Build solution - inputs: - solution: '$(solution)' - msbuildArgs: '/p:DeployOnBuild=true /p:WebPublishMethod=Package /p:PackageAsSingleFile=true /p:SkipInvalidConfigurations=true /p:DesktopBuildPackageLocation="$(build.artifactStagingDirectory)\WebApp.zip" /p:DeployIisAppPath="Default Web Site"' - platform: '$(buildPlatform)' - configuration: '$(buildConfiguration)' - -#4 Deploy to an Azure web app slot -- task: AzureRmWebAppDeployment@4 - displayName: Deploy to web app - inputs: - ConnectionType: 'AzureRM' - azureSubscription: '$(azureSubscription)' - appType: 'webApp' - WebAppName: '$(webAppName)' - deployToSlotOrASE: true - ResourceGroupName: '$(resourceGroupName)' - SlotName: '$(deploySlotName)' - packageForLinux: '$(build.artifactStagingDirectory)\WebApp.zip' - -#5 Trigger the Umbraco Deploy extraction -- task: PowerShell@2 - displayName: Run PowerShell script - inputs: - filePath: '$(umbracoDeployTriggerDeploy)' - arguments: '-InformationAction:Continue -Action TriggerWithStatus -ApiKey $(deployApiKey) -BaseUrl $(deployBaseUrl) -Reason $(umbracoDeployReason) -Verbose' -``` diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/ci-cd-github-actions.md b/10/umbraco-deploy/getting-started/cicd-pipeline/ci-cd-github-actions.md deleted file mode 100644 index 60d458f05ec..00000000000 --- a/10/umbraco-deploy/getting-started/cicd-pipeline/ci-cd-github-actions.md +++ /dev/null @@ -1,159 +0,0 @@ ---- -description: Steps and examples on how to setup a build and deployment pipeline for Umbraco Deploy using GitHub Actions. ---- - -# GitHub Actions - -{% hint style="info" %} -In this example we will show how you can set up a CI/CD build server using GitHub Actions in Azure Web Apps. - -We will not cover how you can set up the site itself as this is beyond this documentation. -{% endhint %} - -The following steps will take you through setting up a build server in Azure Web Apps. Go to the Azure portal and find the empty website that we have set up and want to connect to. - -1. Go to the Deployment Center. - -![Azure deployments](../../../../10/umbraco-deploy/installing-deploy/images/Deployment-center.png) - -In the Deployment Center we can set up the CI/CD build server. With this example we are going to set up our build server by using GitHub Actions. It is possible to set up the build server however you want as long as it supports executing powershell scripts. - -1. Go to the Settings tab. -2. Choose which source and build provider to use. - * In this case we want to choose GitHub. - -![Build server clean](../../../../10/umbraco-deploy/installing-deploy/cicd-pipeline/images/Build-server-v10.png) - -1. Choose the Organization which you created our GitHub repository under. -2. Choose the repository that was set up earlier in this guide. -3. Select which branch that we want the build server to build into. - -We can see which runtime stack and version we are running, in this example we are running .NET and Version 6.0. - -Once the information has been added we can go ahead and preview the YAML file that will be used for the build server: - -![Workflow configuration](../../../../10/umbraco-deploy/installing-deploy/cicd-pipeline/images/workflow-preview-v10.png) - -1. Save the workflow. - -The website and the GitHub repository are now connected. - -If we go back to the GitHub repository we can see that a new folder have been created called Workflows: - -![Workflows](../../../../10/umbraco-deploy/installing-deploy/images/workflows.png) - -Inside the folder, we find that the YAML file has been created with the default settings from the Azure Portal. The file will need to be configured so it fits into your set up. - -1. Pull down the new file and folder, so you can work with the YAML file on your local machine. -2. Configure it to work with our Umbraco Deploy installation. - -When it have been configured it will look something like this: - -```yaml -# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy -# More GitHub Actions for Azure: https://github.com/Azure/actions -name: Build and deploy ASP.Net Core app to Azure Web App - Jonathan-deploy-v10 -on: - push: - branches: - - main - workflow_dispatch: -jobs: - build: - runs-on: windows-latest - steps: - - name: Checkout the git repository - uses: actions/checkout@v3 - - name: Setup dotnet 6 - uses: actions/setup-dotnet@v2 - with: - dotnet-version: '6.0.x' - - name: Build with dotnet - working-directory: 'Jonathan-Deploy-V10' - run: dotnet build --configuration Release - - name: Publish with dotnet - working-directory: 'Jonathan-Deploy-V10' - run: dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp - - - name: Upload artifact for deployment job - uses: actions/upload-artifact@v4 - with: - name: .net-app - path: ${{env.DOTNET_ROOT}}/myapp - deploy: - runs-on: windows-latest - needs: build - environment: - name: 'Production' - url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} - env: - deployBaseUrl: https://jonathan-testing-deploy-v10.testsite.net - umbracoDeployReason: DeployingMySite - steps: - - name: Download artifact from build job - uses: actions/download-artifact@v4 - with: - name: .net-app - - name: Deploy to Azure Web App - id: deploy-to-webapp - uses: azure/webapps-deploy@v2 - with: - app-name: 'Jonathan-Deploy-V10' - slot-name: 'Production' - publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_ABC78A5A9E9FG07F87E8R5G9H9J0J7J8 }} - package: . - - name: Run Deploy Powershell - triggers deployment on remote env - shell: powershell - run: .\TriggerDeploy.ps1 -InformationAction:Continue -Action TriggerWithStatus -ApiKey ${{ secrets.deployApiKey }} -BaseUrl ${{ env.deployBaseUrl }} -Reason ${{ env.umbracoDeployReason }} -Verbose -``` - -{% hint style="info" %} -This is only an example of how you can set up the CI/CD pipeline for Umbraco Deploy. It is possible to set it up in a way that works for you and your preferred workflow. -{% endhint %} - -We also need to add the License file and `TriggerDeploy.ps1` file in an item group in the `csproj` file: - -``` - - - - -``` - -As well as enabling Unattended install in the **appSettings.json** file so Umbraco installs automatically: - -``` -"Umbraco": { - "CMS": { - "Unattended": { - "InstallUnattended": true - } -``` - -Before the build can work, we will need to set up our generated API key to work with the build server in GitHub Actions. - -1. Open your GitHub repository. -2. Navigate to Settings. -3. Go to the Secrets tab. -4. Select "New repository secret". -5. Call the new secret **"DEPLOYAPIKEY"**. -6. Add the API key from the `appSettings.json` file. -7. Save the secret. - -We can now go ahead and commit the configured YAML file and push up all the files to the repository. - -Go to GitHub where you will now be able to see that the CI/CD build has started running: - -![Deployment build started](../../../../10/umbraco-deploy/installing-deploy/images/Deploying-meta-data.png) - -The build server will go through the steps in the YAML file, and once it is done the deployment have gone through successfully: - -![Deployment Complete](<../../../../10/umbraco-deploy/installing-deploy/images/deployment-complete (1).png>) - -You can now start creating content on the local machine. Once you create something like a Document Type, the changes will get picked up in Git. - -When you're done making changes, commit them and deploy them to GitHub. The build server will run and extract the changes into the website in Azure. - -This will only deploy the schema data for our local site to your website. - -You will need to transfer content and media from the backoffice on your local project using the [queue for transfer feature](../../deployment-workflow/content-transfer.md). diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-clean.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-clean.png deleted file mode 100644 index e20e5e6b8a8..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-clean.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1) (1) (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1) (1) (1).png deleted file mode 100644 index 80026302be3..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1) (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1) (1).png deleted file mode 100644 index 80026302be3..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1).png deleted file mode 100644 index 80026302be3..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10 (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10.png deleted file mode 100644 index 80026302be3..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Build-server-v10.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deploying-meta-data (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deploying-meta-data (1).png deleted file mode 100644 index 3f74a18335e..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deploying-meta-data (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deploying-meta-data.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deploying-meta-data.png deleted file mode 100644 index 3f74a18335e..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deploying-meta-data.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deployment-center (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deployment-center (1).png deleted file mode 100644 index f47e12edd19..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deployment-center (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deployment-center.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deployment-center.png deleted file mode 100644 index f47e12edd19..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/Deployment-center.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/deployment-complete (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/deployment-complete (1).png deleted file mode 100644 index ee12f34a23a..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/deployment-complete (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/deployment-complete.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/deployment-complete.png deleted file mode 100644 index ee12f34a23a..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/deployment-complete.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1) (1) (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1) (1) (1).png deleted file mode 100644 index cab06a25845..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1) (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1) (1).png deleted file mode 100644 index cab06a25845..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1).png deleted file mode 100644 index cab06a25845..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10 (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10.png deleted file mode 100644 index cab06a25845..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview-v10.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview.png deleted file mode 100644 index 78a9a74b67a..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflow-preview.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflows (1).png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflows (1).png deleted file mode 100644 index 2d7956e4a0e..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflows (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflows.png b/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflows.png deleted file mode 100644 index 2d7956e4a0e..00000000000 Binary files a/10/umbraco-deploy/getting-started/cicd-pipeline/images/workflows.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/deploy-settings.md b/10/umbraco-deploy/getting-started/deploy-settings.md deleted file mode 100644 index 27bbcc7b390..00000000000 --- a/10/umbraco-deploy/getting-started/deploy-settings.md +++ /dev/null @@ -1,360 +0,0 @@ ---- -meta.Title: Umbraco Deploy settings -description: >- - Learn about the different settings and configurations available in Umbraco - Deploy. ---- - -# Configuration - -All configuration for Umbraco Deploy is held in the `appSettings.json` file found at the root of your Umbraco website. If the configuration has been customized to use another source, then the same keys and values discussed in this article can be applied there. - -The convention for Umbraco configuration is to have package based options stored as a child structure below the `Umbraco` element, and as a sibling of `CMS`. Umbraco Deploy configuration follows this pattern, i.e.: - -```json -{ - ... - "Umbraco": { - "CMS": { - ... - }, - "Deploy": { - ... - } - } -} -``` - -There are some required settings but most configuration for Umbraco Deploy is optional. In other words, values have defaults that will be applied if no configuration is available for a particular key. - -For illustration purposes, the following structure represents the full set of options for configuration of Umbraco Deploy, along with the default values. This will help when you need to provide a different setting to understand where it should be applied. - -```json -{ - ... - "Umbraco": { - "Deploy": { - "Settings": { - "ApiKey": "", - "Edition": "Default", - "ExcludedEntityTypes": [], - "RelationTypes" : [], - "ValueConnectors": [], - "SessionTimeout": "0.0:20:00", - "SourceDeployTimeout": "0.0:20:00", - "DatabaseCommandTimeout": "0.0:20:00", - "EnableSignatureCacheReads": true, - "HttpClientTimeout": "0.0:20:00", - "DiskOperationsTimeout": "0.0:05:00", - "SourceDeployBatchSize": null, - "PackageBatchSize": null, - "UseDatabaseTransferQueue": true, - "IgnoreBrokenDependenciesBehavior": "Restore", - "AcceptInvalidCertificates": false, - "TransferFormsAsContent": true, - "TransferDictionaryAsContent": false, - "SetEmptyDictionaryItemsOnTransfer": true, - "IgnoreMissingLanguagesForDictionaryItems": false, - "AllowMembersDeploymentOperations": "None", - "TransferMemberGroupsAsContent": false, - "ExportMemberGroups": true, - "ReloadMemoryCacheFollowingDiskReadOperation": false, - "AllowDomainsDeploymentOperations": "None", - "AllowPublicAccessDeploymentOperations": "AddOrUpdate", - "TrashedContentDeploymentOperations": "Import", - "PreferLocalDbConnectionString": false, - "NumberOfSignaturesToUseAllRelationCache": 100, - "ContinueOnMediaFilePathTooLongException": false, - "SuppressCacheRefresherNotifications": false, - "ResolveUserInTargetEnvironment": false - } - } - } -} -``` - -## ApiKey - -The API key is a 10 character random string applied with the same value to all environments in order to authenticate HTTP requests between them. - -## Edition - -The default value for this setting is `Default`, which configures Umbraco Deploy to work according to how we expect most customers to use the product. Umbraco schema, such as Document and Data Types, are serialized to disk as `.uda` files in save operations. These are checked into source control and used to update the schema in the upstream environments via a trigger from your CI/CD pipeline, or automatically if using Umbraco Cloud. - -Items managed by editors - content, media and optionally forms, dictionary items and members - are deployed between environments using the transfer and restore options available in the backoffice. - -It is possible to use this method for all Umbraco data, by setting the value of this setting to `BackOfficeOnly`. With this in place, all data, including what is typically considered as schema, are available for transfer via the backoffice. - -Our recommended approach is to leave this setting as `Default` and use source control and a deployment pipeline to ensure that structural changes to Umbraco are always aligned with the code and template amends that use them. - -However, we are aware that some customers prefer the option to use the backoffice for all data transfers. If that is the case, the `BackOfficeOnly` setting will allow this. - -## ExcludedEntityTypes {#excludedentitytypes} - -This setting allows you to exclude a certain type of entity from being deployed. This is **not** recommended to set, but sometimes there may be issues with the way a custom media fileprovider works with your site and you will need to set it for media files. Here is an example: - -```json -"ExcludedEntityTypes": ["media-file"], -``` - -## RelationTypes - -This setting allows you to manage how relations are deployed between environments. You will need to specify an alias and a mode for each relationtype. The mode can be either: - -* `Exclude` - This causes the relation to be excluded and not transferred on deployments. -* `Weak` - This causes the relation to be deployed if both content items are found on the target environment. -* `Strong` - This requires the content item that is related is set as a dependency, so if anything is added as a relation it would also add it as a dependency. - -```json -"RelationTypes": [ - { - "Alias": "relateParentDocumentOnDelete", - "Mode": "Weak", - }, - { - "Alias": "relateShopItemOnCreate", - "Mode": "Exclude", - } -], -``` - -## ValueConnectors - -This setting is used by package creators who wants their custom editors to work with Deploy. The packages should be creating this setting automatically. There is a community driven package that has value connectors for Deploy called [Deploy Contrib](https://github.com/umbraco/Umbraco.Deploy.Contrib). - -Here is an example of how the setting can look: - -```json -"ValueConnectors": [ - { - "Alias": "nuPickers.DotNetCheckBoxPicker", - "TypeName": "Umbraco.Deploy.Contrib.Connectors.ValueConnectors.NuPickersValueConnector,Umbraco.Deploy.Contrib.Connectors", - } -], -``` - -## Timeout settings {#timeout-settings} - -Umbraco Deploy have a few built-in timeouts, which on larger sites might need to be modified. You will usually see these timeouts in the backoffice with an exception mentioning a timeout. It will be as part of a full restore or a full deploy of an entire site. In the normal workflow you should never hit these timeouts. - -There are four settings available relating to backoffice deployment operations: - -* `SessionTimeout` -* `SourceDeployTimeout` -* `HttpClientTimeout` -* `DatabaseCommandTimeout` - -These timeout settings default to 20 minutes, but if you are transferring a lot of data you may need to increase it. - -{% hint style="info" %} -It's important that these settings are added to both the source and target environments in order to work. -{% endhint %} - -A fifth timeout setting is available from Umbraco Deploy 9.5 and 10.1, allowing for the adjustment of the maximum time allowed for disk operations such as schema updates. - -* `DiskOperationsTimeout` - -This setting defaults to 5 minutes. - -All of these times are configured using [standard timespan format strings](https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-timespan-format-strings). The values of the settings will have to be the same value on all timeout settings. - -## Batch settings {#batch-settings} - -Even with appropriate settings of the above timeouts, Deploy's backoffice transfer operations can hit a hard limit imposed by the hosting environment. For Azure, this is around 4 minutes. This will typically only be reached if deploying a considerable amount of items in one go. For example, a media folder with thousands of items can reach this limit. - -An error message of "The remote API has returned a response indicating a platform timeout" will be reported. - -If encountering this issue, there are two batch settings that can be applied with integer values (for example 500). This will cause Deploy to transfer items in batches, up to a maximum size. This will allow each individual batch to complete within the time available. The higher the value, the bigger the batches. - -* `SourceDeployBatchSize` - applies a batch setting for the transfer of multiple selected items to an upstream environment (such as a media folder with many images). -* `PackageBatchSize` - applies a batch setting to the processing of a Deploy "package", which contains all the items selected for a Deploy operation, plus all the determined dependencies and relations. - -## UseDatabaseTransferQueue - -In earlier versions of Umbraco Deploy, the transfer queue was implemented using in-memory storage. As a result, it would not be persisted across application restarts. - -From 9.5 and 10.1, a database backed queue was implemented and is used by default. - -If for any reason there was a need to revert to the previous implementation, the value of this setting can be set to `false`. - -## TransferFormsAsContent {#transfer-forms-data-as-content} - -In order for Deploy to handle Forms data as content, you'll to ensure the `TransferFormsAsContent` setting is set to `true`. To transfer Forms data as schema, i.e. via .uda files committed to source control, use a value of `false`. - -{% hint style="info" %} -On changing this value from `false` to `true`, make sure to remove any `.uda` files for Forms entities that have already been serialized to disk. These will no longer be updated. By deleting them you avoid any risk of them being processed in the future and inadvertently reverting a form to an earlier state. -{% endhint %} - -## TransferDictionaryAsContent {#transfer-dictionary-items-as-content} - -In a similar way, Deploy can be configured to allow for backoffice transfers of dictionary items instead of using files serialized to disk, by setting `TransferDictionaryAsContent` as `true`. - -Please see the note above under _TransferFormsAsContent_ on the topic of removing any existing serialized files having changed this value to `true`. - -## IgnoreMissingLanguagesForDictionaryItems - -When deploying dictionary items, an exception will be thrown if a translation is provided for a language that doesn't exist in the target environment. - -Normally this is a useful fail-safe to ensure translations aren't lost in the transfer operation. - -If you have deleted languages that have already existing translations, you may want to temporarily remove this check. You can do that by setting this value to `true`. - -When this is in place a translation for a language that doesn't exist in the target environment will be ignored. A warning message will be output to the log. - -## SetEmptyDictionaryItemsOnTransfer - -When deploying dictionary items, Umbraco Deploy follows the approach used for all content, emptying values that are transferred and set. - -If you transfer a dictionary item with an empty translation to another environment that already contains a translation, it will be overwritten. - -Set this value to `false` to not overwrite already populated values with empty strings. - -## AllowMembersDeploymentOperations and TransferMemberGroupsAsContent {#transfer-members} - -As of version 9.3.0, it's also possible to transfer members and member groups via the back-office between environments. This is disabled by default as a deliberate decision to make use of the feature needs to be taken, as for most installations it will make sense to have member data created and managed only in production. There are obvious potential privacy concerns to consider too. However, if being able to deploy and restore this information between environments makes sense for the specific workflow of your project, it's a supported scenario. - -To enable, you can add or amend the `AllowMembersDeploymentOperations` and `TransferMemberGroupsAsContent` settings. - -The `AllowMembersDeploymentOperations` setting can take four values: - -* `None` - member deployment operations are not enabled (the default value if the setting is missing) -* `Restore` - restore of members from upstream environments via the backoffice is enabled -* `Transfer` - transfer of members to upstream environments via the backoffice is enabled -* `All` - restore and transfer of members from upstream environments via the backoffice is enabled - -With `TransferMemberGroupsAsContent` set to `true`, member groups can also be transferred via the backoffice, and groups identified as dependencies of members being transferred will be automatically deployed. - -Please see the note above under _TransferFormsAsContent_ on the topic of removing any existing serialized files having changed this value to `true`. - -## ExportMemberGroups {#exporting-member-groups} - -This setting is to be defined and set to `false` only if you are using an external membership provider for your members. You will not want to export Member Groups that would no longer be managed by Umbraco but by an external membership provider. - -Setting `exportMemberGroups` to `false` will no longer export Member Groups to .uda files on disk. The default for this setting is `true`, as most sites use Umbraco's built-in membership provider and thus will want the membership groups exported. - -## IgnoreBrokenDependenciesBehavior {#ignore-broken-dependencies} - -When restoring or transferring content, Umbraco Deploy will make checks to ensure that any dependent content, media or other items are either present in the target environment, or can be deployed from the source environment. - -For example, you may have a media picker on a content item, referencing media that has been deleted or is in the recycle bin. In this situation the dependency won't be available in the target environment. - -Deploy can halt at this point, so you get an error and the deployment won't complete until the issue is resolved. To fix, you would need to remove the reference to the deleted media item. - -Alternatively, you can configure Deploy to ignore these issues and proceed with the transfer operation without warning. - -To configure the behavior you prefer, amend this value to either `None`, `Transfer`, `Restore` or `All`. - -For example, using the following settings, you will have an installation that ignores broken dependencies when restoring from an upstream environment. It will however still prevent deployment and report any dependency issues when attempting a transfer to an upstream environment. - -```json - "IgnoreBrokenDependenciesBehavior": "Restore", -``` - -When configuring for Deploy 9, an additional `IgnoreBrokenDependencies` setting existed that took a value of `true` or `false`. To achieve the same result as the example above, the following configuration was required: - -```json - "IgnoreBrokenDependencies": true, - "IgnoreBrokenDependenciesBehavior": "Restore", -``` - -## Memory cache reload {#memory-cache-reload} - -Some customers have reported intermittent issues related to Umbraco's memory cache following deployments, which are resolved by a manual reload of the cache via the _Settings > Published Status > Caches_ dashboard. If you are running into such issues and are able to accommodate a cache clear after deployment, this workaround can be automated via the following setting: - -```json - "ReloadMemoryCacheFollowingDiskReadOperation": true, -``` - -By upgrading to the most recent available version of the CMS major you are running, you'll be able to benefit from the latest bug fixes and optimizations in this area. That should be your first option if encountering cache related issues. Failing that, or if a CMS upgrade is not an option, then this workaround can be considered. - -## Deployment of culture & hostnames settings {#deployment-of-culture--hostnames-settings} - -Culture and hostname settings, defined per content item for culture invariant content, are not deployed between environments by default. They can be opted into via configuration. - -```json - "AllowDomainsDeploymentOperations": "None|Culture|AbsolutePath|Hostname|All", -``` - -To enable this, set the configuration value as appropriate for the types of domains you want to allow: - -* `Culture` - the language setting for the content, defined under "Culture" -* `AbsolutePath` - values defined under "Domains" with an absolute path, e.g. "/en" -* `Hostname` - values defined under "Domains" with a full host name, e.g. "en.mysite.com" - -Combinations of settings can be applied, e.g. `Hostname,AbsolutePath`. - -## Deployment of public access settings {#deployment-of-public-access-settings} - -When deploying content items, public access rules based on member groups are transferred. You can amend this behavior using this setting. - -```json - "AllowPublicAccessDeploymentOperations": "None|AddOrUpdate|Remove|All", -``` - -* `None` - no public access rules will be transferred -* `AddOrUpdate` - public access rules added or updated in a source environment will be transferred to the destination -* `Remove` - public access rules removed a source environment will be removed in the destination -* `All` - all public access information will be transferred - -`AddOrUpdate` is the default setting used if no value is configured. - -## Deployment of trashed content {#deployment-of-trashed-content} - -Specifies options for handling trashed content (documents, media and members) on export or import: - -```json -"TrashedContentDeploymentOperations": "None|Export|Import|All" -``` - -You can amend this behavior using this setting: - -* `None` - trashed content will not be exported or imported -* `Export` - trashed content will be included in an export -* `Import` - trashed content will be processed and moved to the recycle bin on import -* `All` - trashed content will be included in an export, processed and moved to the recycle bin on import - -## PreferLocalDbConnectionString - -When using Umbraco Deploy with Umbraco Cloud, a development database is automatically created when restoring a project into a local environment for the first time. - -For Umbraco 10, by default, a SQLite database is created. - -If you would prefer to use SQL Server LocalDb when it's available on your local machine, set this value to `true`. If LocalDB isn't reported as being available by Umbraco, it will fallback to using a SQLite database instead. - -```json -"PreferLocalDbConnectionString": true -``` - -## MediaFileChecksumCalculationMethod {#media-file-checksum-calculation-method} - -Deploy will do comparisons between the entities in different environments to determine if they match and decide whether to include them in the operation. By default, for media files, a check is made on a portion of the initial bytes of the file. - -This corresponds to the default setting of `PartialFileContents`. - -If a lot of files need to be checked, this can be slow, and a faster option is available that uses the file metadata. The only downside of changing this option is a marginally increased chance of Deploy considering a media file hasn't changed when it has. This would omit it from the deployment. - -To use this method, set the value to `Metadata`. - -## NumberOfSignaturesToUseAllRelationCache {#number-of-signatures-to-use-all-relation-cache} - -When reviewing a set of items for a deployment operation, Deploy will retrieve and include relations. It does this either via single database lookups, or by bringing all relations into memory in one step, and retrieving them from there. - -For small deployment operations, the former is the more optimal approach. It gets slow though when the number of items being transferred is large. - -The cut-off before switching methods is set by this configuration value, and it defaults to an operation size of `100` items. - -## SuppressCacheRefresherNotifications - -When a Deploy operation completes, cache refresher notifications are fired. These are used to update Umbraco's cache and search index. - -In production this setting shouldn't be changed from it's default value of `false`, to ensure these additional data stores are kept up to date. - -If attempting a one-off, large transfer operation, before a site is live, you could set this value to `true`. That would omit the firing and handling of these notifications and remove their performance overhead. Following which you would need to ensure to rebuild the cache and search index manually via the backoffice _Settings_ dashboards. - -## ResolveUserInTargetEnvironment - -With this setting assigned a value of `true`, Umbraco Deploy will attempt to resolve users when transfers are made to new environments. - -Users and user groups are maintained separately in different environments, so it isn't always the case that an editor has accounts across all environments. When an account exists matching by email address, Deploy will associate the changes made in upstream environments with the user that initiated the transfer. Allowing the expected information about save and publish operations to be available in the audit log of the environment where the data was transferred. - -When the setting is set to `false`, or a matching account isn't found, the audit records will be associated with the super-user administrator account. diff --git a/10/umbraco-deploy/getting-started/get-started-with-deploy.md b/10/umbraco-deploy/getting-started/get-started-with-deploy.md deleted file mode 100644 index c5b53b4abfc..00000000000 --- a/10/umbraco-deploy/getting-started/get-started-with-deploy.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -description: How does Umbraco Deploy work and how to get started using Umbraco Deploy ---- - -# Getting started - -In this article you can learn more about what it takes to get started using Umbraco Deploy. You can also get a high-level overview of how the product works. - -## How Umbraco Deploy works - -Umbraco Deploy works by serializing non-content Umbraco items (called “Schema” items) to disk. These serialized files are located in the `/umbraco/Deploy/Revision` folder at the root of your website. - -These items are entities like Document Types, Media Types, Data Types, etc, and these files must be committed to source control (for example Git). Umbraco Deploy works by “extracting” this serialized information back into your Umbraco installation. This is done by deployment triggers when a deployment is sent to a target environment. - -For example, when working locally you might create a new Document Type. This will automatically create a new on-disk file in the `umbraco/Deploy/Revision` folder which is the serialized version of the new Document Type. You would then commit this file to your repository and push this change to your hosted source control (for example GitHub). - -When you want this deployed to your next environment, you would trigger your CI/CD process (for example Azure DevOps or GitHub Actions). This will push the changes to your environment. Once the build deployment completes successfully, a Deployment Trigger would be executed as an HTTPS request to your target environment. All changes found in the `umbraco/Deploy/Revision` folder will then be extracted into the Umbraco target environment. - -![Deploy workflow](../images/Deploy_concept%20(1).png) - -## [Quick start (new sites)](../installation/install-configure.md) - -There are three main steps you need to go through in order to start using Umbraco Deploy on your website. - -1. [Set up Git repository and new Umbraco project](../installation/install-configure.md#prerequisites) - * Set up a repository and then install a new Umbraco project inside it. -2. [Install Umbraco Deploy via NuGet](../installation/install-configure.md#installing-and-configuring-umbraco-deploy) - * Umbraco Deploy can be installed via NuGet. -3. [Configure CI/CD build server](../getting-started/cicd-pipeline/) - * Umbraco Deploy needs a CI/CD build server needs to be set up to run when you want changes to be deployed to next upstream environment diff --git a/10/umbraco-deploy/getting-started/images/Build-server-clean.png b/10/umbraco-deploy/getting-started/images/Build-server-clean.png deleted file mode 100644 index e20e5e6b8a8..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Build-server-clean.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Build-server.png b/10/umbraco-deploy/getting-started/images/Build-server.png deleted file mode 100644 index 50cc11843e4..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Build-server.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deploy-operation.png b/10/umbraco-deploy/getting-started/images/Deploy-operation.png deleted file mode 100644 index f14079eafd2..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deploy-operation.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deploy-section.png b/10/umbraco-deploy/getting-started/images/Deploy-section.png deleted file mode 100644 index 1a4bed94f20..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deploy-section.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1) (1) (1).png b/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1) (1) (1).png deleted file mode 100644 index 3f74a18335e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1) (1).png b/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1) (1).png deleted file mode 100644 index 3f74a18335e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1).png b/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1).png deleted file mode 100644 index 3f74a18335e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deploying-meta-data (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deploying-meta-data.png b/10/umbraco-deploy/getting-started/images/Deploying-meta-data.png deleted file mode 100644 index 3f74a18335e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deploying-meta-data.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deployment-center (1) (1) (1).png b/10/umbraco-deploy/getting-started/images/Deployment-center (1) (1) (1).png deleted file mode 100644 index f47e12edd19..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deployment-center (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deployment-center (1) (1).png b/10/umbraco-deploy/getting-started/images/Deployment-center (1) (1).png deleted file mode 100644 index f47e12edd19..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deployment-center (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deployment-center (1).png b/10/umbraco-deploy/getting-started/images/Deployment-center (1).png deleted file mode 100644 index f47e12edd19..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deployment-center (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Deployment-center.png b/10/umbraco-deploy/getting-started/images/Deployment-center.png deleted file mode 100644 index f47e12edd19..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Deployment-center.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/Generated-uda-files.png b/10/umbraco-deploy/getting-started/images/Generated-uda-files.png deleted file mode 100644 index a203c104ab6..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/Generated-uda-files.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/deployment-acivity-complete.png b/10/umbraco-deploy/getting-started/images/deployment-acivity-complete.png deleted file mode 100644 index 3e5e6a82254..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/deployment-acivity-complete.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/deployment-activity-log.png b/10/umbraco-deploy/getting-started/images/deployment-activity-log.png deleted file mode 100644 index 8e339c471c8..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/deployment-activity-log.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/deployment-complete (1) (1) (1).png b/10/umbraco-deploy/getting-started/images/deployment-complete (1) (1) (1).png deleted file mode 100644 index ee12f34a23a..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/deployment-complete (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/deployment-complete (1) (1).png b/10/umbraco-deploy/getting-started/images/deployment-complete (1) (1).png deleted file mode 100644 index ee12f34a23a..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/deployment-complete (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/deployment-complete (1).png b/10/umbraco-deploy/getting-started/images/deployment-complete (1).png deleted file mode 100644 index ee12f34a23a..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/deployment-complete (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/deployment-complete.png b/10/umbraco-deploy/getting-started/images/deployment-complete.png deleted file mode 100644 index ee12f34a23a..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/deployment-complete.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1) (1).png b/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1) (1).png deleted file mode 100644 index 2c929784cdc..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1) (2).png b/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1) (2).png deleted file mode 100644 index 2c929784cdc..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1) (2).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1).png b/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1).png deleted file mode 100644 index 2c929784cdc..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1).png b/10/umbraco-deploy/getting-started/images/test-UDA (1) (1).png deleted file mode 100644 index 2c929784cdc..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/test-UDA (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/test-UDA (1).png b/10/umbraco-deploy/getting-started/images/test-UDA (1).png deleted file mode 100644 index 2c929784cdc..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/test-UDA (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/test-UDA.png b/10/umbraco-deploy/getting-started/images/test-UDA.png deleted file mode 100644 index 2c929784cdc..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/test-UDA.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/workflow-preview.png b/10/umbraco-deploy/getting-started/images/workflow-preview.png deleted file mode 100644 index 78a9a74b67a..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/workflow-preview.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/workflows (1) (1) (1).png b/10/umbraco-deploy/getting-started/images/workflows (1) (1) (1).png deleted file mode 100644 index 2d7956e4a0e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/workflows (1) (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/workflows (1) (1).png b/10/umbraco-deploy/getting-started/images/workflows (1) (1).png deleted file mode 100644 index 2d7956e4a0e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/workflows (1) (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/workflows (1).png b/10/umbraco-deploy/getting-started/images/workflows (1).png deleted file mode 100644 index 2d7956e4a0e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/workflows (1).png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/images/workflows.png b/10/umbraco-deploy/getting-started/images/workflows.png deleted file mode 100644 index 2d7956e4a0e..00000000000 Binary files a/10/umbraco-deploy/getting-started/images/workflows.png and /dev/null differ diff --git a/10/umbraco-deploy/getting-started/streamlining-local-development.md b/10/umbraco-deploy/getting-started/streamlining-local-development.md deleted file mode 100644 index de18c3fe6aa..00000000000 --- a/10/umbraco-deploy/getting-started/streamlining-local-development.md +++ /dev/null @@ -1,35 +0,0 @@ -# Streamlining Local Development - -In this section we discuss some additional steps you can carry out to streamline your local development workflow. - -## Creating Git Hooks - -Working in a team, it's common for developers to pull code from source control to update their local environment with the latest Umbraco schema. - -They can do this by starting up the website, navigating to the _Settings > Deploy_ dashboard and triggering a data extraction. - -We can automate this step using a [git hook](https://www.atlassian.com/git/tutorials/git-hooks). - -When working with Umbraco Cloud, this step is configured automatically for you when you clone and run your project the first time. If working with Umbraco Deploy On-Premise, you can set it up yourself. - -The process works by using the marker file Umbraco Deploy uses to trigger an update of the Umbraco schema from the `.uda` files from source control. - -If a file named `deploy-on-start` is found in the `/umbraco/Deploy` folder, an update will run automatically when the site starts up. - -Therefore, if we ensure that the file is created everytime the source code is pulled from the remote repository, we can automate the update. - -To do this, carry out the following steps: - -* Find the `.git` folder within your solution root. - * It might be a hidden folder, so if you don't see it, make sure your file browser is configured to show hidden files and folders. -* Within that you'll find a `hooks` folder, and inside that, a file called `post-merge.sample`. -* Rename the file to remove the `.sample` extension and open it in a text editor. -* Apply the following text and save the file (amending the path to the web project as appropriate for your solution structure): - -``` -#!/bin/sh -echo > src/UmbracoProject/umbraco/Deploy/deploy-on-start -``` - -* Run a `git pull origin `. -* Start up the website and you should find the Umbraco schema update has been triggered. diff --git a/10/umbraco-deploy/images/Deploy_concept (1).png b/10/umbraco-deploy/images/Deploy_concept (1).png deleted file mode 100644 index 2b371aa8687..00000000000 Binary files a/10/umbraco-deploy/images/Deploy_concept (1).png and /dev/null differ diff --git a/10/umbraco-deploy/images/Deploy_concept.png b/10/umbraco-deploy/images/Deploy_concept.png deleted file mode 100644 index 2b371aa8687..00000000000 Binary files a/10/umbraco-deploy/images/Deploy_concept.png and /dev/null differ diff --git a/10/umbraco-deploy/images/clear-cached-sigs.png b/10/umbraco-deploy/images/clear-cached-sigs.png deleted file mode 100644 index e55f3753ddb..00000000000 Binary files a/10/umbraco-deploy/images/clear-cached-sigs.png and /dev/null differ diff --git a/10/umbraco-deploy/images/export-schema.png b/10/umbraco-deploy/images/export-schema.png deleted file mode 100644 index 09355cb6fb1..00000000000 Binary files a/10/umbraco-deploy/images/export-schema.png and /dev/null differ diff --git a/10/umbraco-deploy/images/licenses-screen.png b/10/umbraco-deploy/images/licenses-screen.png deleted file mode 100644 index 034ab1de85e..00000000000 Binary files a/10/umbraco-deploy/images/licenses-screen.png and /dev/null differ diff --git a/10/umbraco-deploy/images/schema-mismatch-on-transfer.png b/10/umbraco-deploy/images/schema-mismatch-on-transfer.png deleted file mode 100644 index 575a93ac732..00000000000 Binary files a/10/umbraco-deploy/images/schema-mismatch-on-transfer.png and /dev/null differ diff --git a/10/umbraco-deploy/images/set-cached-sigs.png b/10/umbraco-deploy/images/set-cached-sigs.png deleted file mode 100644 index fb1ff4ee178..00000000000 Binary files a/10/umbraco-deploy/images/set-cached-sigs.png and /dev/null differ diff --git a/10/umbraco-deploy/installation/install-configure.md b/10/umbraco-deploy/installation/install-configure.md deleted file mode 100644 index 5be93d10deb..00000000000 --- a/10/umbraco-deploy/installation/install-configure.md +++ /dev/null @@ -1,232 +0,0 @@ ---- -description: >- - In this article, we will cover the steps in order for you to install and - configure Umbraco Deploy on a new or existing website. ---- - -# Installing Umbraco Deploy - -## Prerequisites - -Ensure to first read and follow the setup guides for either new or existing projects below: - -
- -New project - -Here we will cover how to install and set up Umbraco Deploy on a new website. - -**Requirement** - -* Visual Studio 2017 v15.9.6 or later -* Umbraco Deploy license -* SQL Server Database - -**Set up the Git repository and Umbraco project** - -The first step to get Umbraco Deploy up and running is to set up a GitHub repository. This will be where source code is stored, and, following the GitHub Actions example, act as our environment where we will set up a CI/CD pipeline. - -1. Using the Visual Studio template, set up a GitHub repository with a .gitignore file. -2. Clone down the repository to your local machine. -3. Create a new Umbraco project. -4. Run the project. -5. Choose to use a custom SQL connection string pointing to your local database. -6. Commit the files so they are ready to be pushed up once we have set up the build server. - -When Umbraco has been installed in a repository, we can continue to install and configure Umbraco Deploy in the project. - -
- -
- -Existing project - -Here we will cover the steps in order for you to install Umbraco deploy on your already existing website with content. - -We will cover how to install and set up Umbraco deploy on your website and how to generate the UDA files based on your production website's database. - -**Requirement** - -* Visual Studio 2017 v15.9.6 or later -* Umbraco Deploy license -* Copy of your production site's database -* Copy of views, CSS, and scripts folder from production - -**Step 1: Install Umbraco Deploy on Existing site** - -To install Umbraco Deploy on an existing site there are additional steps that need to be taken so Umbraco Deploy can run with your website. On an existing Umbraco website, there is already a set of Document Types, Templates, and Data Types with IDs in the database. In order for Umbraco Deploy to work with your website, you will need to make sure that these IDs are in sync between the different environments that you want to add to your setup. - -1. Make a copy of the database on the production site. -2. Download your `/Views` folder as well as the folders holding your css files and scripts. - -When the production database, folder, and files have been copied down, it's time to set up a git repository and a new Umbraco project. - -**Step 2: Set up Git repository and Umbraco project** - -The next step to get Umbraco Deploy up and running is to set up a repository and install Umbraco into it. - -1. Set up a repository with a .gitignore file using the Visual Studio template. -2. Clone down the repository to your local machine. -3. Create a new Umbraco project. -4. Use the copy of your production Database when setting up the database for the empty project. -5. Add the `/Views` folder as well as the folders holding your css files and scripts. -6. Commit the files so they are ready to be pushed up once you have set up the build server. -7. Run the project. - -When Umbraco has been installed in a repository, we can continue to install and configure Umbraco Deploy in the project. - -
- -## Source Control Configuration - -After the Umbraco files have been committed add the following lines to the .gitignore so that they will not be picked up by Git when we are deploying. - -``` -**/media/* - -# Umbraco deploy specific -**/umbraco/Deploy/deploy* -``` - -{% hint style="info" %} -The deploy-specific update here will ensure that temporary files generated by Deploy during its operations will not be included in source control. -{% endhint %} - -Make sure that the updates to the .gitignore file are also committed. - -## Installing and Configuring Umbraco Deploy - -When Umbraco has been installed in a repository, we can install Umbraco Deploy in the project. - -To install Umbraco Deploy, run `dotnet add package Umbraco.Deploy.OnPrem` from the command line or `Install-Package Umbraco.Deploy.OnPrem` from the package manager console in Visual Studio. - -{% hint style="info" %} -To be able to use Umbraco Forms with Umbraco Deploy, you need to install the `Umbraco.Deploy.Forms` package as well. -{% endhint %} - -{% hint style="info" %} -In order to deploy content based on certain rich core and community property editors - including Multi URL Picker and Block List Editor - there is one further NuGet package to install: `Umbraco.Deploy.Contrib`. -{% endhint %} - -When Umbraco Deploy has been installed, to be able to use it in the project you will need to create and add configuration for an API key. - -The API key should be a **randomly generated string of 64 characters (recommended)**. The minimum requirement is 10 characters. - -You can use the following C# code to generate the API key: - -```csharp -using System; -using System.Security.Cryptography; - -byte[] secret = new byte[32]; -RandomNumberGenerator.Create().GetBytes(secret); - -var apiKey = new StringBuilder(secret.Length * 2); -for (int i = 0; i < secret.Length; i++) -{ - apiKey.AppendFormat("{0:X2}", secret[i]); -} - -Console.Write(apiKey.ToString()); -``` - -Or by running the following PowerShell command: - -```pwsh -$secret = [byte[]]::new(32); [System.Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($secret); return -join ($secret | %{ '{0:X2}' -f $_ }) -``` - -This same Deploy API key must be used on each environment for the same website. - -{% hint style="info" %} -We strongly recommend generating different keys for different websites/projects. -{% endhint %} - -The key should be applied in `appsettings.json`. - -```json -{ - "Umbraco": { - "Deploy": { - "Settings": { - "ApiKey": "", - } - } - } -} -``` - -#### Configuring Environments - -Once the API key has been added, it is now time to configure the environments, also in the `appsettings.json` file. - -An example configuration with a single upstream environment file will look like this: - -```json -{ - "Umbraco": { - "Deploy": { - "Settings": { - "ApiKey": "" - }, - "Project": { - "CurrentWorkspaceName": "Live", - "Workspaces": [ - { - "Id": "efef5e89-a19b-434b-b68a-26e022a0ad52", - "Name": "Live", - "Type": "live", - "Url" :"https://localhost:44307" - } - ] - } - } - } -} -``` - -The setting under _Project:CurrentWorkspaceName_ should match the _Name_ provided in the list of _Workspaces_ that match the current environment. Using this Umbraco Deploy will indicate the correct current environment on the "Workspaces" dashboard. - -{% hint style="info" %} -In Umbraco Deploy 9, this value was set using the configuration key _Debug:EnvironmentName_. Although included under a "Debug" section, this setting is required for the installations of Umbraco Deploy on-premises (i.e. other than on Umbraco Cloud). Hence why it was moved to the "Project" section in Umbraco Deploy 10. -{% endhint %} - -Expected values for _Type_ are "development", "staging" or "live". These settings are required, though strictly only for the latter is it necessary to use the specific value of "live", so other values can be used if you have more than these three environments. - -You will need to generate a unique GUID for each environment. This can be done in Visual Studio: - -1. Open "Tools". -2. Select "Create GUID". -3. Use the Registry Format. -4. Copy the GUID into the `id` value. -5. Generate a "New GUID" for each environment you will be adding to your setup. - -Or by running the following PowerShell command: - -```pwsh -[guid]::NewGuid().ToString() -``` - -The URL configured for each environment should be the root URL for the website and needs to be accessible by the other environments over **HTTPS**. - -#### Validating Source Control - -Once the configuration has been set up with the correct information we can now go ahead and make sure that the source control is including our files in the `/umbraco/Deploy` folder of our Umbraco project. - -This can be done by going to the `/umbraco/Deploy/Revision` folder of the project and create a test `.uda` file, and then check in either your Git GUI or in the command line and verify whether the test file is being tracked. - -![Test UDA file](<../../../13/umbraco-deploy/getting-started/images/test-UDA (1) (1) (1).png>) - -We can see that the file has been created and it is being tracked by Git and we can go ahead and delete the test file. - -Now that Umbraco Deploy has been installed on the project, we can go ahead and commit the files to the repository. - -**Do not push the files up yet** as a CI/CD build server will first need to be set up and connected to our repository. - -#### Include your Umbraco Deploy license file - -Before moving on to setting up the build server, make sure that your license is included in your project. - -The file needs to be placed in the `/umbraco/Licenses` folder. - -Read more about the [Umbraco Deploy licensing model](the-licensing-model.md). diff --git a/10/umbraco-deploy/installation/the-licensing-model.md b/10/umbraco-deploy/installation/the-licensing-model.md deleted file mode 100644 index ec00a97c81e..00000000000 --- a/10/umbraco-deploy/installation/the-licensing-model.md +++ /dev/null @@ -1,80 +0,0 @@ -# The Licensing Model - -Umbraco Deploy is a commercial product. You will need a **valid license** to use the product. - -## How does it work? - -Licenses are sold per domain and will also work on all subdomains. With every license, you will also be able to configure two development/testing domains. - -{% hint style="info" %} -The licenses are not bound to a specific product version. They will work for all versions of the related product. -{% endhint %} - -### Example - -Let's say that you have a license configured for your domain, `mysite.com`, and you've configured two development domains, `devdomain.com` and `devdomain2.com`. - -The license will cover the following domains: - -* `localhost` -* `*.mysite.com` -* `www.mysite.com` -* `mysite.com.local` -* `devdomain.com` -* `www.devdomain.com` -* `devdomain2.com` -* `www.devdomain2.com` - -{% hint style="info" %} -You can have only 1 license per Umbraco installation. -{% endhint %} - -## What does a license cover? - -There are a few differences as to what the licenses cover: - -A single license covers one Umbraco solution. It includes all domains hosted by the solution, all production environments (if load-balancing), and all non-production environments. - -To clarify the above: - -* You only need one license when you have a solution covering multiple domains- for example, www.mysite.com and www.mysite.dk - load balanced in production over multiple servers running from the same database, managed from the same backoffice instance, and with any number of non-production environments (staging, QA, etc.) -* You need two licenses if you have a web presence that consists of two separate websites hosted on different domains or sub-domains - for example, www.mysite.com and shop.mysite.com - with each of these managed as a separate Umbraco installation using their own database and backoffice in production. - -{% hint style="info" %} -The license for Umbraco Deploy comes with a recurring yearly fee. Learn more about this and pricing on [Umbraco.com](https://umbraco.com/products/umbraco-deploy/). -{% endhint %} - -## Configuring your license - -You can look at the pricing, plans, features, and purchase the license on the [Umbraco Deploy On-premises](https://umbraco.com/products/add-ons/deploy/umbraco-deploy-on-premises/) page. - -When you've bought a license you need to configure it with your domains. You can either configure your license right away, or you can do it later by visiting your account on Umbraco.com. - -## Installing your license - -Once you've configured your license with the correct domains, you are ready to install the license on your Umbraco installation. - -1. Download your license from your Umbraco.com account - this will give you a `.lic` file -2. Place the file in the `/umbraco/Licenses` directory in your Umbraco installation - -The `.lic` file must be placed in the `/umbraco/Licenses` directory in order to be registered by Umbraco Deploy. - -## Alternative license location - -If you can't include the license file in the `/umbraco/Licenses` directory for any reason it is possible to configure an alternative location for the file. - -It can be configured in the Umbraco installation's `appSettings.json` file by adding the following appSetting. The value contains the path of your custom license directory relative to the root of your Umbraco installation. - -{% hint style="warning" %} -This will also change the location for other Umbraco-related licenses in this project. -{% endhint %} - -```json -{ - "Umbraco": { - "Licensing": { - "Directory": "~/custom-licenses-folder/" - } - } -} -``` diff --git a/10/umbraco-deploy/legacy-documentation.md b/10/umbraco-deploy/legacy-documentation.md deleted file mode 100644 index b2eaeca6ee7..00000000000 --- a/10/umbraco-deploy/legacy-documentation.md +++ /dev/null @@ -1,7 +0,0 @@ -# Legacy Documentation - -This documentation platform covers only major versions of the Umbraco Deploy since Umbraco 9+. If you are using an older version of Umbraco Deploy, you will need to go elsewhere. - -The documentation for Umbraco 7 and 8 lives on [our.umbraco.com](https://our.umbraco.com/documentation/Add-ons/). - -
Umbraco 11 Documentationhttps://github.com/umbraco/UmbracoDocs/blob/umbraco-eol-versions/11/umbraco-deploy/release-notes.md
Umbraco 8 Documentationhttps://our.umbraco.com/documentation/Add-ons/Umbraco-Deploy/
diff --git a/10/umbraco-deploy/release-notes.md b/10/umbraco-deploy/release-notes.md deleted file mode 100644 index 6f8f3a19b98..00000000000 --- a/10/umbraco-deploy/release-notes.md +++ /dev/null @@ -1,558 +0,0 @@ ---- -description: >- - Get an overview of the things changed and fixed in each version of Umbraco - Deploy. ---- - -# Release notes - -In this section we have summarised the changes to Umbraco Deploy and [Deploy Contrib](https://github.com/umbraco/Umbraco.Deploy.Contrib) released in each version. Each version is presented with a link to the [Deploy issue tracker](https://github.com/umbraco/Umbraco.Deploy.Issues/issues) showing a list of issues resolved in the release. We also link to the individual issues themselves from the detail. - -If there are any breaking changes or other issues to be aware of when upgrading they are also noted here. - -{% hint style="info" %} -If you are upgrading to a new major version you can find the details about the breaking changes in the [version specific updates](upgrades/version-specific.md) article. -{% endhint %} - -## Release History - -This section contains the release notes for Umbraco Deploy 4 and 10 including all changes for these versions. For each major version, you can find the details about each release. - -#### [10.4.1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.4.1) (November 29th 2024) - -* Add `[DisableRequestSizeLimit]` attribute to `UploadForImport` endpoint to remove application request size limit (server/infrastructure restrictions may still apply) -* Fixed issue where content was not saved when transferring variant content with a release date -* Support flexible environments on Umbraco Cloud (remove requirement for environment types to be Development, Staging or Live) -* Update documentation links in management dashboard to include major version in the URL - -#### [10.4.0](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.4.0) (March 19th 2024) - -* All items from 10.4.0-rc1 -* Fixed issue with transfer of date values within Nested Content, Block List or Block Grid properties [#209](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/209) -* Back-ported fix where templates could incorrectly cause schema mismatch errors when running in production mode. Although runtime modes aren't available in Umbraco 8, we ensure that the template `.uda` files are correctly processed by always setting the template path. [#187](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/187) -* Fixed issue where importing invalid variant property data would cause a not supported variation exception [#8](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/8) -* Fixed deserialization issue causing problems with the compare content feature [#212](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/212) - -#### [10.4.0-rc1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.4.0) (March 5th 2024) - -* Add `IArtifactTypeResolver` to allow custom type resolving when deserializing to `IArtifact` (used by Deploy Contrib, see PR [#60](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/61)) -* Add base migrators for importing legacy artifacts (used by Deploy Contrib) -* Restored ability to overwrite content properties with empty values -* Improved error UX and messaging to only show technical detail option if available -* Require a valid license when importing - -#### [10.3.4](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.3.4) (February 20th 2024) - -* Removed the no-longer supported "live edit" feature (Deploy on Cloud only). -* Fixed issue where the removal of a master template couldn't be deployed [#201](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/201) -* Ensured configuration for behavior following a "path too long" exception is respected for handling image cropper values [#200](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/200) -* User experience and message improvements on content flow exception [#202](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/202) -* Fixed issue with transfer of empty values to overwrite non-empty ones. - -#### [10.3.3](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.3.3) (January 16th 2024) - -* Added configurable option to avoid overwriting of dictionary items with empty values [#191](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/191) - * For more details see the page on [Deploy's settings](getting-started/deploy-settings.md). -* Fixed regression issue with transfer of date values. - -#### [10.3.2](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.3.2) (January 9th 2024) - -* Fixed issue with transfer of content using language variants [#193](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/193) - -#### [10.3.1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.3.1) (December 21th 2023) - -* Fixes the display of the selected schedule date on queue for transfer. -* Fixes parsing property values within Nested Content and Block List that were previously saved by the Contrib value connectors. -* Fixed incorrectly including media files in export when 'Content files' wasn't selected. -* Add maximum file size validation to import file upload. - -#### [10.3.0](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.3.0) (December 11th 2023) - -* All items from 10.3.0-rc1. -* Fixed a regression in 10.3.0-rc1 where content restore/transfers didn't use the same JSON converters when deserializing Deploy artifacts. -* Fixed permissions not being correctly set for administrators on initial install. -* Moved permissions from the Content to a new Deploy category (only affecting the UI). -* Add support for migrating property values within Nested Content, Block List and Block Grid, and include Multi URL Picker value connector (an explicit value connector binding is used to override the ones provided in Deploy Contrib). -* Added new configuration option of `TrashedContentDeploymentOperations` to allow exporting/importing of trashed content, ensuring referenced content in the recycle bin isn't exported by default and otherwise imports back into the recycle bin. -* Changed the default value connector to use the property storage type, instead of using custom value prefixes to store the object type. - -#### [10.3.0-rc1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.3.0) (November 27th 2023) - -* Added feature of [content import and export with migrations](deployment-workflow/import-export.md). -* Added a new configuration option of `ResolveUserInTargetEnvironment` to allow resolving of user accounts in target environments (see [Deploy Settings](getting-started/deploy-settings.md)). -* Added a new configuration option of `AllowPublicAccessDeploymentOperations` to amend the behavior of public access rule transfer (see [Deploy Settings](getting-started/deploy-settings.md)). -* Improve performance of publishing multi-language content during restore/transfer and import. - -#### [10.2.7](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.7) (**November 14th 2023**) - -* Fixed action menu for queue for transfer with list view [#185](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/185). - -#### [10.2.6](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.6) (October 17th 2023) - -* Fixed issue with deployment of content when scheduled for a future release date. -* Prevent dictionary items from being serialized to `.uda` files on disk when configured for transfer as content [#184](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/184). - -#### [10.2.5](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.5) (October 10th 2023) - -* Fixed regression issue introduced in 10.2.4 with deployment of properties of content templates [#182](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/182) - -#### [10.2.4](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.4) (September 19th 2023) - -* Updated the transfer of user picker values to resolve the user by username in the target environment [#180](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/180) -* Also updated the logic for the member picker to ensure values representing members that don't exist in the target environment are cleared. -* Added configuration option to ignore missing languages when deploying translation items [#176](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/176) -* Ensured consistent sort of translations within dictionary items `.uda` files [#175](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/175) -* Ensured that alt text for images placed in grid cells are transferred [#174](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/174) -* Further fix to logic for creating redirects on content deployment for variant content [#170](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/170) -* Resolves issue with grid media items in a batched deployment operation. -* Increased size of database fields storing references to account for longer values used in package data [Commerce #428](https://github.com/umbraco/Umbraco.Commerce.Issues/discussions/428) -* Include published name in content transfer data to avoid overwriting with draft name if different. -* Optimized content transfers to include only draft and published versions when they exist. -* Fixed issue with partial restore of forms [#178](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/178) - -#### [10.2.3](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.3) (August 1st 2023) - -* Ensured that schema files are updated on entity container renames [#171](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/171). -* Fixed issue with processing of marker files on Linux [#169](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/169). -* Corrected logic for creating redirects on content deployment for variant content. -* Ensured consistent rendering of trailing zeros when using the rounded decimal converter. -* Reduced some logging to debug to reduce noise in log files. - -#### [10.2.2](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.2) (May 30th 2023) - -* Resolved a low impact security issue found in internal testing when triggering a schema extraction. - -#### [10.2.1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.1) (May 23rd 2023) - -* Added configuration for batch package processing and omitting post operation notification handlers. -* Handled use of trailing slash in configured environment URLs. -* Added sort option for the "is up to date" column in the schema comparison [#165](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/165). -* Ensured artifacts serialized to disk are no longer processed when the entity is configured to be transferred as content. -* Handled updates to serialized document types on deletion of data types. - -#### [10.2.0](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.2.0) (April 11th 2023) - -* Restricted languages available to editors when deploying variant content to those allowed via the user permissions for languages. -* Tidied up the Deploy dialogs for transfer, compare and restore to align with CMS conventions and remove redundant options. -* Added a database lock to the persistent transfer queue, removing any risk of concurrency issues when adding or removing items from the queue. -* Added support for new form properties introduced in the most recent minor release of Forms 11. [#161](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/161) - -#### [10.1.4](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.1.4) (March 21st 2023) - -* Fixed issue with transfer of form workflow's "sensitive data" property. [#159](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/159) -* Fixed issue with datatype not found on cache rebuild [#157](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/157) -* Resolved issue with progress bar initialization on partial restore dialog -* Handled file not found issue when calculating media file checksum using file metadata -* Avoided exception triggered by custom tree implementations that do not expose an alias [#160](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/160) - -#### [10.1.2](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.1.2) (November 15th 2022) - -* Added batch settings option providing resolution to large content or media transfers hitting Azure service limit [#128](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/128) - -#### [10.1.1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.1.1) (October 18th 2022) - -* Resolved issue with media restore when database items exist and files don't (backport fix to V4) [#123](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/123) -* Fixed issue with use of HTTP timeout setting (V9+) - -#### [10.1.0](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.1.0) (September 7th 2022) - -* Introduced and used caching in deploy operations to improve performance. -* Increased default and added setting for disk operation timeouts [#135](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/135) -* Single language content transfers [#132](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/132) -* Scheduled content transfers. -* Corrected transfer of unpublished content status [#131](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/131) -* Improved UX and descriptions in backoffice settings dashboard [#118](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/118) -* Added ability to download Deploy artifacts (.uda files) as a zip archive from the management dashboard. -* Added sort options to the schema comparison view in the management dashboard [#115](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/115) -* Indented the JSON representation of Data Type configuration details in the .uda files for ease of review [#85](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/85) -* Fixed issue with transfer of Forms prevalue sources from text files that include captions. -* Ensured Document Type validation messages are transferred between environments [#137](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/137) -* Fixed issue with scheduled publish date being time shifted on deployments when source and target servers are running in different timezones. -* Fixed issue with transfer for members of a given type (V10 only) [#139](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/139) - -#### [10.0.3](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.3) (August 16th 2022) - -* Aligned Git URL displayed in backoffice with that in Cloud Portal (V4 only) [#136](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/136) -* Fixed issue with deployment of root node value for Umbraco Forms's "save as Umbraco node" workflow [#133](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/133) -* Fixed incorrect availability of workspace restore in production environment (V9 and V10 only) -* Added close button to "Transfer now" dialog -* Resolved registration of deployable types to support configuration for "backoffice edition". - -#### [10.0.2](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.2) (July 12th 2022) - -* Resolved issue with media restore when database items exist and files don't [#123](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/123) -* Added details of failed deployment to deploy dashboard [#120](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/120) -* Added copy button for deploy log in the backoffice [#121](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/121) -* Fixed typo in UI [#113](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/113) -* Ensured signature refresh on Data Type move into or out of folder [#125](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/125) -* Fixed selection of workspace for compare dialog -* Optimized existence checks in connectors -* Restore missing partial restore option in content and media tree roots (V9+) -* Fixed extract trigger URL in PowerShell script distributed with Deploy On-Premise (V9+) -* Improved deserialization of exceptions for clearer reporting (V9+) - -#### [10.0.1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.1) (June 29th 2022) - -* Fixed issue with deployment of content using variant properties [#126](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/126) - -#### [10.0.0](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F10.0.0) (June 16th 2022) - -* Compatibility with .NET 6 and Umbraco 10 - -
- -Version 4 - -[**4.10.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.10.0) **(March 19th 2024)** - -* All items from 4.10.0-rc1 -* Fixed issue with transfer of date values within Nested Content, Block List or Block Grid properties [#209](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/209) -* Fixed issue where templates could incorrectly cause schema mismatch errors when running in production mode [#187](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/187) -* Fixed issue where importing invalid variant property data would cause a not supported variation exception [#8](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/8) -* Fixed deserialization issue causing problems with the compare content feature [#212](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/212) - -[**4.10.0-rc1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.10.0) **(March 5th 2024)** - -* Add `IArtifactTypeResolver` to allow custom type resolving when deserializing to `IArtifact` (used by Deploy Contrib, see PR [#60](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/61)) -* Add base migrators for importing legacy artifacts (used by Deploy Contrib) -* Restored ability to overwrite content properties with empty values -* Improved error UX and messaging to only show technical detail option if available -* Require a valid license when importing -* Remove `Microsoft.Owin.Cors` and `Microsoft.AspNet.Cors` dependencies - -[**4.9.4**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.9.4) **(February 20th 2024)** - -* Removed the no-longer supported "live edit" feature (Deploy on Cloud only). -* Fixed issue where the removal of a master template couldn't be deployed [#201](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/201) -* Ensured configuration for behavior following a "path too long" exception is respected for handling image cropper values [#200](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/200) -* User experience and message improvements on content flow exception [#202](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/202) -* Fixed issue with transfer of empty values to overwrite non-empty ones. - -[**4.9.3**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.9.3) **(January 16th 2024)** - -* Added configurable option to avoid overwriting of dictionary items with empty values [#191](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/191) - * For more details see the page on [Deploy's settings](getting-started/deploy-settings.md). -* Fixed regression issue with transfer of date values. - -[**4.9.2**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.9.2) **(January 9th 2024)** - -* Fixed issue with transfer of content using language variants [#193](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/193) - -[**4.9.1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.9.1) **(December 21th 2023)** - -* Fixes the display of the selected schedule date on queue for transfer. -* Fixes parsing property values within Nested Content and Block List that were previously saved by the Contrib value connectors. -* Fixed incorrectly including media files in export when 'Content files' wasn't selected. -* Add maximum file size validation to import file upload. - -[**4.9.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.9.0) **(December 11th 2023)** - -* All items from 4.9.0-rc1. - -[**4.9.0-rc1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.9.0) **(November 27th 2023)** - -* Added feature of [content import and export with migrations](deployment-workflow/import-export.md). -* Added a new configuration option of `ResolveUserInTargetEnvironment` to allow resolving of user accounts in target environments (see [Deploy Settings](getting-started/deploy-settings.md)). -* Added a new configuration option of `AllowPublicAccessDeploymentOperations` to amend the behavior of public access rule transfer (see [Deploy Settings](getting-started/deploy-settings.md)). - -[**4.8.4**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.8.4) **(October 10th 2023)** - -* Fixed regression issue introduced in 4.8.3 with deployment of properties of content templates [#182](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/182) - -[**4.8.3**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.8.3) **(September 19th 2023)** - -* Updated the transfer of user picker values to resolve the user by username in the target environment [#180](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/180) -* Also updated the logic for the member picker to ensure values representing members that don't exist in the target environment are cleared. -* Added configuration option to ignore missing languages when deploying translation items [#176](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/176) -* Ensured consistent sort of translations within dictionary items `.uda` files [#175](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/175) -* Ensured that alt text for images placed in grid cells are transferred [#174](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/174) -* Further fix to logic for creating redirects on content deployment for variant content [#170](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/170) -* Resolves issue with grid media items in a batched deployment operation. -* Increased size of database fields storing references to account for longer values used in package data [Commerce #428](https://github.com/umbraco/Umbraco.Commerce.Issues/discussions/428) -* Include published name in content transfer data to avoid overwriting with draft name if different. -* Optimized content transfers to include only draft and published versions when they exist. - -[**4.8.2**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.8.2) **(August 1st 2023)** - -* Corrected logic for creating redirects on content deployment for variant content. -* Ensured consistent rendering of trailing zeros when using the rounded decimal converter. -* Reduced some logging to debug to reduce noise in log files. - -[**4.8.1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.8.1) **(May 23rd 2023)** - -* Added configuration for batch package processing and omitting post operation notification handlers. -* Handled use of trailing slash in configured environment URLs. -* Added sort option for the "is up to date" column in the schema comparison [#165](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/165). -* Ensured artifacts serialized to disk are no longer processed when the entity is configured to be transferred as content. -* Handled updates to serialized document types on deletion of data types. - -[**4.8.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.8.0) **(April 11th 2023)** - -* Tidied up the Deploy dialogs for transfer, compare and restore to align with CMS conventions and remove redundant options. -* Added a database lock to the persistent transfer queue, removing any risk of concurrency issues when adding or removing items from the queue. - -[**4.7.4**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.7.4) **(March 21st 2023)** - -* Fixed issue with datatype not found on cache rebuild [#157](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/157) - -[**4.7.3**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.7.3) **(February 21st 2023)** - -* All items listed under the 9.5.3, 10.1.3 and 11.0.1 releases (other than those indicated as only applying to higher versions). - -[**4.7.2**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.7.2) **(November 15th 2022)** - -* Added batch settings option providing resolution to large content or media transfers hitting Azure service limit [#128](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/128) - -[**4.7.1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.7.1) **(October 18th 2022)** - -* Resolved issue with media restore when database items exist and files don't (backport fix to V4) [#123](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/123) -* Fixed issue with use of HTTP timeout setting (V9+) - -[**4.7.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.7.0) **(September 22nd 2022)** - -* Fixed issue with scheduled publish date being time shifted on deployments when source and target servers are running in different timezones. -* Fixed issue with transfer for members of a given type (V10 only) [#139](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/139) -* Introduced and used caching in deploy operations to improve performance. -* Increased default and added setting for disk operation timeouts [#135](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/135) -* Single language content transfers [#132](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/132) -* Scheduled content transfers. -* Corrected transfer of unpublished content status [#131](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/131) -* Improved UX and descriptions in backoffice settings dashboard [#118](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/118) -* Added ability to download Deploy artifacts (.uda files) as a zip archive from the management dashboard. -* Added sort options to the schema comparison view in the management dashboard [#115](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/115) -* Indented the JSON representation of Data Type configuration details in the .uda files for ease of review [#85](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/85) -* Fixed issue with transfer of Forms prevalue sources from text files that include captions. -* Ensured Document Type validation messages are transferred between environments [#137](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/137) - -[**4.6.2**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.6.2) **(August 16th 2022)** - -* Aligned Git URL displayed in backoffice with that in Cloud Portal (V4 only) [#136](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/136) -* Fixed issue with deployment of root node value for Umbraco Forms's "save as Umbraco node" workflow [#133](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/133) -* Fixed incorrect availability of workspace restore in production environment (V9 and V10 only) -* Added close button to "Transfer now" dialog -* Resolved registration of deployable types to support configuration for "backoffice edition". - -[**4.6.1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.6.1) **(July 12th 2022)** - -* Resolved issue with media restore when database items exist and files don't [#123](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/123) -* Added details of failed deployment to deploy dashboard [#120](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/120) -* Added copy button for deploy log in the backoffice [#121](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/121) -* Fixed typo in UI [#113](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/113) -* Ensured signature refresh on Data Type move into or out of folder [#125](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/125) -* Fixed selection of workspace for compare dialog -* Optimized existence checks in connectors -* Restore missing partial restore option in content and media tree roots (V9+) -* Fixed extract trigger URL in PowerShell script distributed with Deploy On-Premise (V9+) -* Improved deserialization of exceptions for clearer reporting (V9+) - -[**4.6.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.6.0) **(April 26th 2022)** - -* Retained compact JSON formatting when transferring grid values -* Enhancements to content comparison dialog [#101](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/101) -* Partial restore for Forms and third-party plugins [#100](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/100) -* Display of configuration information and schema comparison on the deploy "settings" dashboard. -* Deployment of culture & hostname details [#107](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/107) -* Optional, automated clear of memory cache -* Resolved issue with empty value deployment of content based on the tags property editor [#104](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/104) -* Resolved issue with redirect functionality when records are deployed between environments (part of CMS [#10066](https://github.com/umbraco/Umbraco-CMS/issues/10066)) -* Surfaced information about configuration for the ignore of broken dependencies in the dialog that presents the error information -* Fixed a CSS rendering issue for the deploy content dashboard's workspace display, when more than four environments are available. -* Fixed issue with deployment of empty tags data [#104](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/104) - -[**4.5.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.5.0) **(February 15th 2022)** - -* Content comparison dialog [#65](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/65) -* Backoffice deployment of members and member groups. -* Added support for deployment of history clean-up settings on Document Types (V4 only) -* Fixed bug with deployments of templates involving alias renames - -[**4.4.4**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.4.4) **(February 15th 2022)** - -* Fixed content transfer issue when public access login and error pages are created below the protected page [#99](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/99) -* Fixed issue with clashing permission letter for "queue for transfer" menu option (V4 only) [#95](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/95) - -[**4.4.3**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.4.3) **(January 25th 2022)** - -* Fixed ambiguous match exception when deploying forms (V4 only) [#97](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/97) -* Fixed issue with "live edit" component and scheduled publishing (V9 only) [#98](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/98) -* Amends to timing of file operation initialization to ensure third party components complete setup (V9 only). -* Added .NET 6 version of environment variable syntax for Umbraco Cloud configuration settings. - -[**4.4.2**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.4.2) **(December 21st 2021)** - -* Fixed issue with extractions triggered from uda files generated from older versions without property group aliases. [#92](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/92) -* Fixed timing issue for initiation of reading of file system triggers impacting third party Deploy integrations. [#91](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/91) - -[**4.4.1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.4.1) **(December 7th 2021)** - -* Fixed issue relating to deployment of image alt text within the rich text editor. [#87](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/87) - -[**4.4.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.4.0) **(November 2nd 2021)** - -* Separate operations for "tree" and "workspace" restore [#66](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/66) -* Finer configuration options for ignoring broken dependencies [#81](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/81) -* Removed the redundant and misleading deploy operations available on the form "entries" menu item. [#83](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/83) -* Fixed issue with operations involving Form prevalue sources using XPath. [#69​](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/69) -* Fixed issue with restore options when Forms 8.8 is used with form definitions stored on disk. [#76](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/76) -* Improved reliability of extractions triggered from Umbraco Cloud git deployment operations by introducing a new marker file used only on start-up. -* Improved reliability of extractions on new Cloud infrastructure by wrapping and throttling the file system watcher events. -* Fixed issues with styling and scripts on the custom “no content” page displayed when Deploy is used. -* Fixed issue with language deployment when fallbacks are configured. -* Improved the error reporting when authorization fails between environments (V9 only). [#77](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/77) -* Fixed issue with restore of empty tab alias [#84](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/84) - -[**4.3.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.3.0) **(October 7th 2021)** - -* Added support for deployment of CMS tabs and groups -* Fixed issue with JSON detection causing issues using square brackets in grid content [#70](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/70) - -[**4.2.0**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.2.0) **(August 19th 2021)** - -* Added support for deployment of form folders [#75 (Forms)](https://github.com/umbraco/Umbraco.Forms.Issues/issues/75) -* Added support for backoffice transfer of data from custom packages or solutions -* Provided option for deploying dictionary items "as content" [#17](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/17) [#56](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/56) -* List multiple dependency errors when deploying or restoring [#5](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/5) -* Add additional detail about deployment errors into logs [#40](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/40) -* Alter structure of .uda files to put name and alias at the top [#50](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/50) -* Fixed issue with removal of used macro parameter when restoring [#53](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/53) -* Add deep-link to deploy dashboard from transfer queue, so will be shown on click from "open transfer queue" (if CMS version supports deep dashboard links) [#57](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/57) -* Added value connector for new media picker [#58](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/58) -* Added refresh button to queue [#61](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/61) -* Fixed issue with changing casing of template aliases [#63](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/63) -* Added clear signature operation for minor updates of Deploy or CMS -* Fixed issue with forms deployment where workflows are deleted via code. -* Fixed issue with deploying Form prevalues with Forms versions < 8.5 [#23](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/23) - -**4.1.4 (September 7th 2021)** - -* Resolution of issue with failed extractions on vNext infrastructure. - -**4.1.3 (August 3rd 2021)** - -* Resolution of issue with failed extractions on vNext infrastructure. - -[**4.1.1**](https://github.com/umbraco/Umbraco.Deploy.Issues/issues?q=is%3Aissue+is%3Aclosed+label%3Arelease%2F4.1.1) **(April 27th 2021)** - -* Added serialization converter for control of number of decimal places - #465 (internal) -* Resolved issue with deployment of content schedule - #445 (internal) and [#31](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/31) -* Resolved issue with unnecessary empty records being created in destination database - #444 (internal) -* Resolved issue with transfer of content templates when variants are enabled - #385 (internal) -* Resolved issues with content restore progress not updating when custom dashboards are installed - [#39](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/39) and [#47](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/47) -* Resolved issue with deployment of changes to default language - [#32](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/32) -* Resolved issue with deployment of empty values not replacing previously entered content - [#1](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/1) -* Removed "transfer now" button from users that don't have permission to "queue for transfer" - [#25](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/25) -* Added deployment of member only property type properties (e.g. "view on profile") - [#21](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/21) -* Cleared pre-values cache on form deployments - [#43](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/43) -* Ensured datatype move action triggered serialization and allows deployment to target environment - [#10](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/10) -* Resolve UI issue where dialog closes if not accurate on selecting node from target environment for restore - [#4](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/4) - -**4.1.0 (March 25th 2021)** - -* Management dashboard for triggering and viewing status of deployment operations -* Release of Deploy On-Premises - -**4.0.1 (March 23rd 2021)** - -* Enabling Deploy 4 to work in new Cloud infrastructure - -
- -## Deploy Contrib - -#### [10.3.0](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.3.0) (August 15th 2024) - -* All items from 10.3.0-rc1 - -#### [10.3.0-rc1](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.3.0-rc1) (July 19th 2024) - -* Skip empty pre-values [#63](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/63) -* Add DocTypeGridEditor Data Type configuration connector [#65](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/65) - -#### [10.2.0](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.2.0) (March 19th 2024) - -* All items from 10.2.0-rc1 - -#### [10.2.0-rc1](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.2.0-rc1) (March 5th 2024) - -* Add legacy migrators and type resolver to allow importing from Umbraco 7 in [#61](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/61) - -#### [10.1.1](https://github.com/umbraco/Umbraco.Deploy.Contrib) (February 14th 2023) - -* Block grid editor support and fix for null reference exception (10+) -* Further caching for deploy operations. - -#### [10.1.0](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.1.0) (September 7th 2022) - -* Fixed issue with transfer of nested content string values using item templates (which is commencing with "\{{") that were erroneously considered as JSON in [#56](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/56) - -#### [10.1.0-rc001](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.1.0-rc001) (September 7th 2022) - -* Updated connectors to use context cache in [#54](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/54) - -#### [10.0.1](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.0.1) (July 12th 2022) - -* Optimized existence checks in connectors - -#### [10.0.0](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-10.0.0) (June 15th 2022) - -* Updated Deploy and CMS dependencies to v10 - -
- -Version 4 - -[**4.4.0**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.4.0) **(August 15th 2024)** - -* All items from 4.4.0-rc1 - -[**4.4.0-rc1**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.4.0-rc1) **(July 19th 2024)** - -* Skip empty pre-values [#63](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/63) -* Add DocTypeGridEditor Data Type configuration connector [#65](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/65) - -[**4.3.0**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.3.0) **(March 16th 2024)** - -* All items from 4.3.0-rc1 - -[**4.3.0-rc1**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.3.0-rc1) **(March 5th 2024)** - -* Add legacy migrators and type resolver to allow importing from Umbraco 7 in [#61](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/61) - -[**4.2.1**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.2.1) **(February 21st 2023)** - -* Add additional caching using `IContextCache` in [#59](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/59) - -[**4.2.0**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.2.0) **(September 22nd 2022)** - -* Fixed issue with transfer of nested content string values using item templates (which is commencing with "\{{") that were erroneously considered as JSON in [#56](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/56) - -[**4.2.0-rc001**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.2.0-rc001) **(September 7th 2022)** - -* Used caching in value connectors to improve performance. - -[**4.1.3**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.1.3) **(July 12th 2022)** - -* Optimized existence checks in connectors - -[**4.1.2**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.1.2) **(April 26th 2022)** - -* Fixes issue with deployment of nested content properties within Document Type grid editor values in https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/49 (fixes issue [#82](https://github.com/umbraco/Umbraco.Deploy.Issues/issues/82)) - -[**4.1.1**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.1.1) **(February 14th 2022)** - -* Fixes `NullReferenceException` when parsing Block Editor values without settings -* Reduced Nested Content value connector logging level to debug - -[**4.1.0**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.1.0) **(September 17th 2021)** - -* Added in codes for the DTGE (Doc Type Grid Editor) cell value connector in [#39](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/39) - -[**4.0.0**](https://github.com/umbraco/Umbraco.Deploy.Contrib/releases/tag/release-4.0.0) **(May 28th 2021)** - -* Make ToArtifact/FromArtifact virtual in [#47](https://github.com/umbraco/Umbraco.Deploy.Contrib/pull/47) - -
- -## Legacy release notes - -You can find the release notes for versions out of support in the [Legacy documentation on GitHub](https://github.com/umbraco/UmbracoDocs/blob/umbraco-eol-versions/11/umbraco-deploy/release-notes.md) and [Umbraco Deploy Package page.](https://our.umbraco.com/packages/developer-tools/umbraco-deploy/) diff --git a/10/umbraco-deploy/troubleshooting.md b/10/umbraco-deploy/troubleshooting.md deleted file mode 100644 index 43729503878..00000000000 --- a/10/umbraco-deploy/troubleshooting.md +++ /dev/null @@ -1,113 +0,0 @@ ---- -description: The troubleshooting section for Umbraco Deploy ---- - -# Troubleshooting - -In this troubleshooting section, you can find help to resolve issues that you might run into when using Umbraco Deploy. - -If you are unable to find the issue you are having, then please reach out to our friendly support team at contact@umbraco.com. - -## Schema mismatches - -When transferring or restoring content between two Umbraco Deploy environments, you might run into **Schema mismatch** errors. For more information on how to resolve schema mismatch issues, see the [Schema Mismatches](https://docs.umbraco.com/umbraco-cloud/troubleshooting/deployments/schema-mismatches) article. - -Umbraco Deploy maintains a cached set of signatures that represent each schema and content item. They are used when transferring or restoring content between environments to aid performance. - -If having resolved schema mismatches you still have reports of errors, it might be that the signatures are out of date. In other words, Deploy is using a cached representation of an item that no longer matches the actual item stored in Umbraco. - -This should not be necessary in normal use, but can occur after upgrades. If you have this situation, you can clear the cached signatures in both the upstream and downstream environments. You do this via the _Clear Cached Signatures_ operation available on the _Settings > Deploy_ dashboard: - -![Clear cached signatures](images/clear-cached-sigs.png) - -## Slow responses or timeouts when restoring or transferring - -When transferring or restoring content between environments, Deploy needs to ensure that all related items are updated together. It also checks that any schema dependencies an item has also exist in the target environment. When a large amount of content is selected for transfer or restore, this process of determining all the dependent items can take some time. - -In some cases, a hard limit imposed by the Cloud hosting platforms such as Azure, used by Umbraco Cloud, can be reached. - -If you find the process slow or reporting a platform timeout, there are a few options you can take. - -### Consider partial restore - -If restoring, you can choose to pull down a smaller set of content via the partial restore feature. With this you select an item in the remote environment to restore. You can select to include child items. Any items related to the selected ones, for example via content or media pickers, will also be restored. - -### Consider import/export - -In addition to transferring content via the backoffice, it is possible to move both content and schema between environments via Deploy's import/export feature. With this, a selection of Umbraco data can be exported from one environment to a .zip file. That file can then be imported into another environment. - -As this process requires less inter-environment communication, it's possible to transfer much larger amounts of content without running into the hard platform limits. - -[Read more about the import/export feature here](deployment-workflow/import-export.md). - -### Review timeouts - -Firstly, you can review and update the [timeout settings available with Deploy](getting-started/deploy-settings.md#timeout-settings). Increasing these from the default values may help, but won't necessarily resolve all issues. This is because, as noted, some timeouts are fixed values set by the hosting environment. - -### Use batch configurations - -There are two places where Deploy operations can be batched. This allows breaking up of a single, long process into multiple, smaller ones. By doing this it's possible to complete each smaller operation within the platform imposed timeout. - -#### For transfers to upstream environments - -If transferring items from a downstream environment to an upstream one, it's possible to [configure a batch size](getting-started/deploy-settings.md#batch-settings). With this in place, transfers will be batched into separate operations, allowing each single operation to complete before any hosting environment-enforced timeout. - -This will take effect only for transfers to upstream environments and when multiple items are selected in the backoffice. An example is the selection of a single media folder containing many files. - -#### For processing of a Deploy "package" - -A package is an ordered structure containing all the items selected for a Deploy operation, plus all the determined dependencies and relations. The processing of this package in the target environment can also be batched via a [configuration setting](getting-started/deploy-settings.md#batch-settings). - -When set, if the number of items determined for the package exceeds the batch size, the processing will be chunked into batches. - -### Ensure signatures are pre-cached - -For transfer or restore operations, it's worth ensuring Deploy's cached signatures are fully populated in both the upstream and downstream environments. This can be done via the _Set Cached Signatures_ operation available on the _Settings > Deploy_ dashboard: - -![Set cached signatures](images/set-cached-sigs.png) - -The process make take a few minutes to complete if you have a lot of content or media in your installation. Information is written to the log indicating the signatures calculated for each entity type. - -Now the checks Deploy has to do to figure out the items and dependencies to process will complete much more quickly. - -### Modify the checksum calculation method for media files - -Deploy will do comparisons between the entities in different environments to determine if they match and decide whether to include them in the operation. By default, for media files, a check is made on a portion of the initial bytes of the file. - -If a lot of files need to be checked, this can be slow, and a faster option is available that uses the file metadata. The only downside of changing this option is a marginally increased chance of Deploy considering a media file hasn't changed when it has. This would omit it from the deployment. - -This option can be [set in configuration](getting-started/deploy-settings.md#mediafilechecksumcalculationmethod). - -### Consider disabling cache refresher notifications - -When a Deploy operation completes, cache refresher notifications are fired. These are used to update Umbraco's cache and search index. - -In production these should always be enabled, to ensure these additional data stores are kept up to date. - -If attempting a one-off, large transfer operation, before a site is live, you could disable these via a [configuration setting](getting-started/deploy-settings.md#suppresscacherefreshernotifications). That would omit the firing and handling of these notifications and remove their performance overhead. Following which you would need to ensure to rebuild the cache and search index manually via the backoffice _Settings_ dashboards. - -### Review relation types included in deploy operations - -As well as transferring entities between environments Deploy will also include the relations between them. As of 10.1.2 and 11.0.1, two relation types used for usage tracking are omitted by default. These do not need to be transferred as they are recreated by the CMS as part of the save operation on the entity. - -If using an earlier version, or to make further adjustments, modify the [settings for relation types](getting-started/deploy-settings.md#relationtypes) in configuration. - -## Path too long exceptions - -When restoring between different media systems exceptions can occur due to file paths. They can happen between a local file system and a remote system based on blob storage. What is accepted on one system may be rejected on another as the file path is too long. Normally this will only happen for files with particularly long names. - -If you are happy to continue without throwing exceptions in these instances you can [modify the configuration](getting-started/deploy-settings.md#continueonmediafilepathtoolongexception). If this is done such files will be skipped, and although the media item will exist there will be no associated file. - -## Schema files following upgrades - -When Umbraco schema items are created, a representation of them is saved to disk as a `.uda` file in the `/data/revision/` folder. The representation is known as an artifact. It will be refreshed on further updates to represent the current state of the schema item. - -Following an upgrade, it's possible the contents of the file will no longer match what would be generated by the current version. For example, if a property has been added to an artifact, this will be absent in the file. It would be added if the file was recreated following the upgrade. - -This can lead to situations where Deploy continues to process a file it considers changed, even though the item represented is up-to-date. This in turn means slow updates of Umbraco schema, as Deploy is processing more files than it needs to do. - -To resolve this situation, following an upgrade it is good practice to re=save the `.uda` files in the "left-most" environment. This will usually be the local one, or if not using that, the Development environment. You can do this via the _Export Schema To Data Files_ operation available on the _Settings > Deploy_ dashboard: - -![Export schema](images/export-schema.png) - -The updated files should be committed to source control and deployed to upstream environments. diff --git a/10/umbraco-deploy/upgrades/README.md b/10/umbraco-deploy/upgrades/README.md deleted file mode 100644 index 832d957e9d5..00000000000 --- a/10/umbraco-deploy/upgrades/README.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -meta.Title: Upgrading Umbraco Deploy -description: How to upgrade Umbraco Deploy ---- - -# Upgrading - -As with all of our products, it is always recommended to run the latest version of Umbraco Deploy. - -On the Umbraco Deploy page in the [Packages page](https://our.umbraco.com/packages/developer-tools/umbraco-deploy/) you can see what the latest version is, as well as read the changelog. - -Umbraco Deploy can be upgraded via NuGet. - -Open the **Package Console** in Visual Studio and type: - -`Update-Package Umbraco.Deploy.OnPrem` - -You will be prompted to overwrite files. You should choose **"No to All"** by pressing **"L"**. - -You can open the **NuGet Package Manager** and select the **Updates** pane to get a list of available updates. Choose the package called **Umbraco.Deploy.OnPrem** and click update. This will run through all the files and make sure you have the latest changes while leaving files you have updated. - -## [Version Specific Upgrade Details](version-specific.md) - -Contains version specific documentation for when upgrading to new major versions of Umbraco Deploy. diff --git a/10/umbraco-deploy/upgrades/version-specific.md b/10/umbraco-deploy/upgrades/version-specific.md deleted file mode 100644 index d84c0a2c93e..00000000000 --- a/10/umbraco-deploy/upgrades/version-specific.md +++ /dev/null @@ -1,102 +0,0 @@ ---- -meta.Title: Version specific upgrades -description: >- - Version specific documentation for upgrading to new major versions of Umbraco - Deploy. ---- - -# Version Specific Upgrade Details - -This page covers specific upgrade documentation for when migrating to major 10 of Umbraco Deploy. - -{% hint style="info" %} -If you are upgrading to a minor or patch of Deploy you can find the details about the changes in the [release notes](../release-notes.md) article. -{% endhint %} - -## Version Specific Upgrade Notes History - -Version 10 of Umbraco Deploy has a minimum dependency on Umbraco CMS core of `10.0.0`. It runs on .NET 6. - -The forms deployment component has a minimum dependency on Umbraco Forms of `10.0.0`. - -To migrate to version 10 you should first update to the latest minor release of version 9. This will ensure you have all the database schema changes in place. - -#### Breaking changes - -Version 10 includes a number of breaking changes. These changes are unlikely to affect many projects because they're not in typical extension points. For reference though, the full details are listed here. - -#### Database Initialization - -When using Umbraco Deploy with Umbraco Cloud, a development database is automatically created when restoring a project into a local environment for the first time. With Umbraco 9 and previous versions, SQL CE could be used for this. This database type is no longer supported in Umbraco 10, so SQLite is available instead. SQLite will be the default format used for the local database. - -If you prefer to use a supported alternative, you can ensure that a connection string is in place before triggering the restore operation. - -For example, to use a local SQL Server Express instance, you would place this in your `appSettings.json` configuration file: - -```json -{ - "ConnectionStrings": { - "umbracoDbDSN": "Server=.\\SQLEXPRESS;Database=UmbracoDb;Integrated Security=true", - "umbracoDbDSN_ProviderName": "Microsoft.Data.SqlClient" - } -} -``` - -If you prefer to use LocalDB, either set a connection string as above: - -```json -{ - "ConnectionStrings": { - "umbracoDbDSN": "Data Source=(localdb)\\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\\Umbraco.mdf;Integrated Security=True", - "umbracoDbDSN_ProviderName": "Microsoft.Data.SqlClient" - } -} -``` - -Or set the configuration value of `Umbraco:Deploy:Settings:PreferLocalDbConnectionString` to `true`: - -```json -{ - "Umbraco": { - "Deploy": { - "Settings": { - "PreferLocalDbConnectionString": true - } - } - } -} -``` - -If you are upgrading from Umbraco 9 and already have a LocalDB instance, you can set this value to `true`. This will ensure it is used rather than a new, empty SQLite database. - -#### Configuration - -* The boolean property `IgnoreBrokenDependencies` has been removed, and the option is now controlled only by the `IgnoreBrokenDependenciesBehavior` configuration key, which takes an enumeration value. - * The default value has changed to `IgnoreBrokenDependenciesBehavior.Restore`, as this will most likely be what developers require (allowing broken dependencies when restoring, but not when pushing to an upstream environment). -* `CurrentWorkspaceName` has been added to the `Project` configuration section. This will be used by on-premises installations. - * Previously this used EnvironmentName in the `Debug` configuration section, which will still be used if defined to support upgrades. We recommend using the new configuration as it's more intuitively placed (that is not really a "debug" setting for on-premises installations). - -#### Code - -* The following classes have altered constructors taking additional parameters. - * `DeployScopeProvider` - * `ArtifactRelator` - * `RepairDictionaryIdsWorkItem` - * `DiskWorkItemFactory` - * `ClearSignaturesWorkItem` - * `MemberTypeConnector` - * `DeployManagementDashboardController` - * `CurrentEnvironment` -* Additional methods have been added to `IUmbracoEnvironment`. -* The property `BackOfficeDeployOperation` has been added to `IWorkItem`. -* The `RelationTypeArtifact` class has been moved to the `Umbraco.Deploy.Infrastructure.Artifacts` namespace. -* `IDiskEntityService` has been moved to the `Umbraco.Deploy.Infrastructure.Disk` namespace. -* An additional method, previously provided by an extension method, has been added to the `IDiskEntityService` interface. -* `DiskReadTask` has been moved to the `Umbraco.Deploy.Infrastructure.Work.BackgroundTasks` namespace. -* `ITransferEntityService.RegisterTransferEntityType` has an additional parameter. -* `DeployRegisteredEntityTypeDetail` was renamed to `DeployTransferRegisteredEntityTypeDetail`. -* Removed unused class `SerializablePropertyValue`. - -## Legacy version specific upgrade notes - -You can find the version specific upgrade notes for versions out of support in the [Legacy documentation on GitHub](https://github.com/umbraco/UmbracoDocs/blob/umbraco-eol-versions/11/umbraco-deploy/upgrades/version-specific.md).