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 软件包的名称。 
                 | 
              
            
          
        
      
    
  
  
  
  
 
  
    
    
      
       
    
    
  
  
  如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
  最后更新时间 (UTC):2025-07-28。
  
  
  
    
      [null,null,["最后更新时间 (UTC):2025-07-28。"],[],["The content outlines specifications for in-app purchases of digital goods (purchases, subscriptions). Key components include a JSON structure with `skuId` (product identifier) and `developerPayload` (developer-defined string for purchase association).  `SkuId` further specifies `skuType` (type of SKU), `id` (product SKU identifier), and `packageName` (Android package name). These details define how to structure data for initiating and tracking digital goods transactions.\n"]]