getErrorCode method
API to get error code of the AddressControl.
Return The error code.
The returned value can be one of the following error codes:
[SpaySdk.ERROR_BILLING_ADDRESS_INVALID]
[SpaySdk.ERROR_BILLING_ADDRESS_NOT_EXIST]
[SpaySdk.ERROR_SHIPPING_ADDRESS_INVALID]
[SpaySdk.ERROR_SHIPPING_ADDRESS_UNABLE_TO_SHIP]
[SpaySdk.ERROR_SHIPPING_ADDRESS_NOT_EXIST]
Implementation
int? getErrorCode(){
return errorCode;
}