com.braintreegateway
public class PaymentMethodRequest extends Request
| Modifier and Type | Field and Description |
|---|---|
private String |
customerId |
private PaymentMethodOptionsRequest |
optionsRequest |
private String |
paymentMethodNonce |
private String |
token |
| Constructor and Description |
|---|
PaymentMethodRequest() |
| Modifier and Type | Method and Description |
|---|---|
protected RequestBuilder |
buildRequest(String root) |
PaymentMethodRequest |
customerId(String customerId) |
String |
getToken() |
PaymentMethodOptionsRequest |
options() |
PaymentMethodRequest |
paymentMethodNonce(String paymentMethodNonce) |
PaymentMethodRequest |
token(String token) |
String |
toXML() |
buildXMLElement, buildXMLElement, getKind, toQueryString, toQueryStringprivate String paymentMethodNonce
private String customerId
private String token
private PaymentMethodOptionsRequest optionsRequest
public PaymentMethodRequest paymentMethodNonce(String paymentMethodNonce)
public PaymentMethodRequest customerId(String customerId)
public PaymentMethodOptionsRequest options()
public String getToken()
public PaymentMethodRequest token(String token)
protected RequestBuilder buildRequest(String root)
Copyright © 2013-2014. All Rights Reserved.