@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayMarketingCampaignOrderVoucherConsultModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayMarketingCampaignOrderVoucherConsultModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_BUSINESS_PARAM |
static String |
SERIALIZED_NAME_ITEM_CONSULT_LIST |
static String |
SERIALIZED_NAME_ORDER_AMOUNT |
static String |
SERIALIZED_NAME_SCENE_CODE |
static String |
SERIALIZED_NAME_SPECIFIED_APP_ID |
| 构造器和说明 |
|---|
AlipayMarketingCampaignOrderVoucherConsultModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayMarketingCampaignOrderVoucherConsultModel |
addItemConsultListItem(ItemConsultRequest itemConsultListItem) |
AlipayMarketingCampaignOrderVoucherConsultModel |
addSceneCodeItem(String sceneCodeItem) |
AlipayMarketingCampaignOrderVoucherConsultModel |
businessParam(String businessParam) |
boolean |
equals(Object o) |
static AlipayMarketingCampaignOrderVoucherConsultModel |
fromJson(String jsonString)
Create an instance of AlipayMarketingCampaignOrderVoucherConsultModel 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 |
getBusinessParam()
业务参数大字段,优惠咨询的控制参数,json格式;目前支持传入useBigAmountSkipOrderThold为N来控制不使用大金额跳过优惠的订单门槛检查;默认不传;
|
List<ItemConsultRequest> |
getItemConsultList()
商品咨询请求列表(当需要咨询单品券时必传,如果某商品不希望参与本次单品优惠咨询则不传递对应信息即可)
|
String |
getOrderAmount()
订单金额(如同时享受商户自有优惠请先扣除后传入),单位为元,最多2位小数
|
List<String> |
getSceneCode()
场景码:默认(DEFAULT)
|
String |
getSpecifiedAppId()
券指定的核销appid(如果配券时指定了核销范围为线上小程序及相应的appid则此处必传)
|
int |
hashCode() |
AlipayMarketingCampaignOrderVoucherConsultModel |
itemConsultList(List<ItemConsultRequest> itemConsultList) |
AlipayMarketingCampaignOrderVoucherConsultModel |
orderAmount(String orderAmount) |
AlipayMarketingCampaignOrderVoucherConsultModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
AlipayMarketingCampaignOrderVoucherConsultModel |
sceneCode(List<String> sceneCode) |
void |
setBusinessParam(String businessParam) |
void |
setItemConsultList(List<ItemConsultRequest> itemConsultList) |
void |
setOrderAmount(String orderAmount) |
void |
setSceneCode(List<String> sceneCode) |
void |
setSpecifiedAppId(String specifiedAppId) |
AlipayMarketingCampaignOrderVoucherConsultModel |
specifiedAppId(String specifiedAppId) |
String |
toJson()
Convert an instance of AlipayMarketingCampaignOrderVoucherConsultModel 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_BUSINESS_PARAM
public static final String SERIALIZED_NAME_ITEM_CONSULT_LIST
public static final String SERIALIZED_NAME_SPECIFIED_APP_ID
public AlipayMarketingCampaignOrderVoucherConsultModel()
public AlipayMarketingCampaignOrderVoucherConsultModel businessParam(String businessParam)
@Nullable public String getBusinessParam()
public void setBusinessParam(String businessParam)
public AlipayMarketingCampaignOrderVoucherConsultModel itemConsultList(List<ItemConsultRequest> itemConsultList)
public AlipayMarketingCampaignOrderVoucherConsultModel addItemConsultListItem(ItemConsultRequest itemConsultListItem)
@Nullable public List<ItemConsultRequest> getItemConsultList()
public void setItemConsultList(List<ItemConsultRequest> itemConsultList)
public AlipayMarketingCampaignOrderVoucherConsultModel orderAmount(String orderAmount)
@Nullable public String getOrderAmount()
public void setOrderAmount(String orderAmount)
public AlipayMarketingCampaignOrderVoucherConsultModel sceneCode(List<String> sceneCode)
public AlipayMarketingCampaignOrderVoucherConsultModel addSceneCodeItem(String sceneCodeItem)
public AlipayMarketingCampaignOrderVoucherConsultModel specifiedAppId(String specifiedAppId)
@Nullable public String getSpecifiedAppId()
public void setSpecifiedAppId(String specifiedAppId)
public AlipayMarketingCampaignOrderVoucherConsultModel 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 AlipayMarketingCampaignOrderVoucherConsultModelpublic static AlipayMarketingCampaignOrderVoucherConsultModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayMarketingCampaignOrderVoucherConsultModelpublic String toJson()
Copyright © 2024. All rights reserved.