TIM SDK
TIM API C
ppinfo.h File Reference

Description

PpInfo.

Object type ppinfo.

Functions

ta_e_result_code_t ta_ppinfo_get_payment_protocol (ta_object_t response, ta_e_payment_protocol_t *payment_protocol)
 Specifies the payment protocol used. More...
 
ta_e_result_code_t ta_ppinfo_get_pp_ep2_trans_seq_cnt (ta_object_t response, ta_object_t *pp_ep2_trans_seq_cnt_orig)
 Payment protocol specific transaction sequence counter, which refers to a previous transaction. More...
 
ta_e_result_code_t ta_ppinfo_get_pp_ep2_trans_seq_cnt_orig (ta_object_t response, ta_object_t *pp_ep2_trans_seq_cnt_orig)
 Payment protocol specific original transaction sequence counter, which refers to a previous transaction. More...
 
ta_e_result_code_t ta_ppinfo_get_pp_ep2_auth_reslt (ta_object_t response, ta_object_t *pp_ep2_auth_reslt)
 Payment protocol specific authorisation result. More...
 
ta_e_result_code_t ta_ppinfo_get_pp_ep2_auth_resp_c (ta_object_t response, ta_object_t *pp_ep2_auth_resp_c)
 Payment protocol specific authorisation response code. More...
 

Function Documentation

◆ ta_ppinfo_get_payment_protocol()

ta_e_result_code_t ta_ppinfo_get_payment_protocol ( ta_object_t  response,
ta_e_payment_protocol_t payment_protocol 
)

Specifies the payment protocol used.

Specification: retail.

Parameters
[in]responseObject instance of type ppinfo.
[out]payment_protocolPointer to variable to write value to.
Return values
ta_c_rc_okValue written to payment_protocol.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type ppinfo.
ta_c_rc_invalid_argumentpayment_protocol is null-pointer.

◆ ta_ppinfo_get_pp_ep2_auth_reslt()

ta_e_result_code_t ta_ppinfo_get_pp_ep2_auth_reslt ( ta_object_t  response,
ta_object_t pp_ep2_auth_reslt 
)

Payment protocol specific authorisation result.

Optional: Mandatory if payment protocol provides info.

Specification: retail.

Parameters
[in]responseObject instance of type ppinfo.
[out]pp_ep2_auth_resltPointer to variable to write value to. Object instance of type integer and is not retained.
Return values
ta_c_rc_okValue written to pp_ep2_auth_reslt.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type ppinfo.
ta_c_rc_invalid_argumentpp_ep2_auth_reslt is null-pointer.

◆ ta_ppinfo_get_pp_ep2_auth_resp_c()

ta_e_result_code_t ta_ppinfo_get_pp_ep2_auth_resp_c ( ta_object_t  response,
ta_object_t pp_ep2_auth_resp_c 
)

Payment protocol specific authorisation response code.

Optional: Mandatory if payment protocol provides info.

Specification: retail.

Parameters
[in]responseObject instance of type ppinfo.
[out]pp_ep2_auth_resp_cPointer to variable to write object instance to. Object instance is of type string and is not retained. Object instance is ta_object_invalid if value is not set in response.
Return values
ta_c_rc_okObject instance written to pp_ep2_auth_resp_c.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type ppinfo.
ta_c_rc_invalid_argumentpp_ep2_auth_resp_c is null-pointer.

◆ ta_ppinfo_get_pp_ep2_trans_seq_cnt()

ta_e_result_code_t ta_ppinfo_get_pp_ep2_trans_seq_cnt ( ta_object_t  response,
ta_object_t pp_ep2_trans_seq_cnt_orig 
)

Payment protocol specific transaction sequence counter, which refers to a previous transaction.

Optional: Mandatory if payment protocol provides info.

Specification: retail.

Parameters
[in]responseObject instance of type ppinfo.
[out]pp_ep2_trans_seq_cnt_origPointer to variable to write value to. Object instance of type integer and is not retained.
Return values
ta_c_rc_okValue written to pp_ep2_trans_seq_cnt_orig.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type ppinfo.
ta_c_rc_invalid_argumentpp_ep2_trans_seq_cnt_orig is null-pointer.

◆ ta_ppinfo_get_pp_ep2_trans_seq_cnt_orig()

ta_e_result_code_t ta_ppinfo_get_pp_ep2_trans_seq_cnt_orig ( ta_object_t  response,
ta_object_t pp_ep2_trans_seq_cnt_orig 
)

Payment protocol specific original transaction sequence counter, which refers to a previous transaction.

Optional: Mandatory if payment protocol provides info.

Specification: retail.

Parameters
[in]responseObject instance of type ppinfo.
[out]pp_ep2_trans_seq_cnt_origPointer to variable to write value to. Object instance of type integer and is not retained.
Return values
ta_c_rc_okValue written to pp_ep2_trans_seq_cnt_orig.
ta_c_rc_invalid_argumentresponse is ta_object_invalid.
ta_c_rc_invalid_argumentresponse is not of type ppinfo.
ta_c_rc_invalid_argumentpp_ep2_trans_seq_cnt_orig is null-pointer.