com.alipay.api.domain.AntMerchantExpandItemCreateModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alipay-sdk-java Show documentation
Show all versions of alipay-sdk-java Show documentation
Alipay openapi SDK for Java
Copyright © 2018 杭州蚂蚁金服
All rights reserved.
版权所有 (C)杭州蚂蚁金服
http://open.alipay.com
package com.alipay.api.domain;
import java.util.List;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
/**
* 商品创建接口
*
* @author auto create
* @since 1.0, 2024-10-10 09:49:29
*/
public class AntMerchantExpandItemCreateModel extends AlipayObject {
private static final long serialVersionUID = 3125668781378494542L;
/**
* 详情地址
*/
@ApiField("detail_url")
private String detailUrl;
/**
* 商品扩展信息:可以解析成 Map 的 json string
*/
@ApiField("ext_info")
private String extInfo;
/**
* 外部商品ID
*/
@ApiField("external_item_id")
private String externalItemId;
/**
* 前台类目id:target_type + target_id 和 front_category_id 二选一
*/
@ApiField("front_category_id")
private String frontCategoryId;
/**
* 商品标签列表
*/
@ApiListField("label_list")
@ApiField("item_label_create_info")
private List labelList;
/**
* 主图地址
*/
@ApiField("main_pic")
private String mainPic;
/**
* 商品名称
*/
@ApiField("name")
private String name;
/**
* 场景:GAS_CHARGE(加油)
*/
@ApiField("scene")
private String scene;
/**
* 商品sku列表,至少有一个
*/
@ApiListField("sku_list")
@ApiField("item_sku_create_info")
private List skuList;
/**
* 商户归属主体id
*/
@ApiField("target_id")
private String targetId;
/**
* 商品归属主体类型:target_type + target_id 和 front_category_id 二选一
商品归属主体类型:
5: 店铺
4: 主站MID
3: 参与者
2: 角色
1: 联系人
*/
@ApiField("target_type")
private String targetType;
public String getDetailUrl() {
return this.detailUrl;
}
public void setDetailUrl(String detailUrl) {
this.detailUrl = detailUrl;
}
public String getExtInfo() {
return this.extInfo;
}
public void setExtInfo(String extInfo) {
this.extInfo = extInfo;
}
public String getExternalItemId() {
return this.externalItemId;
}
public void setExternalItemId(String externalItemId) {
this.externalItemId = externalItemId;
}
public String getFrontCategoryId() {
return this.frontCategoryId;
}
public void setFrontCategoryId(String frontCategoryId) {
this.frontCategoryId = frontCategoryId;
}
public List getLabelList() {
return this.labelList;
}
public void setLabelList(List labelList) {
this.labelList = labelList;
}
public String getMainPic() {
return this.mainPic;
}
public void setMainPic(String mainPic) {
this.mainPic = mainPic;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getScene() {
return this.scene;
}
public void setScene(String scene) {
this.scene = scene;
}
public List getSkuList() {
return this.skuList;
}
public void setSkuList(List skuList) {
this.skuList = skuList;
}
public String getTargetId() {
return this.targetId;
}
public void setTargetId(String targetId) {
this.targetId = targetId;
}
public String getTargetType() {
return this.targetType;
}
public void setTargetType(String targetType) {
this.targetType = targetType;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy