--- title: "CostRelationCode" slug: "common-apidatatype-costrelationcode" updated: 2026-09-17T09:15:44Z published: 2026-09-17T09:15:44Z canonical: "api.ncloud-docs.com/common-apidatatype-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 환경에서 이용 가능합니다.

비용 연관 코드입니다. ## 구문 구문은 다음과 같습니다. ```Java 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/common-vapidatatype-commoncode) | Required | 계약 구분 | | `productItemKind` | [CommonCode](/docs/common-vapidatatype-commoncode) | Required | 상품 품목 종류 | | `productRatingType` | [CommonCode](/docs/common-vapidatatype-commoncode) | Required | 상품 과금 유형 | | `meteringType` | [CommonCode](/docs/common-vapidatatype-commoncode) | Required | 미터링 구분 | | `demandType` | [CommonCode](/docs/common-vapidatatype-commoncode) | Required | 청구 유형 | | `demandTypeDetail` | [CommonCode](/docs/common-vapidatatype-commoncode) | Required | 청구 유형 상세 | | `productDemandType` | [ProductDemandType](/docs/common-vapidatatype-productdemandtype) | Required | 상품 청구 유형 | | `productCategory` | [CommonCode](/docs/common-vapidatatype-commoncode) | Required | 상품 카테고리 |