All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alipay.api.response.KoubeiRetailItemQueryResponse Maven / Gradle / Ivy

Go to download

Alipay openapi SDK for Java Copyright © 2018 杭州蚂蚁金服 All rights reserved. 版权所有 (C)杭州蚂蚁金服 http://open.alipay.com

There is a newer version: 4.40.21.ALL
Show newest version
package com.alipay.api.response;

import java.util.List;
import com.alipay.api.internal.mapping.ApiField;
import com.alipay.api.internal.mapping.ApiListField;
import com.alipay.api.domain.RetailItemDescription;

import com.alipay.api.AlipayResponse;

/**
 * ALIPAY API: koubei.retail.item.query response.
 * 
 * @author auto create
 * @since 1.0, 2024-07-04 19:39:04
 */
public class KoubeiRetailItemQueryResponse extends AlipayResponse {

	private static final long serialVersionUID = 7617286641538171438L;

	/** 
	 * 封面图url地址
	 */
	@ApiField("cover")
	private String cover;

	/** 
	 * 商品描述
	 */
	@ApiListField("descriptions")
	@ApiField("retail_item_description")
	private List descriptions;

	/** 
	 * 折扣比例,5折:0.5
	 */
	@ApiField("discount_rate")
	private String discountRate;

	/** 
	 * 商品失效时间
	 */
	@ApiField("gmt_end")
	private String gmtEnd;

	/** 
	 * 商品生效时间
	 */
	@ApiField("gmt_start")
	private String gmtStart;

	/** 
	 * 商品id
	 */
	@ApiField("item_id")
	private String itemId;

	/** 
	 * 商品状态,共有5个状态:INIT(初始状态)EFFECTIVE(生效)PAUSE(暂停)FREEZE(冻结)INVALID(失效)
	 */
	@ApiField("item_status")
	private String itemStatus;

	/** 
	 * 商品原价(减至券)。单位为元,精确到小数点后两位,取值范围[0.01,100000000]
	 */
	@ApiField("original_amount")
	private String originalAmount;

	/** 
	 * 商品详情图片列表
	 */
	@ApiListField("picture_list")
	@ApiField("string")
	private List pictureList;

	/** 
	 * 优惠价(减至券)。单位为元,精确到小数点后两位,取值范围[0.01,100000000]
	 */
	@ApiField("reduce_to_amount")
	private String reduceToAmount;

	/** 
	 * 商品适用的门店信息列表
	 */
	@ApiListField("shop_list")
	@ApiField("string")
	private List shopList;

	/** 
	 * 适用的sku列表,最多支持800个SKU,超过返回为空
	 */
	@ApiListField("sku_list")
	@ApiField("string")
	private List skuList;

	/** 
	 * 券名称
	 */
	@ApiField("title")
	private String title;

	/** 
	 * 券类型:CASH为代金券,DISCOUNT为折扣券;ALL为全场,SINGLE为单品
	 */
	@ApiField("type")
	private String type;

	/** 
	 * 代金券金额:满100减30 => 30。单位为元,精确到小数点后两位,取值范围[0.01,100000000]
	 */
	@ApiField("value_amount")
	private String valueAmount;

	public void setCover(String cover) {
		this.cover = cover;
	}
	public String getCover( ) {
		return this.cover;
	}

	public void setDescriptions(List descriptions) {
		this.descriptions = descriptions;
	}
	public List getDescriptions( ) {
		return this.descriptions;
	}

	public void setDiscountRate(String discountRate) {
		this.discountRate = discountRate;
	}
	public String getDiscountRate( ) {
		return this.discountRate;
	}

	public void setGmtEnd(String gmtEnd) {
		this.gmtEnd = gmtEnd;
	}
	public String getGmtEnd( ) {
		return this.gmtEnd;
	}

	public void setGmtStart(String gmtStart) {
		this.gmtStart = gmtStart;
	}
	public String getGmtStart( ) {
		return this.gmtStart;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}
	public String getItemId( ) {
		return this.itemId;
	}

	public void setItemStatus(String itemStatus) {
		this.itemStatus = itemStatus;
	}
	public String getItemStatus( ) {
		return this.itemStatus;
	}

	public void setOriginalAmount(String originalAmount) {
		this.originalAmount = originalAmount;
	}
	public String getOriginalAmount( ) {
		return this.originalAmount;
	}

	public void setPictureList(List pictureList) {
		this.pictureList = pictureList;
	}
	public List getPictureList( ) {
		return this.pictureList;
	}

	public void setReduceToAmount(String reduceToAmount) {
		this.reduceToAmount = reduceToAmount;
	}
	public String getReduceToAmount( ) {
		return this.reduceToAmount;
	}

	public void setShopList(List shopList) {
		this.shopList = shopList;
	}
	public List getShopList( ) {
		return this.shopList;
	}

	public void setSkuList(List skuList) {
		this.skuList = skuList;
	}
	public List getSkuList( ) {
		return this.skuList;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	public String getTitle( ) {
		return this.title;
	}

	public void setType(String type) {
		this.type = type;
	}
	public String getType( ) {
		return this.type;
	}

	public void setValueAmount(String valueAmount) {
		this.valueAmount = valueAmount;
	}
	public String getValueAmount( ) {
		return this.valueAmount;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy