PaymentErrors Class

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Class container for all error codes resulting from problems processing of payments.

Namespace:  Microsoft.Dynamics.Commerce.Runtime
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Entities (in Microsoft.Dynamics.Commerce.Runtime.Entities.dll)

Syntax

'Declaration
Public NotInheritable Class PaymentErrors
'Usage
You do not need to declare an instance of a static class in order to access its members.
public static class PaymentErrors
public ref class PaymentErrors abstract sealed

Remarks

When adding a new constant, modifying the name of a constant, or deleting a constant, a corresponding change needs to be made in all files below: - %InetRoot%\Source\Frameworks\Retail\Channels\SharePoint\StoreFront\Services\ServiceResources.resx (StoreFront) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\Framework\Assets\Strings\{locale}\resources.resjson (mPOS) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\Framework\Core\ErrorHelper.ts (mPOS) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\WindowsPhone\C1\Pos\Model\Exceptions\DataValidationErrors.cs (Win Phone POS) - %InetRoot%\Source\Frameworks\Retail\Channels\Apps\WindowsPhone\C1\Pos\Application\Resources\AppResources.resx (Win Phone POS) so a proper UI message is displayed.

Inheritance Hierarchy

System.Object
  Microsoft.Dynamics.Commerce.Runtime.PaymentErrors

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Dynamics.Commerce.Runtime Namespace