*//////////////////////////////////////////////////////////////* * #g4ppnvp_getAccountBalance * * * Output: * * out_amount - The amount for the account (array) * * out_curCode - The currency code for the amount (array) * * out_corrID - The correlation ID returned from the call * * * * Returns: * * -1 for error, n for the number of amounts returned. * * * * Settable Variables ([r]=required) * * account - PayPal Account ID [r] * * return_all_currencies - Specify true to return all * * currencies or false to not return all currencies. * * reset - Reset Values After Call (*YES or *NO, Default *YES)* * ccsid - The CCSID to use (1208) * * debug - Turn on Debug (*NO, *YES) * * debug_file - The debug file name. * * (/tmp/g4pp_[account]_getAccountBalance) * * * *//////////////////////////////////////////////////////////////* D #g4ppnvp_getAccountBalance... D PR 10i 0 D out_amount 13 2 DIM(MAXAMTS) D out_curCode 256 DIM(MAXAMTS) D out_corrID 256 D out_errMsg 256 Options(*NOPASS) *--------------------------------------------------------------*#g4ppnvp_getAccountBalance is used to retrieve the account balance.
Returns: n for the number of balances for success, -1 for error.
Required Parameters:
Optional Parameters:
Settable Variables: