Package com.braintreegateway
Class TransactionLineItem
- java.lang.Object
-
- com.braintreegateway.TransactionLineItem
-
public class TransactionLineItem extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransactionLineItem.Kind
-
Field Summary
Fields Modifier and Type Field Description private StringcommodityCodeprivate Stringdescriptionprivate BigDecimaldiscountAmountprivate StringimageUrlprivate TransactionLineItem.Kindkindprivate Stringnameprivate StringproductCodeprivate BigDecimalquantityprivate BigDecimaltaxAmountprivate BigDecimaltotalAmountprivate BigDecimalunitAmountprivate StringunitOfMeasureprivate BigDecimalunitTaxAmountprivate StringupcCodeprivate StringupcTypeprivate Stringurl
-
Constructor Summary
Constructors Constructor Description TransactionLineItem(NodeWrapper node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommodityCode()StringgetDescription()BigDecimalgetDiscountAmount()StringgetImageUrl()TransactionLineItem.KindgetKind()StringgetName()StringgetProductCode()BigDecimalgetQuantity()BigDecimalgetTaxAmount()BigDecimalgetTotalAmount()BigDecimalgetUnitAmount()StringgetUnitOfMeasure()BigDecimalgetUnitTaxAmount()StringgetUpcCode()StringgetUpcType()StringgetUrl()
-
-
-
Field Detail
-
kind
private TransactionLineItem.Kind kind
-
discountAmount
private BigDecimal discountAmount
-
quantity
private BigDecimal quantity
-
taxAmount
private BigDecimal taxAmount
-
totalAmount
private BigDecimal totalAmount
-
unitAmount
private BigDecimal unitAmount
-
unitTaxAmount
private BigDecimal unitTaxAmount
-
commodityCode
private String commodityCode
-
description
private String description
-
imageUrl
private String imageUrl
-
name
private String name
-
productCode
private String productCode
-
unitOfMeasure
private String unitOfMeasure
-
upcCode
private String upcCode
-
upcType
private String upcType
-
url
private String url
-
-
Constructor Detail
-
TransactionLineItem
public TransactionLineItem(NodeWrapper node)
-
-
Method Detail
-
getQuantity
public BigDecimal getQuantity()
-
getName
public String getName()
-
getDescription
public String getDescription()
-
getKind
public TransactionLineItem.Kind getKind()
-
getUnitAmount
public BigDecimal getUnitAmount()
-
getUnitTaxAmount
public BigDecimal getUnitTaxAmount()
-
getTotalAmount
public BigDecimal getTotalAmount()
-
getDiscountAmount
public BigDecimal getDiscountAmount()
-
getUnitOfMeasure
public String getUnitOfMeasure()
-
getProductCode
public String getProductCode()
-
getCommodityCode
public String getCommodityCode()
-
getUrl
public String getUrl()
-
getTaxAmount
public BigDecimal getTaxAmount()
-
getImageUrl
public String getImageUrl()
-
getUpcCode
public String getUpcCode()
-
getUpcType
public String getUpcType()
-
-