E-Payment Integrator 2020 C++ Edition

Questions / Feedback?

ItemDiscountAmount Property

Amount of the discount for each line item (if any).

Syntax

ANSI (Cross Platform)
char* GetItemDiscountAmount(int iItemIndex);
int SetItemDiscountAmount(int iItemIndex, const char* lpszItemDiscountAmount); Unicode (Windows) LPWSTR GetItemDiscountAmount(INT iItemIndex);
INT SetItemDiscountAmount(INT iItemIndex, LPCWSTR lpszItemDiscountAmount);
- (NSString*)itemDiscountAmount:(int)itemIndex;
- (void)setItemDiscountAmount:(int)itemIndex:(NSString*)newItemDiscountAmount;
#define PID_LEVEL3_ITEMDISCOUNTAMOUNT 4

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

Amount of the discount for each line item (if any).

This property contains the amount of any discount 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

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