NAME

FedEx::ShipAPI - Interface to the FedEx API libraries (Win32 ONLY!!)

SYNOPSIS

use FedEx::ShipAPI;
my $s = new FedEx::ShipAPI(host=>'127.0.0.1', port=>6970);
$s->connect() or die $FedEx::ShipAPI::errstr;
$s->transaction(XXXX);
$s->disconnect();

API

int WEBAPIConnect(char *system, int port, char *userId, char *passWord);
int WEBAPITransaction(char *sBuf, int sBufLen, char *rBuf, int rBufLen, int *actualRecvBufLen);
int WEBAPIDisconnect(void);
int WEBAPIReceive(char *rBuf, int rBufLen, int *actualRecvBufLen, int *rBufType);
int WEBAPISend(char *sBuf, int sBufLen, int sBufType);
int WEBAPISetLogFile(char *fileName);
void WEBAPISetLogMode(int mode);
int WEBAPISetTraceFile(char *fileName);
void WEBAPISetTraceMode(int mode);
void WEBAPISetReadTimeout(int duration);

DESCRIPTION

Use this to bounce transactions off the FedEx gateway shipping server

EXPORT

None by default.

AUTHOR

Alex Schmelkin, alex@davanita.com

SEE ALSO

Business::FedEx Business::FedEx::Constants Business::FedEx::ShipRequest