- Add
PaymentMethodType
enum - Add
PaymentMethodNonce#getType()
method - Add wallet enabled metadata tag to
AndroidManifest.xml
ingoogle-pay
module - Bump
browser-switch
to2.0.0-beta3
- Callback
BraintreeException
on user cancellation of payment flows - Breaking Changes
- Rename
DownForMaintenanceException
toServiceUnavailableException
- 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 ofGoogleApiClientException
toGooglePayIsReadyToPayCallback#onResult()
when activity is null - Refactor
GetPaymentMethodNoncesCallback
to have a singleonResult()
method instead ofsuccess()
andfailure()
- Remove
Context
parameter fromPaymentMethodClient#getPaymentMethodNonces
- Rename
PaymentMethodNonce#getNonce()
togetString()
- Move
VenmoAccountNonce
toVenmo
module - Move
AuthenticationInsight
toCard
module - Move
BinData
toCard
module - Move
Card
toCard
module - Move
CardNonce
toCard
module - Move
ThreeDSecureInfo
toCard
module - Move
PayPalAccountNonce
toPayPal
module - Move
PayPalCreditFinancing
toPayPal
module - Move
PayPalCreditFinancingAmount
toPayPal
module - Move
UnionPayCapabilities
toUnionPay
module - Move
UnionPayCard
toUnionPay
module - Move
VisaCheckoutAddress
toVisaCheckout
module - Move
VisaCheckoutNonce
toVisaCheckout
module - Move
VisaCheckoutUserData
toVisaCheckout
module - Remove
PaymentMethodNonce#getTypeLabel()
method - Remove
PaymentMethodNoncesCallback
- Remove
PaymentMethodNonce#getDescription()
method BraintreeClient
constructor no longer throwsInvalidArgumentException
- Make protected static member variables
OPTIONS_KEY
,OPERATION_NAME_KEY
onPaymentMethod
package-private - Make
PaymentMethod
constructor package-private - Rename
setValidate
tosetShouldValidate
and move it fromPaymentMethod
base class toCard
subclass - Make
buildJSON()
package-private forPaymentMethod
base class and all subclasses - Remove
buildGraphQL()
method fromPaymentMethod
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 inPaymentMethod
base class and subclasses - Remove
getResponsePaymentMethodType()
method fromPaymentMethod
base class and subclasses - Make
BaseCard
class package-private
- Rename