--- title: "CostRelationCode" slug: "common-vapidatatype-costrelationcode" updated: 2026-09-17T09:31:00Z published: 2026-09-17T09:31:00Z canonical: "api.ncloud-docs.com/common-vapidatatype-costrelationcode" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # CostRelationCode Available in Classic and VPC This is the cost association code. ## Syntax The syntax is as follows. ``` private CommonCode contractType; private CommonCode productItemKind; private CommonCode productRatingType; private CommonCode meteringType; private CommonCode demandType; private CommonCode demandTypeDetail; private ProductDemandType productDemandType; private CommonCode productCategory; ``` ## Field The following describes each field. | Field | Type | Required | Description | | --- | --- | --- | --- | | `contractType` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Contract type | | `productItemKind` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Product item type | | `productRatingType` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Product charge type | | `meteringType` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Manage type | | `demandType` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Billing type | | `demandTypeDetail` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Billing type details | | `productDemandType` | [ProductDemandType](/docs/en/common-vapidatatype-productdemandtype) | Required | Product billing type | | `productCategory` | [CommonCode](/docs/en/common-vapidatatype-commoncode) | Required | Product category |