PurchaseAmount Property
Purchase amount to be authorized.
Syntax
ANSI (Cross Platform) char* GetPurchaseAmount();
int SetPurchaseAmount(const char* lpszPurchaseAmount); Unicode (Windows) LPWSTR GetPurchaseAmount();
INT SetPurchaseAmount(LPCWSTR lpszPurchaseAmount);
@property (nonatomic,readwrite,assign,getter=purchaseAmount,setter=setPurchaseAmount:) NSString* purchaseAmount; - (NSString*)purchaseAmount; - (void)setPurchaseAmount:(NSString*)newPurchaseAmount;
#define PID_SERVER_PURCHASEAMOUNT 68 IPWORKS3DS_EXTERNAL void* IPWORKS3DS_CALL IPWorks3DS_Server_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKS3DS_EXTERNAL int IPWORKS3DS_CALL IPWorks3DS_Server_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This field contains the purchase amount to be authorized. The transaction amount is to be presented with an implied decimal point. For example, US $10.00 must be represented as 1000, and $0.10 is likewise simply 10. The allowable number of significant digits as well as the positioning of any implied decimal point is dictated by the designated PurchaseExponent. This field may not contain a negative number.
Data Type
String