
com.braintreegateway.test.VenmoSdk Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of braintree-java Show documentation
Show all versions of braintree-java Show documentation
Java Client Library for Braintree Payments Gateway
package com.braintreegateway.test;
// NEXT_MAJOR_VERSION remove this class
// The old venmo SDK integration has been deprecated
@Deprecated
public class VenmoSdk {
public enum PaymentMethodCode {
Visa("4111111111111111"), Invalid("invalid-payment-method-code");
public String code;
private PaymentMethodCode(String number) {
this.code = VenmoSdk.generateTestPaymentMethodCode(number);
}
}
public static String generateTestPaymentMethodCode(String number) {
return "stub-" + number;
}
public enum Session {
Valid("stub-session"), Invalid("stub-invalid-session");
public String value;
private Session(String validity) {
this.value = validity;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy