Environment enum

The backend environment a SwichPay client talks to.

Inheritance
Available extensions

Values

sandbox → const Environment
production → const Environment

Properties

checkoutBaseUrl → String
Host for /init and /iframe/Payment.
no setter
discountBaseUrl → String
Host for /api/Discount/GetDiscount. Only a sandbox host has been provided so far - production points at the same one until a production discount host exists.
no setter
gatewayBaseUrl → String
Host for /gateway/paymentsession/mobileappinit.
no setter
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.