TIM SDK
TIM API C
|
|
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_type (ta_object_t vas_checkout_information, ta_e_vas_info_list_type_t *type) |
VAS information list type. More... | |
ta_e_result_code_t | ta_vas_checkout_information_get_vas_information (ta_object_t vas_checkout_information, ta_object_t *vas_information) |
Map of VAS information. 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... | |
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.
[in] | vas_checkout_information | Object instance of type vas_checkout_information. |
[out] | loyalty_coupons | Pointer 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_invalid_object is written. |
ta_c_rc_ok | Object instance written to loyalty_coupons. |
ta_c_rc_invalid_argument | vas_checkout_information is ta_invalid_object. |
ta_c_rc_invalid_argument | vas_checkout_information is not of type vas_checkout_information. |
ta_c_rc_invalid_argument | loyalty_coupons is null-pointer. |
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.
[in] | vas_checkout_information | Object instance of type vas_checkout_information. |
[out] | loyalty_information | Pointer 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_invalid_object is written. |
ta_c_rc_ok | Object instance written to loyalty_information. |
ta_c_rc_invalid_argument | vas_checkout_information is ta_invalid_object. |
ta_c_rc_invalid_argument | vas_checkout_information is not of type vas_checkout_information. |
ta_c_rc_invalid_argument | loyalty_information is null-pointer. |
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.
[in] | vas_checkout_information | Object instance of type vas_checkout_information. |
[out] | provide_basket | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to dcc_flag. |
ta_c_rc_invalid_argument | vas_checkout_information is ta_invalid_object. |
ta_c_rc_invalid_argument | vas_checkout_information is not of type vas_checkout_information. |
ta_c_rc_invalid_argument | provide_basket is null-pointer. |
ta_e_result_code_t ta_vas_checkout_information_get_vas_information | ( | ta_object_t | vas_checkout_information, |
ta_object_t * | vas_information | ||
) |
Map of VAS information.
[in] | vas_checkout_information | Object instance of type vas_checkout_information. |
[out] | vas_information | Pointer to variable to write object instance to. Object instance is of type map and is not retained. The map contains keys of type integer and values of type string (binary data). If list is not present ta_invalid_object is written. |
ta_c_rc_ok | Object instance written to vas_informations. |
ta_c_rc_invalid_argument | vas_checkout_information is ta_invalid_object. |
ta_c_rc_invalid_argument | vas_checkout_information is not of type vas_checkout_information. |
ta_c_rc_invalid_argument | vas_information is null-pointer. |
ta_e_result_code_t ta_vas_checkout_information_get_vas_information_list_type | ( | ta_object_t | vas_checkout_information, |
ta_e_vas_info_list_type_t * | type | ||
) |
VAS information list type.
[in] | vas_checkout_information | Object instance of type vas_checkout_information. |
[out] | type | Pointer to variable to write type to. |
ta_c_rc_ok | Object instance written to vas_informations. |
ta_c_rc_invalid_argument | vas_checkout_information is ta_invalid_object. |
ta_c_rc_invalid_argument | vas_checkout_information is not of type vas_checkout_information. |
ta_c_rc_invalid_argument | type is null-pointer. |