<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [BoundaryContractDefiner](./case-boundary.boundarycontractdefiner.md)

## BoundaryContractDefiner class

A BoundaryContractDefiner allows defining contracts

**Signature:**

```typescript
export declare class BoundaryContractDefiner
```

## Constructors

| Constructor                                                                                                                  | Modifiers | Description                                                      |
| ---------------------------------------------------------------------------------------------------------------------------- | --------- | ---------------------------------------------------------------- |
| [(constructor)(config, logPrinter, resultPrinter, parentVersions)](./case-boundary.boundarycontractdefiner._constructor_.md) |           | Construct a BoundaryContractDefiner to allow defining contracts. |

## Methods

| Method                                                                                                       | Modifiers | Description |
| ------------------------------------------------------------------------------------------------------------ | --------- | ----------- |
| [endRecord()](./case-boundary.boundarycontractdefiner.endrecord.md)                                          |           |             |
| [runExample(definition, runConfig)](./case-boundary.boundarycontractdefiner.runexample.md)                   |           |             |
| [runRejectingExample(definition, runConfig)](./case-boundary.boundarycontractdefiner.runrejectingexample.md) |           |             |
| [stripMatchers(matcherOrData)](./case-boundary.boundarycontractdefiner.stripmatchers.md)                     |           |             |
