TIM SDK
TIM API C
receipt_items.h File Reference

Description

Receipt items.

Object type receipt_items.

Functions

ta_e_result_code_t ta_receipt_items_get_receipt_type (ta_object_t receipt_items, ta_e_receipt_type_t *receipt_type)
 Type of the receipt. More...
 
ta_e_result_code_t ta_receipt_items_get_receipt_item (ta_object_t receipt_items, ta_object_t *list_items)
 List of receipt items to be used for this receipt type. More...
 

Function Documentation

◆ ta_receipt_items_get_receipt_item()

ta_e_result_code_t ta_receipt_items_get_receipt_item ( ta_object_t  receipt_items,
ta_object_t list_items 
)

List of receipt items to be used for this receipt type.

Parameters
[in]receipt_itemsObject instance of type receipt_items.
[out]list_itemsPointer to variable to write object instance to. Object instance is of type list and is not retained. The list contains elements of type receipt_item.
Return values
ta_c_rc_okObject instance written to list_items.
ta_c_rc_invalid_argumentreceipt_items is ta_invalid_object.
ta_c_rc_invalid_argumentreceipt_items is not of type receipt_items.
ta_c_rc_invalid_argumentlist_items is null-pointer.

◆ ta_receipt_items_get_receipt_type()

ta_e_result_code_t ta_receipt_items_get_receipt_type ( ta_object_t  receipt_items,
ta_e_receipt_type_t receipt_type 
)

Type of the receipt.

Parameters
[in]receipt_itemsObject instance of type receipt_items.
[out]receipt_typePointer to variable to write value to.
Return values
ta_c_rc_okObject instance written to receipt_type.
ta_c_rc_invalid_argumentreceipt_items is ta_invalid_object.
ta_c_rc_invalid_argumentreceipt_items is not of type receipt_items.
ta_c_rc_invalid_argumentreceipt_type is null-pointer.