cn.beecloud
类 BeeCloud
java.lang.Object
cn.beecloud.BeeCloud
public class BeeCloud
- extends Object
BeeCloud 初始化类
- 作者:
- Ray
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kBeeCloudVersionString
public static final String kBeeCloudVersionString
- BeeCloud JAVA SDK release version.
- 另请参见:
- 常量字段值
kBeeCloudVersionNumber
public static final double kBeeCloudVersionNumber
- 另请参见:
- 常量字段值
BeeCloud
public BeeCloud()
registerApp
public static void registerApp(String appID,
String testSecret,
String appSecret,
String masterSecret)
- 设置appID、appSecret、masterSecret,在程序开始时运行一遍即可
- 参数:
appID - (必填)商户在Beecloud后台注册的app idappSecret - (必填)用于支付、查询masterSecret - (必填)用于退款、批量打款
setNetworkTimeout
public static void setNetworkTimeout(int timeout)
- 设置网络超时时间, 单位ms, 默认5000
- 参数:
timeout - 访问BeeCloud的超时时间
setSandbox
public static void setSandbox(boolean sandbox)
Copyright © 2016. All rights reserved.