Package paypal.payflow
Class ECUpdateBARequest
java.lang.Object
paypal.payflow.ExpressCheckoutRequest
paypal.payflow.ECUpdateBARequest
Used for ExpressCheckout UPDATE operation.
ECGetRequest
ECDoRequest-
Constructor Summary
ConstructorsConstructorDescriptionECUpdateBARequest(String BAId) Constructor for ECSetRequestECUpdateBARequest(String BAId, String BA_Status) Constructor for ECUpdateRequestECUpdateBARequest(String BAId, String BA_Status, String BA_Desc) Constructor for ECUpdateRequest -
Method Summary
Modifier and TypeMethodDescriptionprotected voidGets the BA_Desc parameter.Gets the BA_Status parameter.getBAId()Gets the BAId parameter.protected Contextprotected StringBufferGets the Requestbuffer used for creating the actual request string.voidsetBA_Desc(String BA_Desc) Sets the BA_Desc parameter.voidsetba_Status(String BA_Status) Sets the BA_Status parameter.voidSets the BAId parameter.protected voidsetContext(Context context) protected voidsetRequestBuffer(StringBuffer value) sets the StringBuffer to hold the request string.Methods inherited from class paypal.payflow.ExpressCheckoutRequest
getCountryCode, getDoReauthorization, getPostalCode, getToken, setCountryCode, setDoReauthorization, setPostalCode, setToken
-
Constructor Details
-
ECUpdateBARequest
Constructor for ECSetRequest- Parameters:
BAId- - String *ECUpdateRequest is used to set the data required for a Express Checkout UPDATE operation.
............. //Create the ECUpdateRequest object ECUpdateRequest updateEC = new ECUpdateRequest("baid"); .............
-
ECUpdateBARequest
Constructor for ECUpdateRequest- Parameters:
BAId- - StringBA_Status- - String *ECSetRequest is used to set the data required for a Express Checkout Update operation for Reference Transactions without Purchase.
............. //Create the ECUpdateRequest object ECUpdateRequest updateEC = new ECSetRequest("baid","ba_status"); .............
-
ECUpdateBARequest
Constructor for ECUpdateRequest- Parameters:
BAId- - StringBA_Status- - StringBA_Desc- - String *ECSetRequest is used to set the data required for a Express Checkout Update operation for Reference Transactions without Purchase.
............. //Create the ECUpdateRequest object ECUpdateRequest updateEC = new ECSetRequest("baid","ba_status", "ba_desc"); .............
-
-
Method Details
-
getBAId
Gets the BAId parameter.- Returns:
- - String
Maps to Payflow Parameter: BAID
-
setBAId
Sets the BAId parameter.- Parameters:
BAId- - StringMaps to Payflow Parameter: BAID
-
getba_Status
Gets the BA_Status parameter.- Returns:
- - String
Maps to Payflow Parameter: BA_STATUS
-
setba_Status
Sets the BA_Status parameter.- Parameters:
BA_Status- - StringMaps to Payflow Parameter: BA_STATUS
-
getBA_Desc
Gets the BA_Desc parameter.- Returns:
- - String
Maps to Payflow Parameter: BA_DESC
-
setBA_Desc
Sets the BA_Desc parameter.- Parameters:
BA_Desc- - StringMaps to Payflow Parameter: BA_DESC
-
generateRequest
protected void generateRequest()- Overrides:
generateRequestin classExpressCheckoutRequest
-
getContext
-
setContext
-
getRequestBuffer
Gets the Requestbuffer used for creating the actual request string.- Returns:
- mRequestBuffer StringBuffer
-
setRequestBuffer
sets the StringBuffer to hold the request string.- Parameters:
value- StringBuffer
-