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

hashCode int
The hash code for this object.
no setteroverride
isKnown bool
Whether this SDK recognizes value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The normalized Restage code.
final

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.