@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class VoucherUseGuide extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoucherUseGuide.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_MINI_APP_ID |
static String |
SERIALIZED_NAME_MINI_APP_PATH |
static String |
SERIALIZED_NAME_MINI_APP_USE_GUIDE |
static String |
SERIALIZED_NAME_OFFLINE_CODE_USE_GUIDE |
static String |
SERIALIZED_NAME_SERVICE_CODES |
| 构造器和说明 |
|---|
VoucherUseGuide() |
| 限定符和类型 | 方法和说明 |
|---|---|
VoucherUseGuide |
addServiceCodesItem(String serviceCodesItem) |
boolean |
equals(Object o) |
static VoucherUseGuide |
fromJson(String jsonString)
Create an instance of VoucherUseGuide given an JSON string
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getMiniAppId()
券可用的小程序appId,卡包详情页可跳转到该appId
|
String |
getMiniAppPath()
指定跳转到mini_app_id时的具体页面路径。
|
Boolean |
getMiniAppUseGuide()
小程序核销。
|
Boolean |
getOfflineCodeUseGuide()
线下扫码核销。
|
List<String> |
getServiceCodes()
小程序服务编码,通过 alipay.open.app.appcontent.function.create(小程序服务创建)接口创建服务后获取。
|
int |
hashCode() |
VoucherUseGuide |
miniAppId(String miniAppId) |
VoucherUseGuide |
miniAppPath(String miniAppPath) |
VoucherUseGuide |
miniAppUseGuide(Boolean miniAppUseGuide) |
VoucherUseGuide |
offlineCodeUseGuide(Boolean offlineCodeUseGuide) |
VoucherUseGuide |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
VoucherUseGuide |
serviceCodes(List<String> serviceCodes) |
void |
setMiniAppId(String miniAppId) |
void |
setMiniAppPath(String miniAppPath) |
void |
setMiniAppUseGuide(Boolean miniAppUseGuide) |
void |
setOfflineCodeUseGuide(Boolean offlineCodeUseGuide) |
void |
setServiceCodes(List<String> serviceCodes) |
String |
toJson()
Convert an instance of VoucherUseGuide to an JSON string
|
String |
toString() |
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
public static final String SERIALIZED_NAME_MINI_APP_USE_GUIDE
public static final String SERIALIZED_NAME_OFFLINE_CODE_USE_GUIDE
public VoucherUseGuide miniAppId(String miniAppId)
public void setMiniAppId(String miniAppId)
public VoucherUseGuide miniAppPath(String miniAppPath)
public void setMiniAppPath(String miniAppPath)
public VoucherUseGuide miniAppUseGuide(Boolean miniAppUseGuide)
public void setMiniAppUseGuide(Boolean miniAppUseGuide)
public VoucherUseGuide offlineCodeUseGuide(Boolean offlineCodeUseGuide)
@Nullable public Boolean getOfflineCodeUseGuide()
public void setOfflineCodeUseGuide(Boolean offlineCodeUseGuide)
public VoucherUseGuide serviceCodes(List<String> serviceCodes)
public VoucherUseGuide addServiceCodesItem(String serviceCodesItem)
@Nullable public List<String> getServiceCodes()
public VoucherUseGuide putAdditionalProperty(String key, Object value)
key - name of the propertyvalue - value of the propertypublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - name of the propertypublic static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to VoucherUseGuidepublic static VoucherUseGuide fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to VoucherUseGuidepublic String toJson()
Copyright © 2024. All rights reserved.