--- title: "CostRelationCode" slug: "common-vapidatatype-costrelationcode" updated: 2026-09-17T09:56:55Z published: 2026-09-17T09:56:55Z 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 Classic/​VPC環境で利用できます。​ 費用関連コードです。 ## 構文 構文は次の通りです。 ``` private CommonCode contractType; private CommonCode productItemKind; private CommonCode productRatingType; private CommonCode meteringType; private CommonCode demandType; private CommonCode demandTypeDetail; private ProductDemandType productDemandType; private CommonCode productCategory; ``` ## フィールド フィールドの説明は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `contractType` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | 契約区分 | | `productItemKind` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | 商品品目の種類 | | `productRatingType` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | 商品課金タイプ | | `meteringType` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | メータリング区分 | | `demandType` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | 請求タイプ | | `demandTypeDetail` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | 請求タイプの詳細 | | `productDemandType` | [ProductDemandType](/docs/ja/common-vapidatatype-productdemandtype) | Required | 商品請求タイプ | | `productCategory` | [CommonCode](/docs/ja/common-vapidatatype-commoncode) | Required | 商品カテゴリ |