# SubscriptionScheduleResponse

Full details of a subscription schedule

## Example Usage

```typescript
import { SubscriptionScheduleResponse } from "@flexprice/sdk/sdk/models";

let value: SubscriptionScheduleResponse = {};
```

## Fields

| Field                                                                                          | Type                                                                                           | Required                                                                                       | Description                                                                                    |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `canBeCancelled`                                                                               | *boolean*                                                                                      | :heavy_minus_sign:                                                                             | can_be_cancelled indicates if the schedule can be cancelled                                    |
| `cancelledAt`                                                                                  | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)  | :heavy_minus_sign:                                                                             | cancelled_at is when the schedule was cancelled                                                |
| `configuration`                                                                                | [models.Configuration](../../sdk/models/configuration.md)                                      | :heavy_minus_sign:                                                                             | configuration contains type-specific configuration (e.g., target_plan_id for plan changes)     |
| `createdAt`                                                                                    | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)  | :heavy_minus_sign:                                                                             | created_at timestamp                                                                           |
| `daysUntilExecution`                                                                           | *number*                                                                                       | :heavy_minus_sign:                                                                             | days_until_execution is the number of days until execution                                     |
| `errorMessage`                                                                                 | *string*                                                                                       | :heavy_minus_sign:                                                                             | error_message contains the error if execution failed                                           |
| `executedAt`                                                                                   | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)  | :heavy_minus_sign:                                                                             | executed_at is when the schedule was executed                                                  |
| `executionResult`                                                                              | [models.ExecutionResult](../../sdk/models/execution-result.md)                                 | :heavy_minus_sign:                                                                             | execution_result contains type-specific execution result                                       |
| `id`                                                                                           | *string*                                                                                       | :heavy_minus_sign:                                                                             | id of the schedule                                                                             |
| `metadata`                                                                                     | Record<string, *string*>                                                                       | :heavy_minus_sign:                                                                             | metadata from the schedule                                                                     |
| `scheduleType`                                                                                 | [models.SubscriptionScheduleChangeType](../../sdk/models/subscription-schedule-change-type.md) | :heavy_minus_sign:                                                                             | N/A                                                                                            |
| `scheduledAt`                                                                                  | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)  | :heavy_minus_sign:                                                                             | scheduled_at is when the schedule will execute                                                 |
| `status`                                                                                       | [models.ScheduleStatus](../../sdk/models/schedule-status.md)                                   | :heavy_minus_sign:                                                                             | N/A                                                                                            |
| `subscriptionId`                                                                               | *string*                                                                                       | :heavy_minus_sign:                                                                             | subscription_id is the ID of the subscription                                                  |
| `updatedAt`                                                                                    | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date)  | :heavy_minus_sign:                                                                             | updated_at timestamp                                                                           |