GALANTHUS / ABI FUNCTION REFERENCE
gln_get_revolut_payment_draft_payments_count
Declared in <galanthus/c_api/gln_capi.h>.
GLN_API int32_t GLN_CALL gln_get_revolut_payment_draft_payments_count(
const gln_revolut_payment_draft_summary_t* in_draft);
Purpose
Returns the provider-reported payment count stored on a Revolut payment-draft summary row.
For list results this is the count reported by the list endpoint. For a loaded full draft summary it mirrors the number of payment rows materialized on that full draft.
Return
Returns the number of rows or entries materialized in the supplied typed view.
| Type | Nullability | Ownership |
|---|---|---|
int32_t | value | value |
Parameters
| Name | Direction | Type | Nullability | Ownership |
|---|---|---|---|---|
in_draft | input | const gln_revolut_payment_draft_summary_t* | nullable | borrowed |
Notes
Passing NULL for in_draft is allowed and returns 0.