- Add
setCountryCode
toGooglePayRequest
- Add Google Pay support for Elo cards.
- Add
VenmoRequest
- Add new classes for 3DS2 UI Customization:
ThreeDSecureV2UiCustomization
ThreeDSecureV2ButtonCustomization
ThreeDSecureV2LabelCustomization
ThreeDSecureV2TextBoxCustomization
ThreeDSecureV2ToolbarCustomization
- Add
PayPalCheckoutRequest
- Add
PayPalVaultRequest
- Add
tokenizePayPalAccount
method toPayPalClient
- Add
requestBillingAgreement
toPayPalCheckoutRequest
- Fix issue where
onBrowserSwitchResult
crashes ifbrowserSwitchResult
is null - Add
ThreeDSecureResult
- Bump
browser-switch
to2.0.0-beta2
- Breaking Changes
- Make
AmericanExpressRewardsBalance#fromJson()
package-private - Make
TYPE
andAPI_RESOURCE_KEY
inCardNonce
package-private - Make
CardNonce#fromJson()
methods package-private - Make
CardNonce
constructor package-private - Make
TYPE
,API_RESOURCE_KEY
,PAYMENT_METHOD_DATA_KEY
,TOKENIZATION_DATA_KEY
andTOKEN_KEY
inPayPalAccountNonce
package-private - Make
PayPalAccountNonce#fromJson()
methods package-private - Make
PayPalAccountNonce
constructor package-private - Make
DATA_KEY
andTOKEN_KEY
inPaymentMethodNonce
package-private - Make
PaymentMethodNonce#fromJson()
package-private - Make
PaymentMethodNonce#parsePayentMethodNonces()
methods package-private - Make
PaymentMethodNonces
constructor package-private - Make
ThreeDSecureAuthenticationResponse#fromJson()
package-private - Make
ThreeDSecureAuthenticationResponse
constructor package-private - Make
ThreeDSecureInfo#fromJson()
package-private - Make
ThreeDSecureInfo#setThreeDSecureAuthenticationResponse()
package-private - Make
ThreeDSecureLookup#fromJson()
package-private - Make
TYPE
andAPI_RESOURCE_KEY
inVenmoAccountNonce
package-private - Make
VenmoAccountNonce#fromJson()
methods package-private - Make
VenmoAccountNonce
constructor package-private - Make
VenmoAccountNonce
parcelable constructor private - Make
TYPE
andAPI_RESOURCE_KEY
inVisaCheckoutNonce
package-private - Make
VisaCheckoutNonce#fromJson()
methods package-private - Make
VisaCheckoutNonce
constructor package-private - Make
API_RESOURCE_KEY
inGooglePayCardNonce
package-private - Make
GooglePayCardNonce#fromJson()
methods package-private - Make
GooglePayCardNonce#postalAddressFromJson()
package-private - Make
GooglePayCardNonce
constructor package-private - Make
API_RESOURCE_KEY
inLocalPaymentNonce
package-private - Make
LocalPaymentNonce#fromJson()
methods package-private - Make
LocalPaymentNonce
constructor package-private - Make
GooglePayClient#tokenize()
package-private - The
shippingMethod
property onThreeDSecureRequest
is now an enum rather than a string. Possible values:SAME_DAY
EXPEDITED
PRIORITY
GROUND
ELECTRONIC_DELIVERY
SHIP_TO_STORE
- Change default
versionRequested
onThreeDSecureRequest
toThreeDSecureVersion.VERSION_2
- Rename
uiCustomization
onThreeDSecureRequest
tov2UiCustomization
and change parameter toThreeDSecureV2UiCustomization
- Update setters on
V1UiCustomization
to remove method chaining - Change Cardinal dependency from
api
toimplementation
- Replace
VenmoClient#authorizeAccount()
withVenmoClient#tokenizeVenmoAccount()
- Rename
VenmoAuthorizeAccountCallback
toVenmoTokenizeAccountCallback
- Remove
activity
parameter fromGooglePayClient#onActivityResult()
- Remove
activity
parameter fromGooglePayClient#getTokenizationParameters()
- Update
PayPalClient#requestOneTimePayment()
to expect aPayPalCheckoutRequest
and deprecate method - Update
PayPalClient#requestBillingAgreement()
to expect aPayPalVaultRequest
and deprecate method - Make
PayPalRequest
abstract - Update
PayPalRequest
setter method names and remove method chaining - Make
PayPalAccountBuilder
package-private - Remove
ThreeDSecureClient#performVerification()
convenience overload - Remove
ThreeDSecureAuthenticationResponse
- Remove
errorMessage
andthreeDSecureAuthenticationResponse
properties fromThreeDSecureInfo
- Remove
cardNonce
property fromThreeDSecureLookup
- Remove
ThreeDSecureLookupCallback
- Remove
firstName
andlastName
properties fromThreeDSecurePostalAddress
- Update
ThreeDSecureResultCallback
to expect aThreeDSecureResult
parameter - Update
ThreeDSecureClient#continuePerformVerification()
to expect aThreeDSecureResult
parameter - Update callback type in
ThreeDSecureClient#initializeChallengeWithLookupResponse
methods - Replace
CardBuilder
withCard
- Replace
BaseCardBuilder
withBaseCard
- Replace
PaymentMethodBuilder
withPaymentMethod
- Replace
UnionPayCardBuilder
withUnionPayCard
- Replace
PayPalAccountBuilder
withPayPalAccount
- Replace
VenmoAccountBuilder
withVenmoAccount
- Replace
VisaCheckoutBuilder
withVisaCheckoutAccount
- Remove builder pattern from the following classes:
PostalAddress
GooglePayRequest
ReadyForGooglePayRequest
LocalPaymentRequest
ThreeDSecureAdditionalInformation
ThreeDSecurePostalAddress
ThreeDSecureRequest
- Rename
PayPalPaymentIntent
enums:INTENT_ORDER
toORDER
INTENT_SALE
toSALE
INTENT_AUTHORIZE
toAUTHORIZE
- Remove
paymentRequested
param fromGooglePayRequestPaymentCallback
- Refactor
BraintreeClient
constructor to take aString
instead ofAuthorization
and change parameter ordering - Make
Authorization
package-private - Make
TokenizationKey
package-private - Make
ClientToken
package-private - Make
PayPalUAT
package-private
- Make