PayPalCreditButton

@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
@objc(PPCPayPalCreditButton)
class PayPalCreditButton : PaymentButton
extension PayPalCreditButton : CALayerDelegate, CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UIContextMenuInteractionDelegate, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UISpringLoadedInteractionSupporting, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable

PayPalCreditButton provides a PayPal Credit button with the ability to modify color, edges, size and insets. Tapping on PayPalCreditButton will bring users to checkout with PayPalCredit on web.

  • Available colors for PayPalCreditButton.

    See more

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    @objc(PPCPayPalCreditButtonColor)
    enum Color
    extension PayPalCreditButton.Color : CaseIterable, Equatable, Hashable, RawRepresentable
  • Initialize a PayPalCreditButton. The insets of the button will be set appropriately depending on the button’s size.

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    convenience init(color: PayPalCreditButton.Color = .darkBlue, edges: PaymentButtonEdges = .softEdges, size: PaymentButtonSize = .collapsed, isEnabled: Bool = true)
  • Initialize a PayPalCreditButton

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    convenience init(insets: NSDirectionalEdgeInsets, color: PayPalCreditButton.Color = .darkBlue, edges: PaymentButtonEdges = .softEdges, size: PaymentButtonSize = .collapsed, isEnabled: Bool = true)