Classes
The following classes are available globally.
-
Undocumented
See moreDeclaration
Swift
final class AccessibilityCloseButton
extension 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 AmountView
extension 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.onApprove
is called. This meta information can be utilized to properly capture an order.Declaration
Swift
@objc(PPCApproval) @objcMembers class Approval
extension 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 ApprovalActions
extension ApprovalActions : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Data describing an approved order
See moreDeclaration
Swift
@objc(PPCApprovalData) @objcMembers class ApprovalData
extension ApprovalData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
class AspectRatioImageView
extension 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 AuthConfig
extension 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 AuthorizeActionSuccess
extension AuthorizeActionSuccess : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
class BackAction
extension 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 Background
extension 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 BillingActionData
extension BillingActionData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
@available(*, deprecated, message: "Please use the new backgrounds member in ExtendedCheckoutConfig") final class BrandedBackgroundView
extension 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 CaptureActionSuccess
extension CaptureActionSuccess : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
The
See moreCarousel Cell
class hold the FI image and labels, notification label and the preferred viewDeclaration
Swift
class CarouselCell
extension 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 CarouselView
extension 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 CartDetailsView
extension 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 Checkout
extension 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 CheckoutConfig
extension 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 CorrelationIDs
extension 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 CreateOrderAction
extension CreateOrderAction : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
A page that shows crypto legal information.
Declaration
Swift
class CryptoLegalInfoPage : ContentPage
extension CryptoLegalInfoPage : Equatable, StaticIdentifiable
-
Undocumented
See moreDeclaration
Swift
class CryptoRateView
extension 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 : TitledContentPage
extension CurrencyConversionOptionPage : Equatable, StaticIdentifiable
-
Undocumented
Declaration
Swift
class DeliverySelectionPage : TitledContentPage
extension DeliverySelectionPage : Equatable, StaticIdentifiable
-
Undocumented
See moreDeclaration
Swift
class DeliveryView
extension 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 EnvironmentConfig
extension EnvironmentConfig : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCopying, NSObjectProtocol
-
Encapsulates metadata after
See moreCheckoutConfig.onError
is called. This meta information can be utilized to debug our checkout sessions.Declaration
Swift
@objc(PPCErrorInfo) @objcMembers final class ErrorInfo
extension 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 : CheckoutConfig
extension ExtendedCheckoutConfig : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSCopying, NSObjectProtocol
-
GraphQL Query
See moreDeclaration
Swift
class GQLQuery<QuerySuccess> where QuerySuccess : Decodable
extension 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.
Note
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 Legalese
extension 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 LineItemContainerView
extension 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 : StaticIdentifiable
extension LoadingPage : Equatable, StaticIdentifiable, Transitionable
-
Undocumented
See moreDeclaration
Swift
class LogoImageView
extension 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 OrderActionData
extension OrderActionData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Declaration
Swift
@objc(PPCOrderAddress) @objcMembers class OrderAddress
extension 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 OrderApplicationContext
extension OrderApplicationContext : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Encodable, Equatable, Hashable, NSObjectProtocol
-
Data vended in response to a successful
See moreOrderAction
for getting the current details of an existing order ThePayer
andPurchaseUnits
properties contain most of the information related to a specific order.Declaration
Swift
@objc(PPCOrderDetails) @objcMembers class OrderDetails : OrderActionData
extension 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 OrderPayer
extension OrderPayer : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol
-
The order request object is used to format the
orderRequest
for theCreateOrderAction
Create order documentationNote
This class is for use exclusively with the order v2 APIDeclaration
Swift
@objc(PPCOrderRequest) @objcMembers class OrderRequest
extension 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 PatchActionSuccess
extension 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
Note
- To make an update, you may optionally provide a
reference_id
. If you omit areference_id
, PayPal defaults to areference_id
ofdefault
.
Declaration
Swift
@objc(PPCPatchRequest) @objcMembers class PatchRequest
extension 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 PayLaterButtonUIConfiguration
extension 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 : PaymentButton
extension 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 PayPalButtonUIConfiguration
extension 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 : 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
-
Configuration for PayPal Credit Smart Payment Button.
See moreDeclaration
Swift
@objc(PPCPayPalCreditButtonUIConfiguration) @objcMembers class PayPalCreditButtonUIConfiguration
extension 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 : 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
-
The
See morePaymentButton
is 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 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, UITraitChangeObservable, UITraitEnvironment, UIUserActivityRestoring, __UITraitChangeObservable
-
These are different attributes to configure the native Smart Payment Button style.
See moreDeclaration
Swift
@objc(PPCPaymentButtonAttributes) @objcMembers class PaymentButtonAttributes
extension 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 PaymentButtonContainer
extension 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 PaymentFundingEligibilityState
extension PaymentFundingEligibilityState : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
class ProfileImageBubble
extension 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 PurchaseUnit
extension PurchaseUnit : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
class RateChangeView
extension 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 : TitledContentPage
extension 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
Next
instance 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 moreNext
closure 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 SessionIdentifiers
extension SessionIdentifiers : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
@objc(PPCShippingChange) @objcMembers final class ShippingChange
extension ShippingChange : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
@objc(PPCShippingChangeAction) @objcMembers class ShippingChangeAction
extension ShippingChangeAction : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
@objc(PPCShippingChangeAddress) @objcMembers final class ShippingChangeAddress
extension ShippingChangeAddress : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
class ShippingDetailsPage : ContentPage
extension 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 ShippingMethod
extension ShippingMethod : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol
-
Undocumented
See moreDeclaration
Swift
class ShippingView
extension 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 SuggestionsView
extension 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 : ContentPage
extension TitledContentPage : Equatable, StaticIdentifiable
-
Undocumented
See moreDeclaration
Swift
class TransitionLabel
extension 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 UnconstrainedTextLabel
extension 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 UnitAmount
extension UnitAmount : CVarArg, Comparable, CustomDebugStringConvertible, CustomStringConvertible, Decodable, Encodable, Equatable, Hashable, NSObjectProtocol
-
Data describing an approved vault flow
See moreDeclaration
Swift
@objc(PPCVaultData) @objcMembers class VaultData
extension VaultData : CVarArg, CustomDebugStringConvertible, CustomStringConvertible, Equatable, Hashable, NSObjectProtocol
-
Undocumented
Declaration