Environment enum

Enumeration of supported deployment environments.

This enum defines the different server environments that the Amwal Pay SDK can connect to for processing transactions.

Environments

  • UAT: User Acceptance Testing environment
  • SIT: System Integration Testing environment
  • PROD: Production environment

Usage Example

final settings = AmwalSdkSettings(
  environment: Environment.PROD,
  // other parameters...
);
Inheritance
Available extensions

Values

UAT → const Environment

User Acceptance Testing environment.

This environment is used for final testing before production deployment, typically with test data and sandbox payment processing.

SIT → const Environment

System Integration Testing environment.

This environment is used for integration testing between different system components and services.

PROD → const Environment

Production environment.

This is the live environment where real transactions are processed with actual payment data.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<Environment>
A constant List of the values in this enum, in order of their declaration.