state property

String? state
getter/setter pair

The state of the object.

This field is used to determine how an object is displayed in the app. For example, an inactive object is moved to the "Expired passes" section. If this is not provided, the object would be considered ACTIVE. Possible string values are:

  • "STATE_UNSPECIFIED"
  • "ACTIVE" : Object is active and displayed to with other active objects.
  • "active" : Legacy alias for ACTIVE. Deprecated.
  • "COMPLETED"
  • "completed" : Legacy alias for COMPLETED. Deprecated.
  • "EXPIRED" : Object is no longer valid (validTimeInterval passed).
  • "expired" : Legacy alias for EXPIRED. Deprecated.
  • "INACTIVE"
  • "inactive" : Legacy alias for INACTIVE. Deprecated.

Implementation

core.String? state;