PhonePeEnvironment enum
Supported environments for PhonePe checkout flows.
Use sandbox while developing and testing with PhonePe’s UAT credentials. Switch to production when going live with real transactions.
- Inheritance
- Available extensions
Values
- sandbox → const PhonePeEnvironment
-
Sandbox / pre-production environment.
Use this environment for testing and integration.
- production → const PhonePeEnvironment
-
Production environment.
Use this environment only when going live. Requires valid production merchant credentials and server-side signing.
Properties
- baseUrl → String
-
Available on PhonePeEnvironment, provided by the PhonePeEnvironmentX extension
Returns the base API URL for this environment.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- label → String
-
Available on PhonePeEnvironment, provided by the PhonePeEnvironmentX extension
A human-friendly label for the environment.no setter - 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<
PhonePeEnvironment> - A constant List of the values in this enum, in order of their declaration.