Skip to main content

get_sku_subscriptions_limit

Function get_sku_subscriptions_limit 

Source
pub const fn get_sku_subscriptions_limit(
    limit: u8,
) -> Result<(), ValidationError>
Expand description

Ensure that the limit for the Get SKU Subscriptions endpoint is correct.

The limit must be at least GET_SKU_SUBSCRIPTIONS_LIMIT_MIN and at most GET_SKU_SUBSCRIPTIONS_LIMIT_MAX. This is based on this documentation entry.

ยงErrors

Returns an error of type GetSKUSubscriptions if the limit is invalid.