ItemDiscountRate Property
Rate of the discount for each line item (if any).
Syntax
ANSI (Cross Platform) char* GetItemDiscountRate(int iItemIndex);
int SetItemDiscountRate(int iItemIndex, const char* lpszItemDiscountRate); Unicode (Windows) LPWSTR GetItemDiscountRate(INT iItemIndex);
INT SetItemDiscountRate(INT iItemIndex, LPCWSTR lpszItemDiscountRate);
- (NSString*)itemDiscountRate:(int)itemIndex; - (void)setItemDiscountRate:(int)itemIndex:(NSString*)newItemDiscountRate;
#define PID_LEVEL3_ITEMDISCOUNTRATE 5 INPAY_EXTERNAL void* INPAY_CALL InPay_Level3_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); INPAY_EXTERNAL int INPAY_CALL InPay_Level3_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal); INPAY_EXTERNAL int INPAY_CALL InPay_Level3_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
""
Remarks
Rate of the discount for each line item (if any).
This property contains the discount percentage applied by the merchant to this line item. This property should be empty (or zero) if the ItemUnitCost reflects a discount price or if no line item discount applies.
The ItemIndex parameter specifies the index of the item in the array. The size of the array is controlled by the LineItemCount property.
This property is not available at design time.
Data Type
String