public class PostReturnAddressController extends BaseController
httpCallBack| Constructor and Description |
|---|
PostReturnAddressController() |
| Modifier and Type | Method and Description |
|---|---|
String |
createPostReturnAddress(Address returnAddress)
Create post return address
|
void |
createPostReturnAddressAsync(Address returnAddress,
APICallBack<String> callBack)
Create post return address
|
String |
deletePostReturnAddress(int returnAddressId)
Delete specific post return address
|
void |
deletePostReturnAddressAsync(int returnAddressId,
APICallBack<String> callBack)
Delete specific post return address
|
static PostReturnAddressController |
getInstance()
Singleton pattern implementation
|
String |
getPostReturnAddress(int returnAddressId)
Get specific post return address
|
void |
getPostReturnAddressAsync(int returnAddressId,
APICallBack<String> callBack)
Get specific post return address
|
String |
getPostReturnAddresses()
Get list of post return addresses
|
void |
getPostReturnAddressesAsync(APICallBack<String> callBack)
Get list of post return addresses
|
String |
updatePostReturnAddress(int returnAddressId,
Address returnAddress)
Update post return address
|
void |
updatePostReturnAddressAsync(int returnAddressId,
Address returnAddress,
APICallBack<String> callBack)
Update post return address
|
getClientInstance, getHttpCallBack, setClientInstance, setHttpCallBack, validateResponsepublic static PostReturnAddressController getInstance()
public String updatePostReturnAddress(int returnAddressId, Address returnAddress) throws Throwable
returnAddressId - Required parameter: Example:returnAddress - Required parameter: Example:Throwablepublic void updatePostReturnAddressAsync(int returnAddressId,
Address returnAddress,
APICallBack<String> callBack)
throws com.fasterxml.jackson.core.JsonProcessingException
returnAddressId - Required parameter: Example:returnAddress - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String createPostReturnAddress(Address returnAddress) throws Throwable
returnAddress - Required parameter: Example:Throwablepublic void createPostReturnAddressAsync(Address returnAddress, APICallBack<String> callBack) throws com.fasterxml.jackson.core.JsonProcessingException
returnAddress - Required parameter: Example:com.fasterxml.jackson.core.JsonProcessingExceptionpublic String getPostReturnAddresses() throws Throwable
Throwablepublic void getPostReturnAddressesAsync(APICallBack<String> callBack)
public String getPostReturnAddress(int returnAddressId) throws Throwable
returnAddressId - Required parameter: Example:Throwablepublic void getPostReturnAddressAsync(int returnAddressId,
APICallBack<String> callBack)
returnAddressId - Required parameter: Example:public String deletePostReturnAddress(int returnAddressId) throws Throwable
returnAddressId - Required parameter: Example:Throwablepublic void deletePostReturnAddressAsync(int returnAddressId,
APICallBack<String> callBack)
returnAddressId - Required parameter: Example:Copyright © 2017. All rights reserved.