> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/sdks/firmhouse-sdk/reference/interfaces/firmhouse-subscription-utils.md).

# Interface: FirmhouseSubscriptionUtils

## Extended by

* [`FirmhouseSubscriptionWithUtils`](/sdks/firmhouse-sdk/reference/interfaces/firmhouse-subscription-with-utils.md)

## Properties

| Property                                 | Type                                                                                                        | Description                                                  |
| ---------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| `getClosestUpcomingOrderDate`            | () => `string` \| `null`                                                                                    | Utilty to check the closest upcoming order date              |
| `getClosestUpcomingOrderOrderedProducts` | () => [`FirmhouseOrderedProduct`](/sdks/firmhouse-sdk/reference/interfaces/firmhouse-ordered-product.md)\[] | Utility to check the closest upcoming order ordered products |
