대화형 작업이 2023년 6월 13일에 지원 중단되었습니다. 자세한 내용은
대화 작업 지원 중단을 참고하세요.
CompletePurchaseValueSpec
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
디지털 상품과 관련된 인앱 구매를 시작하기 위한 사양을 정의합니다. 가능한 디지털 상품의 유형(인앱 구매, 인앱 정기 결제)을 정의합니다.
JSON 표현 |
{
"skuId": {
object (SkuId )
},
"developerPayload": string
} |
필드 |
skuId |
object (SkuId )
구매 중인 제품입니다.
|
developerPayload |
string
개발자가 지정한 불투명 문자열로, 구매와 연결되며 구매 데이터의 일부로 반환될 것으로 예상됩니다.
|
SkuId
JSON 표현 |
{
"skuType": enum (SkuType ),
"id": string,
"packageName": string
} |
필드 |
skuType |
enum (SkuType )
SKU 유형입니다.
|
id |
string
개발자 콘솔에서 등록 시 사용된 제품 SKU의 식별자입니다.
|
packageName |
string
SKU가 등록된 Android 패키지의 이름입니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eLists all the sample projects supported by the gactions CLI with pagination support through \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters.\u003c/p\u003e\n"],["\u003cp\u003eProvides the name, a hosted URL to a zip file, and a description for each sample project.\u003c/p\u003e\n"],["\u003cp\u003eUses gRPC Transcoding for HTTP requests and requires an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eReturns a JSON response containing an array of sample projects and a token for accessing the next page of results.\u003c/p\u003e\n"]]],[],null,["# CompletePurchaseValueSpec\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [SkuId](#SkuId)\n - [JSON representation](#SkuId.SCHEMA_REPRESENTATION)\n\nDefines specification for initiating in-app purchase related to digital goods Types of possible digital goods: in-app purchases, in-app subscriptions.\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"skuId\": { object (/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId) }, \"developerPayload\": string } ``` |\n\n| Fields ||\n|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `skuId` | `object (`[SkuId](/assistant/actionssdk/reference/rest/Shared.Types/CompletePurchaseValueSpec#SkuId)`)` The product being purchased. |\n| `developerPayload` | `string` An opaque string specified by developer, which would associate with the purchase and is expected to return as part of purchase data. |\n\nSkuId\n-----\n\nIdentifier of a SKU.\n\n| JSON representation ||\n|------------------------------------------------------------------------------|---|\n| ``` { \"skuType\": enum (`SkuType`), \"id\": string, \"packageName\": string } ``` |\n\n| Fields ||\n|---------------|--------------------------------------------------------------------------------------------|\n| `skuType` | `enum (``SkuType``)` The type of SKU. |\n| `id` | `string` The identifier of the product SKU used for registration in the developer console. |\n| `packageName` | `string` The name of the android package under which the sku was registered. |"]]