com.braintreegateway
Class MerchantAccountRequest

java.lang.Object
  extended by com.braintreegateway.Request
      extended by com.braintreegateway.MerchantAccountRequest

public class MerchantAccountRequest
extends Request

Provides a fluent interface to build up requests around MerchantAccounts.


Field Summary
private  ApplicantDetailsRequest applicantDetails
           
private  String id
           
private  String masterMerchantAccountId
           
private  boolean tosAccepted
           
 
Constructor Summary
MerchantAccountRequest()
           
 
Method Summary
 ApplicantDetailsRequest applicantDetails()
           
protected  RequestBuilder buildRequest(String root)
           
 MerchantAccountRequest id(String id)
           
 MerchantAccountRequest masterMerchantAccountId(String masterMerchantAccountId)
           
 String toQueryString()
           
 String toQueryString(String root)
           
 MerchantAccountRequest tosAccepted(boolean accepted)
           
 String toXML()
           
 
Methods inherited from class com.braintreegateway.Request
buildXMLElement, buildXMLElement, getKind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicantDetails

private ApplicantDetailsRequest applicantDetails

tosAccepted

private boolean tosAccepted

masterMerchantAccountId

private String masterMerchantAccountId

id

private String id
Constructor Detail

MerchantAccountRequest

public MerchantAccountRequest()
Method Detail

id

public MerchantAccountRequest id(String id)

applicantDetails

public ApplicantDetailsRequest applicantDetails()

masterMerchantAccountId

public MerchantAccountRequest masterMerchantAccountId(String masterMerchantAccountId)

tosAccepted

public MerchantAccountRequest tosAccepted(boolean accepted)

toQueryString

public String toQueryString()
Overrides:
toQueryString in class Request

toQueryString

public String toQueryString(String root)
Overrides:
toQueryString in class Request

toXML

public String toXML()
Overrides:
toXML in class Request

buildRequest

protected RequestBuilder buildRequest(String root)


Copyright © 2013. All Rights Reserved.