CommerceFailureCode class final
A normalized, Restage-defined commerce failure code.
Unknown values are preserved for forward compatibility. Raw provider errors, identifiers, and evidence do not cross this boundary.
Constructors
- CommerceFailureCode(String value)
-
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- invalidRequest → const CommerceFailureCode
- The request violates the typed commerce contract.
- notActivated → const CommerceFailureCode
- Commerce has not been activated for this application.
- unsupportedCapability → const CommerceFailureCode
- The requested capability is not supported.
- unsupportedResponse → const CommerceFailureCode
- A response could not be mapped to recognized Restage semantics.