@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayMarketingCardOpenResponseModel extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayMarketingCardOpenResponseModel.CustomTypeAdapterFactory |
| 限定符和类型 | 字段和说明 |
|---|---|
static HashSet<String> |
openapiFields |
static HashSet<String> |
openapiRequiredFields |
static String |
SERIALIZED_NAME_CARD_INFO |
static String |
SERIALIZED_NAME_OPEN_CARD_CHANNEL |
static String |
SERIALIZED_NAME_OPEN_CARD_CHANNEL_ID |
| 构造器和说明 |
|---|
AlipayMarketingCardOpenResponseModel() |
| 限定符和类型 | 方法和说明 |
|---|---|
AlipayMarketingCardOpenResponseModel |
cardInfo(MerchantCard cardInfo) |
boolean |
equals(Object o) |
static AlipayMarketingCardOpenResponseModel |
fromJson(String jsonString)
Create an instance of AlipayMarketingCardOpenResponseModel 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.
|
MerchantCard |
getCardInfo()
Get cardInfo
|
String |
getOpenCardChannel()
实际记录的领卡渠道(可能跟商户传入值不同); 可直接标识领卡渠道,也可配合open_card_channel_id标识领卡渠道类型: 例如: 线下门店领取:20161534000000000008863(直接标识领卡渠道,门店shopId) 线下扫二维码领取:QR(标识领卡类型); 线下活动领取:20170522000000000003609(直接标识领卡渠道,商户活动ID)
|
String |
getOpenCardChannelId()
实际记录的领卡来源渠道id(可能跟商户传入值不同); 区别于open_card_channel领卡渠道; 一般使用场景: open_card_channel用于区分渠道类型,例如取值为\"SHOP\"(门店),\"ACTIVITY\"(活动); 则open_card_channel_id可用于区分同渠道的不同实体,对应取各门店ID或各活动的标识ID等;
|
int |
hashCode() |
AlipayMarketingCardOpenResponseModel |
openCardChannel(String openCardChannel) |
AlipayMarketingCardOpenResponseModel |
openCardChannelId(String openCardChannelId) |
AlipayMarketingCardOpenResponseModel |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setCardInfo(MerchantCard cardInfo) |
void |
setOpenCardChannel(String openCardChannel) |
void |
setOpenCardChannelId(String openCardChannelId) |
String |
toJson()
Convert an instance of AlipayMarketingCardOpenResponseModel 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_OPEN_CARD_CHANNEL
public static final String SERIALIZED_NAME_OPEN_CARD_CHANNEL_ID
public AlipayMarketingCardOpenResponseModel cardInfo(MerchantCard cardInfo)
@Nullable public MerchantCard getCardInfo()
public void setCardInfo(MerchantCard cardInfo)
public AlipayMarketingCardOpenResponseModel openCardChannel(String openCardChannel)
@Nullable public String getOpenCardChannel()
public void setOpenCardChannel(String openCardChannel)
public AlipayMarketingCardOpenResponseModel openCardChannelId(String openCardChannelId)
@Nullable public String getOpenCardChannelId()
public void setOpenCardChannelId(String openCardChannelId)
public AlipayMarketingCardOpenResponseModel 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 AlipayMarketingCardOpenResponseModelpublic static AlipayMarketingCardOpenResponseModel fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayMarketingCardOpenResponseModelpublic String toJson()
Copyright © 2024. All rights reserved.