SyncTransfers Event

Fired for each intrabank transfer transaction included in the synchronization response.

Syntax

ANSI (Cross Platform)
virtual int FireSyncTransfers(BankTransferSyncTransfersEventParams *e);
typedef struct {
const char *TransferAggregate;
const char *TransferTxType;
const char *TransferId;
const char *TransferAmount;
const char *FromAccountId;
const char *ToAccountId;
const char *TransferStatus;
const char *TransferDatePosted; int reserved; } BankTransferSyncTransfersEventParams; Unicode (Windows) virtual INT FireSyncTransfers(BankTransferSyncTransfersEventParams *e);
typedef struct {
LPCWSTR TransferAggregate;
LPCWSTR TransferTxType;
LPCWSTR TransferId;
LPCWSTR TransferAmount;
LPCWSTR FromAccountId;
LPCWSTR ToAccountId;
LPCWSTR TransferStatus;
LPCWSTR TransferDatePosted; INT reserved; } BankTransferSyncTransfersEventParams;
- (void)onSyncTransfers:(NSString*)transferAggregate :(NSString*)transferTxType :(NSString*)transferId :(NSString*)transferAmount :(NSString*)fromAccountId :(NSString*)toAccountId :(NSString*)transferStatus :(NSString*)transferDatePosted;
#define EID_BANKTRANSFER_SYNCTRANSFERS 5

virtual INT IPWORKSOFX_CALL FireSyncTransfers(LPSTR &lpszTransferAggregate, LPSTR &lpszTransferTxType, LPSTR &lpszTransferId, LPSTR &lpszTransferAmount, LPSTR &lpszFromAccountId, LPSTR &lpszToAccountId, LPSTR &lpszTransferStatus, LPSTR &lpszTransferDatePosted);

Remarks

When this event is fired for each intrabank transfer transaction included in the response (if any), the following are returned for each transfer transaction identified by TransferId:

  • TransferAggregate contains the aggregate for a transfer transaction.
  • TransferTx indicates the transfer transaction type, if this is a new, modified or canceled one (possible values: ADD, MOD, CAN).
  • TransferId contains the server id of a transaction in the list of transfers (if any) returned in the synchronization response.
  • TransferAmount contains the amount of a transfer transaction.
  • FromAccountId contains the account number a transfer has been sent from.
  • ToAccountId contains the account number a transfer has been sent to.
  • TransferStatus contains the status of a transfer transaction.
  • TransferDatePosted contains the actual date of a transfer transaction.

If what you need is not returned through this event, you can always parse each TransferAggregate using our OFXAggregate component.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OFX 2020 C++ Edition - Version 20.0 [Build 7941]