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

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

## BoundarySuccessWithAny class

This indicates a success with any arbitrary payload

The calling method usually expects only one type of payload

**Signature:**

```typescript
export declare class BoundarySuccessWithAny extends BoundaryResult
```

**Extends:** [BoundaryResult](./case-boundary.boundaryresult.md)

## Constructors

| Constructor                                                                       | Modifiers | Description                                                                |
| --------------------------------------------------------------------------------- | --------- | -------------------------------------------------------------------------- |
| [(constructor)(payload)](./case-boundary.boundarysuccesswithany._constructor_.md) |           | Constructs a new instance of the <code>BoundarySuccessWithAny</code> class |

## Properties

| Property                                                           | Modifiers             | Type                                  | Description |
| ------------------------------------------------------------------ | --------------------- | ------------------------------------- | ----------- |
| [payload](./case-boundary.boundarysuccesswithany.payload.md)       | <code>readonly</code> | unknown                               |             |
| [resultType](./case-boundary.boundarysuccesswithany.resulttype.md) | <code>readonly</code> | typeof RESULT_SUCCESS_HAS_ANY_PAYLOAD |             |
