GALANTHUS / ABI FUNCTION REFERENCE
gln_get_revolut_payment_draft_payment_count
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API size_t GLN_CALL gln_get_revolut_payment_draft_payment_count(
const gln_revolut_payment_draft_t* in_draft);
Purpose
Returns the number of loaded payment rows materialized on a full gln_revolut_payment_draft_t detail view.
Use gln_get_revolut_payment_draft_payments_count on summary rows when the caller only needs the provider summary count and has not loaded individual payment rows.
Return
Returns the number of rows or entries materialized in the supplied typed view.
| Type | Nullability | Ownership |
|---|---|---|
size_t | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_draft | input | const gln_revolut_payment_draft_t* | nullable | borrowed |
Notes
Passing NULL for in_draft is allowed and returns 0.