home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / dssenum.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  1.6 KB  |  68 lines

  1. #ifndef DSSENUM_H
  2. #pragma option push -b -a8 -pc -A- /*P_O_Push*/
  3. #define DSSENUM_H
  4. // DSSENUM.H
  5.  
  6. // STOCKBPCEVENT enumeration has been removed.  The allowable values
  7. //  of events fired to the CA Server are those defined as constants
  8. //  in the "CAEvent Interface" section of CAODL.H.
  9.  
  10. // Upper edge purchase actions
  11.  
  12.     typedef enum PURCHASEACTION {
  13.         PAGETDETAILS,
  14.         PAPURCHASETOVIEW,
  15.         PAPURCHASETOTAPE,
  16.         PACANCELVIEW,
  17.         PACANCELTAPE,
  18.         PAPREVIEW,
  19.         PAGETEXTENDEDINFO
  20.     } PURCHASEACTION;
  21.  
  22. // note that the bit mapping used here allows, for DSS, the direct conversion
  23. // of lower edge status into upper edge status.
  24.     typedef enum PURCHASESTATUS {
  25.         PSVIEWTAKEN = 0,
  26.         PSVIEWCANCELLED,
  27.         PSVIEWREPORTED,
  28.         PSPREVIEWTAKEN,
  29.  
  30.         PSVIEWAUTHORIZED,
  31.         PSVIEWPURCHASED,
  32.         PSTAPEPURCHASED,
  33.         PSTAPEAUTHORIZED,
  34.  
  35.         PSTAPETAKEN,
  36.         PSTAPECANCELLED,
  37.         PSTAPEREPORTED,
  38.         PSVIEWAVAILABLE,
  39.  
  40.         PSTAPEAVAILABLE,
  41.         PSREVIEWAVAILABLE
  42.     } PURCHASESTATUS;
  43.  
  44. // Reason values returned in BPCDetails when purchase actions are
  45. //  attempted.
  46.     typedef enum PURCHASEREASON {
  47.         PRSUCCESS = 0,
  48.         PRNOCALLBACK,
  49.         PRNOSUBSCRIBER,
  50.         PRRATING,
  51.         PRSPENDING,
  52.         PRCREDIT,
  53.         PRWRONGCARD,
  54.         PRCARDFULL,
  55.         PRBLOCKED,
  56.         PRBLACKOUT,
  57.         PRTOOLATE,
  58.         PRREDUNDANT,
  59.         PRPPVFAILURE,
  60.         PRBADDATA,
  61.         PRCONTENTION,
  62.         PRNOCARD,
  63.         PRNOPIP
  64.     } PURCHASEREASON;
  65.  
  66. #pragma option pop /*P_O_Pop*/
  67. #endif
  68.