- Make
PayPalRequest
and subclassesParcelable
- Add getters to data classes to improve support for Kotlin synthesized properties
- Add
displayName
property toVenmoRequest
- Bump
browser-switch
to2.0.0
- Breaking Changes
- Rename
LocalPaymentTransaction
toLocalPaymentResult
- Rename
LocalPaymentClient#approveTransaction()
toLocalPaymentClient#approvePayment()
- Make
PayPalCreditFinancing#fromJson()
package-private - Make
PayPalCreditFinancingAmount#fromJson()
package-private - Make
UnionPayCapabilities#fromJson()
package-private - Make
PaymentMethodClient#parsePaymentMethodNonces()
package-private - Return
UserCanceledException
on user cancellation - Remove
DataCollector#collectPayPalDeviceData()
- Remove
DataCollector#collectRiskData()
- Make
DataCollector#getPayPalClientMetadataId()
private - Remove
PaymentMethodClient
- Remove
PaymentMethodType
- Remove
PaymentMethodDeleteException
- Remove
GetPaymentMethodNoncesCallback
- Remove
DeletePaymentMethodNonceCallback
- Use primitives instead of boxed types where possible
- Add nullability annotations to public methods
- Remove
Context
parameter fromCardClient#tokenize()
method - Fix typo in
ThreeDSecureAdditionalInformation#getPaymentAccountIndicator()
method name
- Rename
Note: Includes all changes in 4.0.0-beta1, 4.0.0-beta2, and 4.0.0-beta3