ButtonStateKey

enum ButtonStateKey
extension ButtonStateKey : Equatable, Hashable

An enum to represent the keys for the additional button states other than primary

  • Key for the addCard action in the carousel on the home page

    Declaration

    Swift

    case addCard
  • Key for the apply now action for a credit offer.

    Declaration

    Swift

    case applyForCredit
  • Key for the continue button on the home page

    Declaration

    Swift

    case `continue`
  • Key for any custom button state

    Declaration

    Swift

    case custom(String)
  • Key for the pay in 4 button offer.

    Declaration

    Swift

    case payIn4
  • Key for the payNow button on the home page

    Declaration

    Swift

    case payNow
  • Key for a page’s primary button state. All new pages have the option to set this if a button is required on that page.

    Declaration

    Swift

    case primary
  • Key for the Choose a new address button on the home page Shown when we have error in shipping change.

    Declaration

    Swift

    case shippingChangeError