
com.alipay.api.domain.ReceiptSku Maven / Gradle / Ivy
package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 电子小票商品详情
*
* @author auto create
* @since 1.0, 2021-11-12 10:57:46
*/
public class ReceiptSku extends AlipayObject {
private static final long serialVersionUID = 8629158477742613834L;
/**
* 商品条形码
*/
@ApiField("barcode")
private String barcode;
/**
* 商品数量
*/
@ApiField("count")
private Long count;
/**
* 商品名称
*/
@ApiField("name")
private String name;
/**
* 商品价格,单位分
*/
@ApiField("price")
private Long price;
/**
* weight 表示重量 number表示数量
*/
@ApiField("unit")
private String unit;
public String getBarcode() {
return this.barcode;
}
public void setBarcode(String barcode) {
this.barcode = barcode;
}
public Long getCount() {
return this.count;
}
public void setCount(Long count) {
this.count = count;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Long getPrice() {
return this.price;
}
public void setPrice(Long price) {
this.price = price;
}
public String getUnit() {
return this.unit;
}
public void setUnit(String unit) {
this.unit = unit;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy