github braintree/braintree_android 4.0.0-beta3

latest releases: 5.2.0, 5.1.0, 5.0.0...
3 years ago
  • Add PaymentMethodType enum
  • Add PaymentMethodNonce#getType() method
  • Add wallet enabled metadata tag to AndroidManifest.xml in google-pay module
  • Bump browser-switch to 2.0.0-beta3
  • Callback BraintreeException on user cancellation of payment flows
  • Breaking Changes
    • Rename DownForMaintenanceException to ServiceUnavailableException
    • Remove GoogleApiClientException
    • Make BraintreeWalletConstants package-private
    • Make PaymentMethodNonceFactory package-private
    • Make GooglePayException constructor package-private
    • Make VisaCheckoutAccount package-private
    • Make VenmoAccount package-private
    • Return an IllegalArgumentException instead of GoogleApiClientException to GooglePayIsReadyToPayCallback#onResult() when activity is null
    • Refactor GetPaymentMethodNoncesCallback to have a single onResult() method instead of success() and failure()
    • Remove Context parameter from PaymentMethodClient#getPaymentMethodNonces
    • Rename PaymentMethodNonce#getNonce() to getString()
    • Move VenmoAccountNonce to Venmo module
    • Move AuthenticationInsight to Card module
    • Move BinData to Card module
    • Move Card to Card module
    • Move CardNonce to Card module
    • Move ThreeDSecureInfo to Card module
    • Move PayPalAccountNonce to PayPal module
    • Move PayPalCreditFinancing to PayPal module
    • Move PayPalCreditFinancingAmount to PayPal module
    • Move UnionPayCapabilities to UnionPay module
    • Move UnionPayCard to UnionPay module
    • Move VisaCheckoutAddress to VisaCheckout module
    • Move VisaCheckoutNonce to VisaCheckout module
    • Move VisaCheckoutUserData to VisaCheckout module
    • Remove PaymentMethodNonce#getTypeLabel() method
    • Remove PaymentMethodNoncesCallback
    • Remove PaymentMethodNonce#getDescription() method
    • BraintreeClient constructor no longer throws InvalidArgumentException
    • Make protected static member variables OPTIONS_KEY, OPERATION_NAME_KEY on PaymentMethod package-private
    • Make PaymentMethod constructor package-private
    • Rename setValidate to setShouldValidate and move it from PaymentMethod base class to Card subclass
    • Make buildJSON() package-private for PaymentMethod base class and all subclasses
    • Remove buildGraphQL() method from PaymentMethod base class and all subclasses
    • Make PaymentMethod Parcelable constructor package-private
    • Make PaymentMethod#writeToParcel() method package-private
    • Make PaymentMethod#getDefaultSource() method package-private
    • Make PaymentMethod#getDefaultIntegration() method package-private
    • Make getApiPath() method package-private in PaymentMethod base class and subclasses
    • Remove getResponsePaymentMethodType() method from PaymentMethod base class and subclasses
    • Make BaseCard class package-private

Don't miss a new braintree_android release

NewReleases is sending notifications on new releases.