PayPalPayLaterButton
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.")
@objc(PPCPayPalPayLaterButton)
class PayPalPayLaterButton : PaymentButton
extension PayPalPayLaterButton : CALayerDelegate, CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UIContextMenuInteractionDelegate, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UISpringLoadedInteractionSupporting, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable
PayPalPayLaterButton provides a Pay in 4 with PayPal button with the ability to modify color, edges, size and insets. Tapping on PayPalPayLaterButton will bring users to checkout with Pay in 4 on web, where users can apply for and pay with Pay in 4.
-
Available colors for PayPalPayLaterButton.
See moreDeclaration
Swift
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.") @objc(PPCPayPalPayLaterButtonColor) enum Color
extension PayPalPayLaterButton.Color : CaseIterable, Equatable, Hashable, RawRepresentable
-
Initialize a PayPalPayLaterButton. 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: PayPalPayLaterButton.Color = .gold, edges: PaymentButtonEdges = .softEdges, size: PaymentButtonSize = .collapsed, isEnabled: Bool = true)
-
Initialize a PayPalPayLaterButton
Declaration
Swift
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.") convenience init(insets: NSDirectionalEdgeInsets, color: PayPalPayLaterButton.Color = .gold, edges: PaymentButtonEdges = .softEdges, size: PaymentButtonSize = .collapsed, isEnabled: Bool = true)