Package com.stripe.model
Class Charge.Level3.LineItem
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.Charge.Level3.LineItem
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Charge.Level3
public static class Charge.Level3.LineItem extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description LineItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Long
getDiscountAmount()
java.lang.String
getProductCode()
java.lang.String
getProductDescription()
java.lang.Long
getQuantity()
java.lang.Long
getTaxAmount()
java.lang.Long
getUnitCost()
int
hashCode()
void
setDiscountAmount(java.lang.Long discountAmount)
void
setProductCode(java.lang.String productCode)
void
setProductDescription(java.lang.String productDescription)
void
setQuantity(java.lang.Long quantity)
void
setTaxAmount(java.lang.Long taxAmount)
void
setUnitCost(java.lang.Long unitCost)
-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDiscountAmount
public java.lang.Long getDiscountAmount()
-
getProductCode
public java.lang.String getProductCode()
-
getProductDescription
public java.lang.String getProductDescription()
-
getQuantity
public java.lang.Long getQuantity()
-
getTaxAmount
public java.lang.Long getTaxAmount()
-
getUnitCost
public java.lang.Long getUnitCost()
-
setDiscountAmount
public void setDiscountAmount(java.lang.Long discountAmount)
-
setProductCode
public void setProductCode(java.lang.String productCode)
-
setProductDescription
public void setProductDescription(java.lang.String productDescription)
-
setQuantity
public void setQuantity(java.lang.Long quantity)
-
setTaxAmount
public void setTaxAmount(java.lang.Long taxAmount)
-
setUnitCost
public void setUnitCost(java.lang.Long unitCost)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-