LineItemDiscountRate Property
Rate used to calculate the DiscountAmount .
Object Oriented Interface
public function getLineItemDiscountRate($lineitemindex); public function setLineItemDiscountRate($lineitemindex, $value);
Procedural Interface
inpaydirect_tsyshclevel3_get($res, 18 , $lineitemindex); inpaydirect_tsyshclevel3_set($res, 18, $value , $lineitemindex);
Default Value
''
Remarks
Rate used to calculate the LineItemDiscountAmount.
This property contains the rate used to calculate the LineItemDiscountAmount. This property is a two decimal value. All properties associated with a specific Line Item must be set with an identical ItemIndex index. This index must be incremented for each Line Item that is added. The ItemIdx ranges from 0 to LineItemCount - 1. This property is only used for MasterCard Corporate Purchasing Cards (CardType = ctMasterCard).
The size of the array is controlled by the LineItemCount property.
This property is not available at design time.
Data Type
String