TIM SDK
TIM API C
|
|
Receipt item.
Object type receipt_item.
Functions | |
ta_e_result_code_t | ta_receipt_item_get_receipt_item_type (ta_object_t receipt_item, ta_e_receipt_item_type_t *receipt_item_type) |
Type of receipt item. More... | |
ta_e_result_code_t | ta_receipt_item_get_recipient (ta_object_t receipt_item, ta_e_recipient_t *recipient) |
Recipient. More... | |
ta_e_result_code_t | ta_receipt_item_get_value (ta_object_t receipt_item, ta_object_t *value) |
Value of the receipt item. More... | |
ta_e_result_code_t ta_receipt_item_get_receipt_item_type | ( | ta_object_t | receipt_item, |
ta_e_receipt_item_type_t * | receipt_item_type | ||
) |
Type of receipt item.
[in] | receipt_item | Object instance of type receipt_item. |
[out] | receipt_item_type | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to receipt_item_type. |
ta_c_rc_invalid_argument | receipt_item is ta_invalid_object. |
ta_c_rc_invalid_argument | receipt_item is not of type receipt_item. |
ta_c_rc_invalid_argument | receipt_item_type is null-pointer. |
ta_e_result_code_t ta_receipt_item_get_recipient | ( | ta_object_t | receipt_item, |
ta_e_recipient_t * | recipient | ||
) |
Recipient.
[in] | receipt_item | Object instance of type receipt_item. |
[out] | recipient | Pointer to variable to write value to. |
ta_c_rc_ok | Object instance written to recipient. |
ta_c_rc_invalid_argument | receipt_item is ta_invalid_object. |
ta_c_rc_invalid_argument | receipt_item is not of type receipt_item. |
ta_c_rc_invalid_argument | recipient is null-pointer. |
ta_e_result_code_t ta_receipt_item_get_value | ( | ta_object_t | receipt_item, |
ta_object_t * | value | ||
) |
Value of the receipt item.
[in] | receipt_item | Object instance of type receipt_item. |
[out] | value | Pointer to variable to write object instance to. Object instance is of type string and is not retained. |
ta_c_rc_ok | Object instance written to value. |
ta_c_rc_invalid_argument | receipt_item is ta_invalid_object. |
ta_c_rc_invalid_argument | receipt_item is not of type receipt_item. |
ta_c_rc_invalid_argument | value is null-pointer. |