PageType

@objc(GFYPageType)
public enum PageType : Int, Encodable
extension PageType: CustomStringConvertible

Page types that may be present in an application

  • The home page for the application

    Declaration

    Swift

    case home
  • A page listing a single product (sometimes with multiple sku variations)

    Declaration

    Swift

    case product
  • A page listing a collection of products. Often this is a page listing some category of products.

    Declaration

    Swift

    case collection
  • A page listing a small group of products similar to a collection, but allows for the products to be added to the cart. The products are often related in some way such as a full outfit.

    Declaration

    Swift

    case ensemble
  • A page containing search results

    Declaration

    Swift

    case search
  • Use for pages containing supporting blog content or articles

    Declaration

    Swift

    case blog
  • The cart page for a store listing the user’s current cart contents, and often the entry point for a checkout

    Declaration

    Swift

    case cart
  • The checkout page allowing a user to complete the checkout process

    Declaration

    Swift

    case checkout
  • Pages containing listings of flight options (intended for use by flight-booking application)

    Declaration

    Swift

    case flights
  • Pages relating to the shopper’s account

    Declaration

    Swift

    case account
  • The shopper login page

    Declaration

    Swift

    case login
  • Informational pages about the application (for example, an “About” page)

    Declaration

    Swift

    case info
  • Pages containing guidance information for shoppers

    Declaration

    Swift

    case guide
  • Video content pages on the application

    Declaration

    Swift

    case video
  • All pages that do not fit into any of the other page types categories should be classified as other

    Declaration

    Swift

    case other
  • The receipt page shown after completing the checkout process

    Declaration

    Swift

    case receipt
  • A page containing the customer’s list of personally archived items

    Declaration

    Swift

    case wishlist
  • Retrieves the canonical string version of the PageType value

    Declaration

    Swift

    public var description: String { get }