Browse Source

更改安卓文档

benson 5 years ago
parent
commit
584b007d30
6 changed files with 61 additions and 14 deletions
  1. 10 0
      docs/android/5.md
  2. 12 5
      docs/ios/5.md
  3. 11 3
      docs/pc/4.md
  4. 11 1
      docs/zh/android/5.md
  5. 10 5
      docs/zh/ios/5.md
  6. 7 0
      docs/zh/pc/4.md

+ 10 - 0
docs/android/5.md

@@ -39,3 +39,13 @@
 <!-- wpay sdk end -->
 
 ```
+
+## 5.3 APMP渠道
+
+ 消费接口专属字段
+
+- 请求报文
+
+  | Parameter | Type       | Required | Description                                                  | Sample                                 |
+  | --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- |
+  | timeout   | String(10) | O        | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |

+ 12 - 5
docs/ios/5.md

@@ -22,7 +22,7 @@
 
 请求报文
 
-	
+	
 
  序号 |名称  |长度|类型|参数名称|备注 
  -----|-----|----|----|------|------
@@ -64,7 +64,18 @@
    </dict>
    
    ```
+
+
 ## 5.3 APMP渠道
+
+- 消费接口专属字段
+
+请求报文
+
+| Parameter | Type       | Required | Description                                                  | Sample                                 |
+| --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- |
+| timeout   | String(10) | O        | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |
+
 * 渠道专属配置:
 1. 将allpaysdk/AliModule文件夹下的文件add到项目中
 
@@ -100,8 +111,6 @@
    libz.tbd    
    ```
 
-   
-
 3. 在工程info.plist设置中添加一个URL Types回调协议,用于在支付完成后返回商户客户端。请注意URL Schemes需要是唯一的,。 设置的Scheme的值要和支付接口中参数scheme的值相同。
 
 4. 需要在工程对应的plist文件中,添加LSApplicationQueriesSchemes  Array并加入uppaysdk、uppaywallet、uppayx1、uppayx2、uppayx3五个item 
@@ -139,5 +148,3 @@
    
    
    ```
-
-   

+ 11 - 3
docs/pc/4.md

@@ -7,13 +7,13 @@ No. |Field Name  |Max.Length|Type|Parameter name|Comment
   1| Name     |32  |Text|trxn_firstname         |This is name of the customer who is doing the transaction. 
   2| Email     |40  |Text|trxn_email_id         |this is email id of the customer who is doing transaction.
   3|Phone |20  |Text|trxn_phone|Phone number of the customer.
-  
+
 ## 4.2 UP(Transition)
 
 No. |Field Name  |Max.Length|Type|Parameter name|Comment 
  -----|-----|----|----|------|------
   1| UnionPay card number |19  | Text|uCardNumber |The overseas UnionPay channel is applicable to the UnionPay excellent plan. Can not upload, if you need to fill in the bank card number in advance, then send this field.
-  
+
 ## 4.3 WX(Includes transition and parameter return)
 
  No. |Field Name  |Max.Length|Type|Parameter name|Comment 
@@ -377,4 +377,12 @@ nationalid  |M   |Text |Consumer’s national id (up to 30 characters)
 email   |M   |Text |RFC compliant email address of the account holder 
 dob    |O   |Text |Date of birth, format YYYYMMDD 
 
-Note: WebPay is available for currency USD and country code CL.
+Note: WebPay is available for currency USD and country code CL.
+
+
+
+## 4.5 AP(Transition)
+
+| Parameter | Type       | Required | Description                                                  | Sample                                 |
+| --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- |
+| timeout   | String(10) | O        | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |

+ 11 - 1
docs/zh/android/5.md

@@ -8,7 +8,7 @@
 
 序号 |名称  |长度|类型|参数名称|备注 
  -----|-----|----|----|------|------
-  |1| 姓名     |32  |文本|trxn_firstname|This is name of the customer who is doing the transaction. 
+ 1 |姓名| 32   |文本  |trxn_firstname|trxn_firstname
   2| 邮箱     |40  |文本|trxn_email_id|this is email id of the customer who is doing transaction.
   3|电话 |20  |文本|trxn_phone|Phone number of the customer.
   4|优惠券选项 |1  |文本|trxn_is_coupon_enabled| If the value is 0 then customer will not be able to see the coupons. If the value is 1 then customer will be able see the coupons and able to select the coupons
@@ -39,3 +39,13 @@
 <!-- wpay sdk end -->
 
 ```
+
+## 5.3 APMP渠道
+
+ 消费接口专属字段
+
+- 请求报文
+
+  | Parameter | Type       | Required | Description                                                  | Sample                                 |
+  | --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- |
+  | timeout   | String(10) | O        | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |

+ 10 - 5
docs/zh/ios/5.md

@@ -22,7 +22,7 @@
 
 请求报文
 
-	
+	
 
  序号 |名称  |长度|类型|参数名称|备注 
  -----|-----|----|----|------|------
@@ -65,6 +65,15 @@
    
    ```
 ## 5.3 APMP渠道
+
+ * 消费接口专属字段
+
+请求报文
+
+| Parameter | Type       | Required | Description                                                  | Sample                                 |
+| --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- |
+| timeout   | String(10) | O        | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |
+
 * 渠道专属配置:
 1. 将allpaysdk/AliModule文件夹下的文件add到项目中
 
@@ -100,8 +109,6 @@
    libz.tbd    
    ```
 
-   
-
 3. 在工程info.plist设置中添加一个URL Types回调协议,用于在支付完成后返回商户客户端。请注意URL Schemes需要是唯一的,。 设置的Scheme的值要和支付接口中参数scheme的值相同。
 
 4. 需要在工程对应的plist文件中,添加LSApplicationQueriesSchemes  Array并加入uppaysdk、uppaywallet、uppayx1、uppayx2、uppayx3五个item 
@@ -139,5 +146,3 @@
    
    
    ```
-
-   

+ 7 - 0
docs/zh/pc/4.md

@@ -370,5 +370,12 @@ Note: WebPay is available for currency USD and country code CL.
 
 
 
+## 4.5 AP渠道
 
+ 消费接口专属字段
 
+- 请求报文
+
+  | Parameter | Type       | Required | Description                                                  | Sample                                 |
+  | --------- | ---------- | -------- | ------------------------------------------------------------ | -------------------------------------- |
+  | timeout   | String(10) | O        | The default is 12h. Please contact Alipay Technical Support if you need to use other values. Max value is 15d. This parameter controls the valid time from login to completion. | 5m 10m 15m 30m 1h 2h 3h 5h 10h 12h 1d. |