Package com.braintreegateway
Class TransactionRefundRequest
- java.lang.Object
-
- com.braintreegateway.Request
-
- com.braintreegateway.TransactionRefundRequest
-
public class TransactionRefundRequest extends Request
Provides a fluent interface to build up refund requests aroundTransactions.
-
-
Field Summary
Fields Modifier and Type Field Description private BigDecimalamountprivate StringmerchantAccountIdprivate StringorderId
-
Constructor Summary
Constructors Constructor Description TransactionRefundRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransactionRefundRequestamount(BigDecimal amount)protected RequestBuilderbuildRequest(String root)TransactionRefundRequestmerchantAccountId(String merchantAccountId)TransactionRefundRequestorderId(String orderId)StringtoQueryString()StringtoQueryString(String root)StringtoXML()-
Methods inherited from class com.braintreegateway.Request
buildXMLElement, buildXMLElement, getKind, toGraphQLVariables
-
-
-
-
Field Detail
-
amount
private BigDecimal amount
-
merchantAccountId
private String merchantAccountId
-
orderId
private String orderId
-
-
Method Detail
-
amount
public TransactionRefundRequest amount(BigDecimal amount)
-
orderId
public TransactionRefundRequest orderId(String orderId)
-
merchantAccountId
public TransactionRefundRequest merchantAccountId(String merchantAccountId)
-
toQueryString
public String toQueryString()
- Overrides:
toQueryStringin classRequest
-
toQueryString
public String toQueryString(String root)
- Overrides:
toQueryStringin classRequest
-
buildRequest
protected RequestBuilder buildRequest(String root)
-
-