OrderTotal Property
The total cost of the order to the customer.
Syntax
ANSI (Cross Platform) char* GetOrderTotal();
int SetOrderTotal(const char* lpszOrderTotal); Unicode (Windows) LPWSTR GetOrderTotal();
INT SetOrderTotal(LPCWSTR lpszOrderTotal);
@property (nonatomic,readwrite,assign,getter=orderTotal,setter=setOrderTotal:) NSString* orderTotal; - (NSString*)orderTotal; - (void)setOrderTotal:(NSString*)newOrderTotal;
#define PID_EXPRESSCHECKOUT_ORDERTOTAL 23 INPAY_EXTERNAL void* INPAY_CALL InPay_ExpressCheckout_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INPAY_EXTERNAL int INPAY_CALL InPay_ExpressCheckout_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
If shipping cost and tax charges are known, those should included in the OrderTotal if not, the value of this property is the current sub-total of the order.
This property is required when calling the CheckoutPayment method.
Limitations: Must not exceed $10,000 USD in any currency. The decimal separator must be a period (.) and the thousands separator a comma (,). No currency symbol ($) is to be sent.
Data Type
String