TIM SDK
TIM API C
|
|
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... | |
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.
[in] | receipt_items | Object instance of type receipt_items. |
[out] | list_items | Pointer 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. |
ta_c_rc_ok | Object instance written to list_items. |
ta_c_rc_invalid_argument | receipt_items is ta_object_invalid. |
ta_c_rc_invalid_argument | receipt_items is not of type receipt_items. |
ta_c_rc_invalid_argument | list_items is null-pointer. |
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.
[in] | receipt_items | Object instance of type receipt_items. |
[out] | receipt_type | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to receipt_type. |
ta_c_rc_invalid_argument | receipt_items is ta_object_invalid. |
ta_c_rc_invalid_argument | receipt_items is not of type receipt_items. |
ta_c_rc_invalid_argument | receipt_type is null-pointer. |