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 org.apache.servicemix.bundles.braintree-java
Show all versions of org.apache.servicemix.bundles.braintree-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
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;
}
}
}