TIM SDK
TIM API C
resource_parameter_type.h File Reference

Description

Parameter type

Classifies the value of the <sixml:ResourceParameter> tag.

The following values are valid:

Copyright: SIX Payment Services.

Typedefs

typedef enum ta_e_resource_parameter_type ta_e_resource_parameter_type_t
 

Enumerations

enum  ta_e_resource_parameter_type {
  ta_c_rpt_undefined, ta_c_rpt_code_check_type, ta_c_rpt_code_check_key_id, ta_c_rpt_code_check_data,
  ta_c_rpt_regular_data_query_type, ta_c_rpt_regular_data, ta_c_rpt_petrol_card_data1, ta_c_rpt_petrol_card_data2,
  ta_c_rpt_petrol_card_data3, ta_c_rpt_active_readers, ta_c_rpt_exponent
}
 

Typedef Documentation

◆ ta_e_resource_parameter_type_t

Parameter type

Classifies the value of the <sixml:ResourceParameter> tag.

The following values are valid:

Specification: dialog.

Enumeration Type Documentation

◆ ta_e_resource_parameter_type

Parameter type

Classifies the value of the <sixml:ResourceParameter> tag.

The following values are valid:

Specification: dialog.

Enumerator
ta_c_rpt_undefined 

Undefined/invalid value.

ta_c_rpt_code_check_type 

Type of code check to perform.

  • 0: EMV - Check using EMV PIN check.
  • 1: SwissPost - SwissPost Card algorithm.
  • 2: Avia - Use Aviacard algorithm.
  • 3: SB - Use Scheit & Bachmann algorithm.
  • 4: Tokheim - Use Tokheim algorithm
  • 5: Agrola - Use Agrola algorithm
  • 6: Bica - Use Bica algorithm
  • 7: CTAC - Use CTAC algorithm
  • 8: DASAG - Use DASAG algorithm
  • 9: DKV - Use DKV algorithm
  • 10: Esso - Use Esso algorithm
  • 11: Migrol - Use Migrol algorithm
  • 12: Oelpool - Use Oelpool algorithm
  • 13: Pronto - Use Pronto algorithm
  • 14: Shell - Use Shell algorithm
  • 15: WLDC - Use WLDC algorithm
  • 16: Hectronic - Use HecPAC algorithm
  • 17: Diplomatkarte - Use Diplomatkarten algorithm
  • 18: Micrelec - Use the Micrelec algorithm

This value is to be encoded as a ascii number i.e. using characters in the range 30h to 39h.

Specification: dialog.

ta_c_rpt_code_check_key_id 

Key id of the key to use for the selected CodeCheckType .

  • 0: Tokheim key id.
  • 1: HecPAC key id.
  • 2: DASAG key id.
  • 3: Diplomatkarten key id.
  • 4: Micrelec key id
  • 5000: Start of test key range.
  • 5002: DASAG test key id.

This value is to be encoded as a ascii number i.e. using characters in the range 30h to 39h.

Specification: dialog.

ta_c_rpt_code_check_data 

Data used in the calculation of some CodeCheckType s. This value is to be encoded as hex string.

Specification: dialog.

ta_c_rpt_regular_data_query_type 

Type of query to receive data about regulars.

  • StfkV1: Version 1 regular data query type in Austria.
  • StfkV4: Version 4 regular data query type in Austria.

This value is to be encoded as a ascii string.

Specification: dialog.

ta_c_rpt_regular_data 

Customer data of the regular.

Specification: dialog.

ta_c_rpt_petrol_card_data1 

Track 1 of a petrol card. This value is to be encoded as a ascii string.

Specification: dialog.

ta_c_rpt_petrol_card_data2 

Track 2 of a petrol card. This value is to be encoded as a ascii string.

Specification: dialog.

ta_c_rpt_petrol_card_data3 

Track 3 of a petrol card. This value is to be encoded as a ascii string.

Specification: dialog.

ta_c_rpt_active_readers 

Defines which card readers are active during the dialog. This is a bitmap. Value 0 = reader not active, 1 = reader active.
Example 1: Only magstripe reader active = 00000001 = 01 hex
Example 2: Only contactless reader active = 00000100 = 04h
Example 3: Magstripe, chip and contactless reader active = 00000111 = 07h

  • Bit 1: Magstripe reader
  • Bit 2: Chip reader
  • Bit 3: Contactless reader
  • Bit 4: RFU
  • Bit 5: RFU
  • Bit 6: RFU
  • Bit 7: RFU
  • Bit 8: RFU

This value is to be transmitted hex encoded. Example: For a value of 00000111 (Magstripe, Chip and Ctless active), the value '07' hex must be transmitted.

Specification: dialog.

ta_c_rpt_exponent 

Currency Exponent e.g. to define input mask for Amount entry. n2 value
Example 1: Exponent = 2 will result in an input mask of XXXX.XX with 2 positions after decimal point.
Example 2: Exponent = 3 will result in an input mask of XXX.XXX with 3 positions after decimal point.

Specification: dialog.