Environment
The Environment enum represents the two distinct backend environments that the Catch Android SDK communicates with: SANDBOX
and LIVE
.
Both environments provide the same functionality, but SANDBOX
is intended be used for development and testing while LIVE
should be used in production applications. Purchases made in the SANDBOX
environment will not result in actual charges.
Applications should also ensure that the environment they use in the Catch Android SDK lines up with the environments being used for Catch's Transaction APIs. For example, to open a given checkout in LIVE
, the checkout must have been created using Catch's LIVE
transaction API endpoint.
For more details about testing in the SANDBOX
environment, see the Catch Sandbox Testing docs.
Entries
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.