Package com.braintreegateway
Class PaymentMethodRequest
- java.lang.Object
-
- com.braintreegateway.Request
-
- com.braintreegateway.PaymentMethodRequest
-
public class PaymentMethodRequest extends Request
-
-
Field Summary
Fields Modifier and Type Field Description private StringbillingAddressIdprivate PaymentMethodAddressRequestbillingAddressRequestprivate StringcardholderNameprivate StringcustomerIdprivate Stringcvvprivate StringdeviceDataprivate StringdeviceSessionIdprivate StringexpirationDateprivate StringexpirationMonthprivate StringexpirationYearprivate StringfraudMerchantIdprivate Stringnumberprivate PaymentMethodOptionsRequestoptionsRequestprivate StringpaymentMethodNonceprivate StringpaymentMethodTokenprivate StringpaypalRefreshTokenprivate StringthreeDSecureAuthenticationIdprivate PaymentMethodThreeDSecurePassThruRequestthreeDSecurePassThruRequestprivate Stringtokenprivate StringvenmoSdkPaymentMethodCode
-
Constructor Summary
Constructors Constructor Description PaymentMethodRequest()
-
Method Summary
-
Methods inherited from class com.braintreegateway.Request
buildXMLElement, buildXMLElement, getKind, toGraphQLVariables, toQueryString, toQueryString
-
-
-
-
Field Detail
-
paymentMethodNonce
private String paymentMethodNonce
-
customerId
private String customerId
-
token
private String token
-
optionsRequest
private PaymentMethodOptionsRequest optionsRequest
-
billingAddressRequest
private PaymentMethodAddressRequest billingAddressRequest
-
billingAddressId
private String billingAddressId
-
deviceData
private String deviceData
-
cardholderName
private String cardholderName
-
cvv
private String cvv
-
deviceSessionId
private String deviceSessionId
-
fraudMerchantId
private String fraudMerchantId
-
expirationDate
private String expirationDate
-
expirationMonth
private String expirationMonth
-
expirationYear
private String expirationYear
-
number
private String number
-
paymentMethodToken
private String paymentMethodToken
-
paypalRefreshToken
private String paypalRefreshToken
-
threeDSecureAuthenticationId
private String threeDSecureAuthenticationId
-
venmoSdkPaymentMethodCode
private String venmoSdkPaymentMethodCode
-
threeDSecurePassThruRequest
private PaymentMethodThreeDSecurePassThruRequest threeDSecurePassThruRequest
-
-
Method Detail
-
paymentMethodNonce
public PaymentMethodRequest paymentMethodNonce(String paymentMethodNonce)
-
customerId
public PaymentMethodRequest customerId(String customerId)
-
cvv
public PaymentMethodRequest cvv(String cvv)
-
deviceSessionId
@Deprecated public PaymentMethodRequest deviceSessionId(String deviceSessionId)
Deprecated.
-
fraudMerchantId
@Deprecated public PaymentMethodRequest fraudMerchantId(String fraudMerchantId)
Deprecated.
-
expirationDate
public PaymentMethodRequest expirationDate(String expirationDate)
-
expirationMonth
public PaymentMethodRequest expirationMonth(String expirationMonth)
-
expirationYear
public PaymentMethodRequest expirationYear(String expirationYear)
-
number
public PaymentMethodRequest number(String number)
-
paypalRefreshToken
public PaymentMethodRequest paypalRefreshToken(String paypalRefreshToken)
-
venmoSdkPaymentMethodCode
@Deprecated public PaymentMethodRequest venmoSdkPaymentMethodCode(String venmoSdkPaymentMethodCode)
Deprecated.- The Venmo SDK integration is Unsupported. Please update your integration to use Pay with Venmo instead
-
threeDSecureAuthenticationId
public PaymentMethodRequest threeDSecureAuthenticationId(String threeDSecureAuthenticationId)
-
options
public PaymentMethodOptionsRequest options()
-
getToken
public String getToken()
-
getCustomerId
public String getCustomerId()
-
token
public PaymentMethodRequest token(String token)
-
paymentMethodToken
public PaymentMethodRequest paymentMethodToken(String paymentMethodToken)
-
deviceData
public PaymentMethodRequest deviceData(String deviceData)
-
cardholderName
public PaymentMethodRequest cardholderName(String cardholderName)
-
billingAddress
public PaymentMethodAddressRequest billingAddress()
-
billingAddressId
public PaymentMethodRequest billingAddressId(String billingAddressId)
-
threeDSecurePassThruRequest
public PaymentMethodThreeDSecurePassThruRequest threeDSecurePassThruRequest()
-
buildRequest
protected RequestBuilder buildRequest(String root)
-
-