...Client
, and the configuration object would be a PayPalConfiguration
The functionality of the SDK is split between a number of merchant facing submodules. The modules associated with the payment methods you wish to use should be imported at the top of your file.
The first step in initializing any module of the SDK would be to create an instance of a PayPalConfiguration
.
This configuration object is shared across all the submodules of the PayPal iOS SDK. It contains the information that is needed across the modules to execute a transaction (except for the order information). The information passed into a configuration object should be known to the merchant at the beginning of their app lifecycle and would be static across transaction sessions
The PayPal SDK uses root client objects to facilitate communication between the integrating application and the SDK. Whichever payment method you wish to use, you can create an instance of the root client object using the shared configuration object
Once the client object is created, it is the window through which merchants can make requests and interact with the SDK.
/v2/checkout/orders/{id}/validate-payment-method
)
INTERNAL
per our internal API reference/v2/checkout/orders/{id}/confirm-payment-source
)
LIMITED-RELEASE
per our internal API reference