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

com.alipay.api.domain.AntInvoiceItem 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.domain;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;

/**
 * 蚂蚁发票平台电子发票明细
 *
 * @author auto create
 * @since 1.0, 2021-03-15 15:45:45
 */
public class AntInvoiceItem extends AlipayObject {

	private static final long serialVersionUID = 4727218783842698778L;

	/**
	 * 价税合计。(等于sumPrice和tax之和)
	 */
	@ApiField("amount")
	private String amount;

	/**
	 * 发票项目名称(或商品名称)
	 */
	@ApiField("item_name")
	private String itemName;

	/**
	 * 税收分类编码
	 */
	@ApiField("item_no")
	private String itemNo;

	/**
	 * 单价,格式:100.00(不含税)
	 */
	@ApiField("price")
	private String price;

	/**
	 * 数量
	 */
	@ApiField("quantity")
	private String quantity;

	/**
	 * 发票行性质。0表示正常行,1表示折扣行,2表示被折扣行。

比如充电器单价100元,折扣10元,则明细为2行,充电器行性质为2,折扣行性质为1。如果充电器没有折扣,则值应为0。
	 */
	@ApiField("row_type")
	private String rowType;

	/**
	 * 规格型号,可选
	 */
	@ApiField("specification")
	private String specification;

	/**
	 * 总价,格式:100.00(不含税)
	 */
	@ApiField("sum_price")
	private String sumPrice;

	/**
	 * 税额,格式:100.00
	 */
	@ApiField("tax")
	private String tax;

	/**
	 * 税率。税率只能为0或0.03或0.04或0.06或0.11或0.13或0.17
	 */
	@ApiField("tax_rate")
	private String taxRate;

	/**
	 * 单位
	 */
	@ApiField("unit")
	private String unit;

	/**
	 * 0税率标识,0=出口零税率,1=免税,2=不征收,3=普通零税率
	 */
	@ApiField("zero_rate_flag")
	private String zeroRateFlag;

	public String getAmount() {
		return this.amount;
	}
	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getItemName() {
		return this.itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemNo() {
		return this.itemNo;
	}
	public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}

	public String getPrice() {
		return this.price;
	}
	public void setPrice(String price) {
		this.price = price;
	}

	public String getQuantity() {
		return this.quantity;
	}
	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String getRowType() {
		return this.rowType;
	}
	public void setRowType(String rowType) {
		this.rowType = rowType;
	}

	public String getSpecification() {
		return this.specification;
	}
	public void setSpecification(String specification) {
		this.specification = specification;
	}

	public String getSumPrice() {
		return this.sumPrice;
	}
	public void setSumPrice(String sumPrice) {
		this.sumPrice = sumPrice;
	}

	public String getTax() {
		return this.tax;
	}
	public void setTax(String tax) {
		this.tax = tax;
	}

	public String getTaxRate() {
		return this.taxRate;
	}
	public void setTaxRate(String taxRate) {
		this.taxRate = taxRate;
	}

	public String getUnit() {
		return this.unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}

	public String getZeroRateFlag() {
		return this.zeroRateFlag;
	}
	public void setZeroRateFlag(String zeroRateFlag) {
		this.zeroRateFlag = zeroRateFlag;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy