# OrderCostPreviewRequestCreate

Request object for retrieving fixed income costs

## Example Usage

```typescript
import {
  LimitPriceCreateType,
  OrderCostPreviewRequestCreate,
  OrderCostPreviewRequestCreateAssetType,
  OrderCostPreviewRequestCreateIdentifierType,
} from "@apexfintechsolutions/ascend-sdk/models/components";

let value: OrderCostPreviewRequestCreate = {
  assetType: OrderCostPreviewRequestCreateAssetType.FixedIncome,
  identifier: "037833100",
  identifierType: OrderCostPreviewRequestCreateIdentifierType.Cusip,
  limitPrice: {
    price: {},
    type: LimitPriceCreateType.PricePerUnit,
  },
  parent: "<value>",
  quantity: {},
};
```

## Fields

| Field                                                                                                                                                                                                                                                                                                                                                        | Type                                                                                                                                                                                                                                                                                                                                                         | Required                                                                                                                                                                                                                                                                                                                                                     | Description                                                                                                                                                                                                                                                                                                                                                  | Example                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `assetType`                                                                                                                                                                                                                                                                                                                                                  | [components.OrderCostPreviewRequestCreateAssetType](../../models/components/ordercostpreviewrequestcreateassettype.md)                                                                                                                                                                                                                                       | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                           | The type of asset being evaluated in cost calculations.                                                                                                                                                                                                                                                                                                      | FIXED_INCOME                                                                                                                                                                                                                                                                                                                                                 |
| `brokerCapacity`                                                                                                                                                                                                                                                                                                                                             | [components.OrderCostPreviewRequestCreateBrokerCapacity](../../models/components/ordercostpreviewrequestcreatebrokercapacity.md)                                                                                                                                                                                                                             | :heavy_minus_sign:                                                                                                                                                                                                                                                                                                                                           | Capacity used in determining the order cost. Defaults to "AGENCY" if no value specified.                                                                                                                                                                                                                                                                     | AGENCY                                                                                                                                                                                                                                                                                                                                                       |
| `identifier`                                                                                                                                                                                                                                                                                                                                                 | *string*                                                                                                                                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                           | Identifier of the asset (of the type specified in `identifier_type`).                                                                                                                                                                                                                                                                                        | 037833100                                                                                                                                                                                                                                                                                                                                                    |
| `identifierType`                                                                                                                                                                                                                                                                                                                                             | [components.OrderCostPreviewRequestCreateIdentifierType](../../models/components/ordercostpreviewrequestcreateidentifiertype.md)                                                                                                                                                                                                                             | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                           | The identifier type of the asset being sought                                                                                                                                                                                                                                                                                                                | CUSIP                                                                                                                                                                                                                                                                                                                                                        |
| `limitPrice`                                                                                                                                                                                                                                                                                                                                                 | [components.LimitPriceCreate](../../models/components/limitpricecreate.md)                                                                                                                                                                                                                                                                                   | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                           | A limit price definition                                                                                                                                                                                                                                                                                                                                     |                                                                                                                                                                                                                                                                                                                                                              |
| `parent`                                                                                                                                                                                                                                                                                                                                                     | *string*                                                                                                                                                                                                                                                                                                                                                     | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                           | The parent resource where this order will be created. Format: accounts/{account_id}                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                                              |
| `quantity`                                                                                                                                                                                                                                                                                                                                                   | [components.DecimalCreate](../../models/components/decimalcreate.md)                                                                                                                                                                                                                                                                                         | :heavy_check_mark:                                                                                                                                                                                                                                                                                                                                           | A representation of a decimal value, such as 2.5. Clients may convert values into language-native decimal formats, such as Java's [BigDecimal][] or Python's [decimal.Decimal][].<br/><br/> [BigDecimal]:<br/> https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/math/BigDecimal.html<br/> [decimal.Decimal]: https://docs.python.org/3/library/decimal.html |                                                                                                                                                                                                                                                                                                                                                              |