TicketNumber Property
Ticket (receipt) number for this transaction.
Object Oriented Interface
public function getTicketNumber(); public function setTicketNumber($value);
Procedural Interface
inpaydirect_fdmsdetailrecord_get($res, 21 ); inpaydirect_fdmsdetailrecord_set($res, 21, $value );
Default Value
''
Remarks
This property contains the Ticket number or Receipt of Charge (ROC) for this transaction. This may be optionally sent for any IndustryType, but it is required for Restaurant transactions that include a Gratuity.
The maximum length of this property is 10 digits.
For example, to add a gratuity to a charge:
FDMSDetailRecord.ParseAggregate(FDMSRetail.GetDetailAggregate()) FDMSDetailRecord.Gratuity = "500" FDMSDetailRecord.TransactionAmount = FDMSDetailRecord.TransactionAmount + FDMSDetailRecord.Gratuity FDMSSettle.DetailAggregate(0) = FDMSDetailRecord.GetDetailAggregate()
Data Type
String