Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API int32_t GLN_CALL gln_get_batch_transfer_item_result_index(
    const gln_batch_transfer_item_result_t* in_item);
  • Family: Row field accessors
  • Return type: int32_t

Purpose

Reads the index field from a typed batch-transfer item result row without taking ownership of the handle.

Returns the zero-based submitted item index attributed to the FinTS batch-transfer item-result row.

If in_item is NULL, the accessor returns 0. Because 0 is also a valid zero-based item index, callers that need to distinguish a missing row from the first row must validate in_item before calling this accessor.

Return

Returns the submitted source row index attributed to the item-result row.

TypeNullabilityOwnership
int32_tvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_iteminputconst gln_batch_transfer_item_result_t*nullableborrowed

Item Result Fields

Returns the submitted source row index attributed to the item-result row.

Galanthus derives the index by matching FinTS status parameters against submitted EndToEndIds when the bank response carries enough item-level detail.

The defensive null-handle return is 0, and 0 is also a valid source row index. Validate the item pointer returned by gln_get_batch_transfer_submission_item_result_at before using this value when that distinction matters.

See Also