4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

PassengerNumber Property

Current passenger number (multiple passenger transport transactions only).

Syntax

[VB.NET]
Public Property PassengerNumber As Integer

[C#]
public int PassengerNumber {get; set;}

Remarks

This property is used to identify a specific passenger when there are multiple passengers on the same authorization. The PassengerCount indicates the total number of passengers for a specific authorization code, and the PassengerNumber indicates the current passenger. Only Visa card transactions can be captured for Passenger Transport industry type. You need to set additional required Passenger Transport related information using the respective configuration settings.

NOTE: Passenger Number cannot be greater than PassengerCount

To settle a Passenger Transport transaction authorized with the sitPassengerTransport IndustryType, you must use the TSYSDetailRecord component to add the number of this passenger and the total count of all passengers in the authorization code. For instance, if the authorization transaction included "Three passengers", and this is the first passenger, then the passenger number will be 1, and the passenger count 3. An example is included below:


  TSYSRetail.IndustryType = sitPassengerTransport
  TSYSRetail.Authorize()

  DetailRecord.ParseAggregate TSYSRetail.GetDetailAggregate()
  DetailRecord.PassengerCount = 3
  DetailRecord.PassengerNumber = 1
  DetailRecord.Config("RestrictedTicketIndicator=True")
  DetailRecord.Config("TicketNumber=8382152100395")
  DetailRecord.Config("PassengerName=John Smith")
  DetailRecord.Config("DepartureDate=072117")
  DetailRecord.Config("Origin=JFK")
  DetailRecord.Config("Leg1=Carrier=DL;ServiceClass=C;StopOver=X;Destination=LAX")
  
  TSYSSettle1.IndustryType = sitPassengerTransport
  TSYSSettle1.Config("TravelAgencyCode=12345678") 'if ticket was issued by a travel agency
  TSYSSettle1.Config("TravelAgencyName=Travel and Tours") 'if ticket was issued by a travel agency
  TSYSSettle1.DetailAggregate[5] = DetailRecord.GetDetailAggregate()

Default Value

1

 
 
Copyright (c) 2020 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7422]