Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
final class AccessibilityCloseButtonextension AccessibilityCloseButton : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Undocumented
See moreDeclaration
Swift
class AmountViewextension AmountView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Encapsulates metadata after
See moreCheckoutConfig.onApproveis called. This meta information can be utilized to properly capture an order.Declaration
Swift
@objc(PPCApproval) @objcMembers class Approvalextension Approval : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Provides an interface to make common order requests from within the PayPal Checkout SDK.
See moreDeclaration
Swift
@objc(PPCApprovalActions) @objcMembers class ApprovalActionsextension ApprovalActions : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Data describing an approved order
See moreDeclaration
Swift
@objc(PPCApprovalData) @objcMembers class ApprovalDataextension ApprovalData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
class AspectRatioImageViewextension AspectRatioImageView : AlignableImageView, CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
A config that allows merchants to set authentication traits
See moreDeclaration
Swift
@objcMembers class AuthConfigextension AuthConfig : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCopying, NSObjectProtocol -
Object representing a successful Authorize action. Currently exclusively wraps the
See moreOrderActionData, but may be extended in the future.Declaration
Swift
@objc(PPCAuthorizeActionSuccess) @objcMembers class AuthorizeActionSuccessextension AuthorizeActionSuccess : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
class BackActionextension BackAction : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UIContextMenuInteractionDelegate, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UISpringLoadedInteractionSupporting, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
A specified parent class that indicates background views which are applied when specific pages are presented. These background views will be applied to the view controller where the paysheet itself is presented into.
See moreDeclaration
Swift
class Backgroundextension Background : CALayerDelegate, CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Data vended in response to a successful OrderAction for executing a billing agreement
See moreDeclaration
Swift
@objc(PPCBillingActionData) @objcMembers class BillingActionDataextension BillingActionData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
@available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig") final class BrandedBackgroundViewextension BrandedBackgroundView : CALayerDelegate, CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Object representing a successful capture action. Currently exclusively wraps the
See moreOrderActionData, but may be extended in the future.Declaration
Swift
@objc(PPCCaptureActionSuccess) @objcMembers class CaptureActionSuccessextension CaptureActionSuccess : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
The
See moreCarousel Cellclass hold the FI image and labels, notification label and the preferred viewDeclaration
Swift
class CarouselCellextension CarouselCell : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
The carousel view denotes the primary wallet and funding instrument selection component
See moreDeclaration
Swift
class CarouselViewextension CarouselView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, Identifiable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICollectionViewDelegate, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UIScrollViewDelegate, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable -
Undocumented
See moreDeclaration
Swift
class CartDetailsViewextension CartDetailsView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
The main interface where you can change or start behavior of the Checkout paysheet.
See moreDeclaration
Swift
@objc(PPCheckout) @objcMembers final class Checkoutextension Checkout : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol, StaticIdentifiable -
Holds all the configuration values required by checkout experiences and checkout flows. Modified and provided by the merchant, to start the checkout flow desired.
See moreDeclaration
Swift
@objc(PPCheckoutConfig) @objcMembers class CheckoutConfigextension CheckoutConfig : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCopying, NSObjectProtocol -
The Config used to determine UI customization, such as font and color customization
See moreDeclaration
Swift
class ContentConfig -
Undocumented
See moreDeclaration
-
The core navigation method within the SDK is the ContentRouter. Without this class not much could be accomplished and navigating from one page to another within the pay sheet would simply not be possible.
See moreDeclaration
Swift
class ContentRouter -
Correlation IDs are debug IDs that the PayPal team uses to track issues.
See moreDeclaration
Swift
@objc(PPCCorrelationIDs) @objcMembers final class CorrelationIDsextension CorrelationIDs : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
-
CreateOrderAction object to be passed in CreateOrderCallback, allowing merchants options to create order and obtain EC-Token (or Pay-Token or Order ID), either by their own means or using built in functions in the SDK.
See moreDeclaration
Swift
@objc(PPCCreateOrderAction) @objcMembers class CreateOrderActionextension CreateOrderAction : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
A page that shows crypto legal information.
Declaration
Swift
class CryptoLegalInfoPage : ContentPageextension CryptoLegalInfoPage : Equatable, StaticIdentifiable -
Undocumented
See moreDeclaration
Swift
class CryptoRateViewextension CryptoRateView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable -
Undocumented
Declaration
Swift
class CurrencyConversionOptionPage : TitledContentPageextension CurrencyConversionOptionPage : Equatable, StaticIdentifiable -
Undocumented
Declaration
Swift
class DeliverySelectionPage : TitledContentPageextension DeliverySelectionPage : Equatable, StaticIdentifiable -
Undocumented
See moreDeclaration
Swift
class DeliveryViewextension DeliveryView : ActionableRow, CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable -
A config that toggles shims in the code for development purposes.
See moreDeclaration
Swift
@objcMembers class EnvironmentConfigextension EnvironmentConfig : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCopying, NSObjectProtocol -
Encapsulates metadata after
See moreCheckoutConfig.onErroris called. This meta information can be utilized to debug our checkout sessions.Declaration
Swift
@objc(PPCErrorInfo) @objcMembers final class ErrorInfoextension ErrorInfo : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
The Events manager. This is where all event payloads are being stored in memory as well as the listeners throughout the code. The class itself is a singleton but the public interfaces do not allow direct access to the single instance.
See moreDeclaration
Swift
class Events -
This class should contain all the extended featurs privy to first party or implicity trusted host applications. Those not explicity validated to be on the whitelist for the PayPal iOS Checkout SDK will find that all extended features in this class are ignored.
See moreDeclaration
Swift
class ExtendedCheckoutConfig : CheckoutConfigextension ExtendedCheckoutConfig : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCopying, NSObjectProtocol -
GraphQL Query
See moreDeclaration
Swift
class GQLQuery<QuerySuccess> where QuerySuccess : Decodableextension GQLQuery : Encodable -
This class represents the contents of the data sent back to the GraphQL back end for any payment options that were changed during the usage of the SDK. The state is meant to be low maintenance, updating via event listeners, and translating the UI/viewmodel events into the GQL values:
- gqlPayload updates all values
- shippingAddressChanged updates the selectedAddress
- uiCurrencyConversionChanged updates currencyConversion
selectedPlan, preferredFundingOption still need hookups.
See moreNote
this can likely be swapped out with the Codeables that will be used in the mutationDeclaration
Swift
class GraphQLMutationState -
Undocumented
See moreDeclaration
-
Undocumented
See moreDeclaration
Swift
class Legaleseextension Legalese : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable -
Undocumented
See moreDeclaration
Swift
class LineItemContainerViewextension LineItemContainerView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Undocumented
Declaration
Swift
class LoadingPage<Kind> : ContentPage where Kind : StaticIdentifiableextension LoadingPage : Equatable, StaticIdentifiable, Transitionable -
Undocumented
See moreDeclaration
Swift
class LogoImageViewextension LogoImageView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Data vended in response to a successful OrderAction for capturing/authorizing funds
See moreDeclaration
Swift
@objc(PPCOrderActionData) @objcMembers class OrderActionDataextension OrderActionData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Declaration
Swift
@objc(PPCOrderAddress) @objcMembers class OrderAddressextension OrderAddress : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol -
A class that represents the possible values to be passed as part of the application context object. OrderApplicationContext object documentation guide
See moreDeclaration
Swift
@objc(PPCOrderApplicationContext) @objcMembers class OrderApplicationContextextension OrderApplicationContext : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Encodable, Equatable, Hashable, NSObjectProtocol -
Data vended in response to a successful
See moreOrderActionfor getting the current details of an existing order ThePayerandPurchaseUnitsproperties contain most of the information related to a specific order.Declaration
Swift
@objc(PPCOrderDetails) @objcMembers class OrderDetails : OrderActionDataextension OrderDetails : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Equatable, Hashable, NSObjectProtocol -
A class that represents the possible values to be passed as part of the payer object. Payer object documentation guide
See moreDeclaration
Swift
@objc(PPCOrderPayer) @objcMembers class OrderPayerextension OrderPayer : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol -
The order request object is used to format the
orderRequestfor theCreateOrderActionCreate order documentationSee moreNote
This class is for use exclusively with the order v2 APIDeclaration
Swift
@objc(PPCOrderRequest) @objcMembers class OrderRequestextension OrderRequest : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Encodable, Equatable, Hashable, NSObjectProtocol -
A successful request returns the HTTP 204 No Content status code with an empty object in the JSON response body.
Declaration
Swift
@objc(PPCPatchActionSuccess) class PatchActionSuccessextension PatchActionSuccess : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Represents each operation and their accepted path, as well as the paths accepted value for each type. Patch Order Documentation
See moreNote
- To make an update, you may optionally provide a
reference_id. If you omit areference_id, PayPal defaults to areference_idofdefault.
Declaration
Swift
@objc(PPCPatchRequest) @objcMembers class PatchRequestextension PatchRequest : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol - To make an update, you may optionally provide a
-
Configuration for Pay Later Smart Payment Button.
See moreDeclaration
Swift
@objc(PPCPayLaterButtonUIConfiguration) @objcMembers class PayLaterButtonUIConfigurationextension PayLaterButtonUIConfiguration : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
PayPalButton provides a PayPal button with the ability to modify color, edges, size, insets and label. Tapping on PayPalButton will start checkout with Native Checkout SDK Paysheet.
See moreDeclaration
Swift
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.") @objc(PPCPayPalButton) class PayPalButton : PaymentButtonextension PayPalButton : 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 -
Configuration for PayPal Smart Payment Button.
See moreDeclaration
Swift
@objc(PPCPayPalButtonUIConfiguration) @objcMembers class PayPalButtonUIConfigurationextension PayPalButtonUIConfiguration : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
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.
See moreDeclaration
Swift
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.") @objc(PPCPayPalCreditButton) class PayPalCreditButton : PaymentButtonextension 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 -
Configuration for PayPal Credit Smart Payment Button.
See moreDeclaration
Swift
@objc(PPCPayPalCreditButtonUIConfiguration) @objcMembers class PayPalCreditButtonUIConfigurationextension PayPalCreditButtonUIConfiguration : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
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.
See moreDeclaration
Swift
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.") @objc(PPCPayPalPayLaterButton) class PayPalPayLaterButton : PaymentButtonextension 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 -
The
See morePaymentButtonis utilized to provide a seamless integration for a checkout experience similar to how the web handles PayPal checkout experiences.Declaration
Swift
@available(*, deprecated, message: "Use PaymentButtonContainer(﹚ instead.") @objc(PPCPaymentButton) @objcMembers class PaymentButtonextension 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, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
These are different attributes to configure the native Smart Payment Button style.
See moreDeclaration
Swift
@objc(PPCPaymentButtonAttributes) @objcMembers class PaymentButtonAttributesextension PaymentButtonAttributes : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
A container UI element that groups all the PayPal buttons (PayPal, PayLater, Credit). PaymentButtonContainer provides PayPal buttons with the ability to modify the PayPalButtonUI, PayPalCreditButtonUI, and PayLaterButtonUI, their attributes, and implement the PaymentButtonContainerDelegate
See moreDeclaration
Swift
@objc(PPCPaymentButtonContainer) @objcMembers class PaymentButtonContainerextension PaymentButtonContainer : CALayerDelegate, CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, PaymentButtonDelegate, Sendable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
PaymentFundingEligibilityState is a model to provide the eligibility response for each Funding Each funding will have the reasons for eligibility/ineligibility
See moreDeclaration
Swift
@objc(PPCPaymentFundingEligibilityState) @objcMembers class PaymentFundingEligibilityStateextension PaymentFundingEligibilityState : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
class ProfileImageBubbleextension ProfileImageBubble : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityContentSizeCategoryImageAdjusting, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Undocumented
See moreDeclaration
-
A class that represents the possible values to be passed as part of the purchase unit object. Purchase units request documentation guide
See moreDeclaration
Swift
@objc(PPCPurchaseUnit) @objcMembers class PurchaseUnitextension PurchaseUnit : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
class RateChangeViewextension RateChangeView : ActionableRow, CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, FadingContentView, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable -
Undocumented
Declaration
Swift
class RateProtectionInfoPage : TitledContentPageextension RateProtectionInfoPage : Equatable, StaticIdentifiable -
The SequenceProcessor is designed to take a list of callback instances and execute the first one while providing it the ability to execute the next item in the list. This style of sequencing allows for truly asynchronous execution with each closure either passing the
Nextinstance off to another function or class to be executed later or to be ignored if logic in that step indicates that progress should not continue.Each closure must execute the
See moreNextclosure for the chain to continue. Passing an error to the closure will cause execution to halt.Declaration
Swift
class SequenceProcessor<Context>extension SequenceProcessor : CheckoutProcess where Context == State -
Unique identifiers for an SDK session/checkout session
See moreDeclaration
Swift
@objc(PPCSessionIDs) @objcMembers final class SessionIdentifiersextension SessionIdentifiers : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
@objc(PPCShippingChange) @objcMembers final class ShippingChangeextension ShippingChange : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
@objc(PPCShippingChangeAction) @objcMembers class ShippingChangeActionextension ShippingChangeAction : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
@objc(PPCShippingChangeAddress) @objcMembers final class ShippingChangeAddressextension ShippingChangeAddress : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
class ShippingDetailsPage : ContentPageextension ShippingDetailsPage : Equatable, ShippingSegmentedControlDelegate, StaticIdentifiable -
Shipping option for an order used when creating an order with Orders API. If you want to show your shipping options in our Paysheet, you should provide
See morepurchaseUnits[].shipping.options, otherwise, our Paysheet won’t display any shipping options.Declaration
Swift
@objc(PPCShippingMethod) @objcMembers final class ShippingMethodextension ShippingMethod : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol -
Undocumented
See moreDeclaration
Swift
class ShippingViewextension ShippingView : ActionableRow, CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, ViewModelView, __UITraitChangeObservable -
State container for the Checkout SDK. Is evaluated for tokens, merchant values and other transient session data.
See moreDeclaration
Swift
class State -
The type defining the callback that each closure should conform to
See moreDeclaration
Swift
class Step<Context>extension Step : CustomStringConvertible, Identifiable -
Undocumented
See moreDeclaration
Swift
final class SuggestionsViewextension SuggestionsView : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UICollectionViewDelegate, UICollectionViewDelegateFlowLayout, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UIScrollViewDelegate, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
A content page that comes with a basic header including a back arrow and a title.
See moreDeclaration
Swift
class TitledContentPage : ContentPageextension TitledContentPage : Equatable, StaticIdentifiable -
Undocumented
See moreDeclaration
Swift
class TransitionLabelextension TransitionLabel : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, Sendable, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UIContentSizeCategoryAdjusting, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UILetterformAwareAdjusting, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
Undocumented
See moreDeclaration
Swift
class UnconstrainedTextLabelextension UnconstrainedTextLabel : CALayerDelegate, CVarArg, ContentView, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCoding, NSObjectProtocol, StaticIdentifiable, UIAccessibilityIdentification, UIActivityItemsConfigurationProviding, UIAppearance, UIAppearanceContainer, UIContentSizeCategoryAdjusting, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UIFocusItem, UIFocusItemContainer, UILargeContentViewerItem, UILetterformAwareAdjusting, UIPasteConfigurationSupporting, UIPopoverPresentationControllerSourceItem, UIResponderStandardEditActions, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable -
This is a singleton that represents a page that does not exist. Routing to it should cause an error in all cases.
See moreDeclaration
-
UnitAmount should be used for the following objects:
- all breakdown.amount objects - https://developer.paypal.com/docs/api/orders/v2#definition-amount_breakdown
- item.unitAmount - https://developer.paypal.com/docs/api/orders/v2#definition-item
- shipping.options.amount - https://developer.paypal.com/docs/api/orders/v2/#definition-shipping_detail
Declaration
Swift
@objc(PPCUnitAmount) @objcMembers class UnitAmountextension UnitAmount : CVarArg, Comparable, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol -
Data describing an approved vault flow
See moreDeclaration
Swift
@objc(PPCVaultData) @objcMembers class VaultDataextension VaultData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol -
Undocumented
Declaration
View on GitHub
Install in Dash
Classes Reference