TIM SDK
TIM API C
vas_checkout_information.h File Reference

Description

Contains VAS checkout information.

Object type vas_checkout_information.

Functions

ta_e_result_code_t ta_vas_checkout_information_get_loyalty_coupons (ta_object_t vas_checkout_information, ta_object_t *loyalty_coupons)
 List of loyalty coupons. More...
 
ta_e_result_code_t ta_vas_checkout_information_get_loyalty_information (ta_object_t vas_checkout_information, ta_object_t *loyalty_information)
 List of loyalty information. More...
 
ta_e_result_code_t ta_vas_checkout_information_get_vas_information_list (ta_object_t vas_checkout_information, ta_object_t *vas_information_list)
 List of VAS information lists. More...
 
ta_e_result_code_t ta_vas_checkout_information_get_provide_basket (ta_object_t vas_checkout_information, ta_e_boolean_t *provide_basket)
 Indicates if a basket has to be provided. More...
 

Function Documentation

◆ ta_vas_checkout_information_get_loyalty_coupons()

ta_e_result_code_t ta_vas_checkout_information_get_loyalty_coupons ( ta_object_t  vas_checkout_information,
ta_object_t loyalty_coupons 
)

List of loyalty coupons.

Parameters
[in]vas_checkout_informationObject instance of type vas_checkout_information.
[out]loyalty_couponsPointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type loyalty_coupon. If list is not present ta_object_invalid is written.
Return values
ta_c_rc_okObject instance written to loyalty_coupons.
ta_c_rc_invalid_argumentvas_checkout_information is ta_object_invalid.
ta_c_rc_invalid_argumentvas_checkout_information is not of type vas_checkout_information.
ta_c_rc_invalid_argumentloyalty_coupons is null-pointer.

◆ ta_vas_checkout_information_get_loyalty_information()

ta_e_result_code_t ta_vas_checkout_information_get_loyalty_information ( ta_object_t  vas_checkout_information,
ta_object_t loyalty_information 
)

List of loyalty information.

Parameters
[in]vas_checkout_informationObject instance of type vas_checkout_information.
[out]loyalty_informationPointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type loyalty_information. If list is not present ta_object_invalid is written.
Return values
ta_c_rc_okObject instance written to loyalty_information.
ta_c_rc_invalid_argumentvas_checkout_information is ta_object_invalid.
ta_c_rc_invalid_argumentvas_checkout_information is not of type vas_checkout_information.
ta_c_rc_invalid_argumentloyalty_information is null-pointer.

◆ ta_vas_checkout_information_get_provide_basket()

ta_e_result_code_t ta_vas_checkout_information_get_provide_basket ( ta_object_t  vas_checkout_information,
ta_e_boolean_t provide_basket 
)

Indicates if a basket has to be provided.

Parameters
[in]vas_checkout_informationObject instance of type vas_checkout_information.
[out]provide_basketPointer to variable to write value to.
Return values
ta_c_rc_okObject instance written to dcc_flag.
ta_c_rc_invalid_argumentvas_checkout_information is ta_object_invalid.
ta_c_rc_invalid_argumentvas_checkout_information is not of type vas_checkout_information.
ta_c_rc_invalid_argumentprovide_basket is null-pointer.

◆ ta_vas_checkout_information_get_vas_information_list()

ta_e_result_code_t ta_vas_checkout_information_get_vas_information_list ( ta_object_t  vas_checkout_information,
ta_object_t vas_information_list 
)

List of VAS information lists.

Parameters
[in]vas_checkout_informationObject instance of type vas_checkout_information.
[out]vas_information_listPointer to variable to write object instance to. Object instance is of type list and is not retained. The map contains entries of type vas_information_list. If list is not present ta_object_invalid is written.
Return values
ta_c_rc_okObject instance written to vas_information_lists.
ta_c_rc_invalid_argumentvas_checkout_information is ta_object_invalid.
ta_c_rc_invalid_argumentvas_checkout_information is not of type vas_checkout_information.
ta_c_rc_invalid_argumentvas_information_list is null-pointer.