Class SceneInfoApp
- java.lang.Object
-
- com.foxinmy.weixin4j.pay.payment.mch.SceneInfoApp
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SceneInfoApp()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SceneInfoApp
createAndroidAPP(String appName, String packageName)
Deprecated.static SceneInfoApp
createIOSAPP(String appName, String bundleId)
Deprecated.static SceneInfoApp
createWapAPP(String name, String url)
Wap应用String
getName()
String
getPath()
String
getSceneInfo()
Deprecated.String
getType()
void
setName(String name)
void
setPath(String path)
void
setSceneInfo(String sceneInfo)
Deprecated.void
setType(String type)
String
toJson()
格式化为Json字符串
-
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getPath
public String getPath()
-
setPath
public void setPath(String path)
-
getSceneInfo
@Deprecated public String getSceneInfo()
Deprecated.
-
setSceneInfo
@Deprecated public void setSceneInfo(String sceneInfo)
Deprecated.
-
createIOSAPP
@Deprecated public static SceneInfoApp createIOSAPP(String appName, String bundleId)
Deprecated.IOS应用 APP环境直接使用APP支付,此方法将作废- Parameters:
appName
- 应用名bundleId
- 模块ID- Returns:
-
createAndroidAPP
@Deprecated public static SceneInfoApp createAndroidAPP(String appName, String packageName)
Deprecated.Android应用 APP环境直接使用APP支付,此方法将作废- Parameters:
appName
- 应用名packageName
- 包名- Returns:
-
createWapAPP
public static SceneInfoApp createWapAPP(String name, String url)
Wap应用- Parameters:
name
- 网站名url
- 网站URL地址- Returns:
-
-