BrandedBackgroundConfig

@available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
struct BrandedBackgroundConfig
extension BrandedBackgroundConfig : Equatable

BrandedBackgroundConfig is used to specify a custom background by 1st-party hosts

  • This property allows you to set the view’s background color if no image exists. If the brandedBackgroundImage property is set you will not see the background color

    Declaration

    Swift

    @available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
    var backgroundImageColor: UIColor?
  • This property allows first party users to set the background image of the PaySheet

    Declaration

    Swift

    @available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
    var brandedBackgroundImage: UIImage?
  • This property allows first party users to set the url to retrieve a background image to be placed behind the PaySheet

    Declaration

    Swift

    @available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
    var brandedBackgroundImageURL: URL?
  • This property will allow you to retrieve an image from a URL

    Declaration

    Swift

    @available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
    var brandedBackgroundImageURLPlaceholder: UIImage?
  • This property will allow you to include a separate image logo on top of the brandedBackgroundImage

    Declaration

    Swift

    @available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
    var logoImage: UIImage?
  • Customize the placement using the LogoPositioningProtocol class. xMultiplier and yMultiplier are multiplier values for the constraints that determine the x, y coordinates for the logo’s position

    Declaration

    Swift

    @available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig")
    var logoPositioning: LogoPositioningConfig?