github braintree/braintree_android 4.0.0-beta2

latest releases: 5.2.0, 5.1.0, 5.0.0...
3 years ago
  • Add setCountryCode to GooglePayRequest
  • 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 to PayPalClient
  • Add requestBillingAgreement to PayPalCheckoutRequest
  • Fix issue where onBrowserSwitchResult crashes if browserSwitchResult is null
  • Add ThreeDSecureResult
  • Bump browser-switch to 2.0.0-beta2
  • Breaking Changes
    • Make AmericanExpressRewardsBalance#fromJson() package-private
    • Make TYPE and API_RESOURCE_KEY in CardNonce 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 and TOKEN_KEY in PayPalAccountNonce package-private
    • Make PayPalAccountNonce#fromJson() methods package-private
    • Make PayPalAccountNonce constructor package-private
    • Make DATA_KEY and TOKEN_KEY in PaymentMethodNonce 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 and API_RESOURCE_KEY in VenmoAccountNonce package-private
    • Make VenmoAccountNonce#fromJson() methods package-private
    • Make VenmoAccountNonce constructor package-private
    • Make VenmoAccountNonce parcelable constructor private
    • Make TYPE and API_RESOURCE_KEY in VisaCheckoutNonce package-private
    • Make VisaCheckoutNonce#fromJson() methods package-private
    • Make VisaCheckoutNonce constructor package-private
    • Make API_RESOURCE_KEY in GooglePayCardNonce package-private
    • Make GooglePayCardNonce#fromJson() methods package-private
    • Make GooglePayCardNonce#postalAddressFromJson() package-private
    • Make GooglePayCardNonce constructor package-private
    • Make API_RESOURCE_KEY in LocalPaymentNonce package-private
    • Make LocalPaymentNonce#fromJson() methods package-private
    • Make LocalPaymentNonce constructor package-private
    • Make GooglePayClient#tokenize() package-private
    • The shippingMethod property on ThreeDSecureRequest is now an enum rather than a string. Possible values:
      • SAME_DAY
      • EXPEDITED
      • PRIORITY
      • GROUND
      • ELECTRONIC_DELIVERY
      • SHIP_TO_STORE
    • Change default versionRequested on ThreeDSecureRequest to ThreeDSecureVersion.VERSION_2
    • Rename uiCustomization on ThreeDSecureRequest to v2UiCustomization and change parameter to ThreeDSecureV2UiCustomization
    • Update setters on V1UiCustomization to remove method chaining
    • Change Cardinal dependency from api to implementation
    • Replace VenmoClient#authorizeAccount() with VenmoClient#tokenizeVenmoAccount()
    • Rename VenmoAuthorizeAccountCallback to VenmoTokenizeAccountCallback
    • Remove activity parameter from GooglePayClient#onActivityResult()
    • Remove activity parameter from GooglePayClient#getTokenizationParameters()
    • Update PayPalClient#requestOneTimePayment() to expect a PayPalCheckoutRequest and deprecate method
    • Update PayPalClient#requestBillingAgreement() to expect a PayPalVaultRequest 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 and threeDSecureAuthenticationResponse properties from ThreeDSecureInfo
    • Remove cardNonce property from ThreeDSecureLookup
    • Remove ThreeDSecureLookupCallback
    • Remove firstName and lastName properties from ThreeDSecurePostalAddress
    • Update ThreeDSecureResultCallback to expect a ThreeDSecureResult parameter
    • Update ThreeDSecureClient#continuePerformVerification() to expect a ThreeDSecureResult parameter
    • Update callback type in ThreeDSecureClient#initializeChallengeWithLookupResponse methods
    • Replace CardBuilder with Card
    • Replace BaseCardBuilder with BaseCard
    • Replace PaymentMethodBuilder with PaymentMethod
    • Replace UnionPayCardBuilder with UnionPayCard
    • Replace PayPalAccountBuilder with PayPalAccount
    • Replace VenmoAccountBuilder with VenmoAccount
    • Replace VisaCheckoutBuilder with VisaCheckoutAccount
    • Remove builder pattern from the following classes:
      • PostalAddress
      • GooglePayRequest
      • ReadyForGooglePayRequest
      • LocalPaymentRequest
      • ThreeDSecureAdditionalInformation
      • ThreeDSecurePostalAddress
      • ThreeDSecureRequest
    • Rename PayPalPaymentIntent enums:
      • INTENT_ORDER to ORDER
      • INTENT_SALE to SALE
      • INTENT_AUTHORIZE to AUTHORIZE
    • Remove paymentRequested param from GooglePayRequestPaymentCallback
    • Refactor BraintreeClient constructor to take a String instead of Authorization and change parameter ordering
    • Make Authorization package-private
    • Make TokenizationKey package-private
    • Make ClientToken package-private
    • Make PayPalUAT package-private

Don't miss a new braintree_android release

NewReleases is sending notifications on new releases.