Enums

The following enums are available globally.

  • HTTP methods.

    • get: GET method.
    • post: POST method.
    • delete: DELETE method.
    • put: PUT method.
    See more

    Declaration

    Swift

    public enum HTTPMethod
  • Credentials errors.

    • imageBundleNotFound: Indicates when the image couldn’t be found for a credentials button icon.
    • loginNotFound: Indicates when login information couldn’t be found.
    • userCancelled: Indicates when user cancelled an action.
    See more

    Declaration

    Swift

    public enum CredentialsError: Swift.Error, Equatable
  • Describes the types of card numbers.

    • lastFour: Only the last four digits of a card number.
    • full: The full card number.
    See more

    Declaration

    Swift

    public enum CardNumber
  • Describes the current wishlist item state.

    • wishlisted: Indicates that the item is in a wishlist.
    • unlisted: Indicates that the item is not in a wishlist.
    See more

    Declaration

    Swift

    public enum WishlistItemState