PaymentButton

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

The PaymentButton is utilized to provide a seamless integration for a checkout experience similar to how the web handles PayPal checkout experiences.

  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    func checkoutFinished()
  • The color of the button

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    var color: PaymentButtonColor { get set }
  • Delegate which allows you to add hooks to start and finish and listen to changes in eligibility

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    weak var delegate: PaymentButtonDelegate? { get set }
  • The corners of the button and how they should be shaped.

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    var edges: PaymentButtonEdges { get set }
  • The type of the button’s funding source (e.g. PayPal, Pay Later, Credit)

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    var fundingSource: PaymentButtonFundingSource { get }
  • The padding on the Smart Payment Button.

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    var insets: NSDirectionalEdgeInsets? { get }
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    override var isEnabled: Bool { get set }
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    override var isHighlighted: Bool { get set }
  • The label displayed next to the button’s logo.

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    var label: PaymentButtonLabel? { get set }
  • Undocumented

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    override func layoutSubviews()
  • The size enum determines how the button will be shown.

    Declaration

    Swift

    @available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
    var size: PaymentButtonSize { get set }