Package com.stripe.model.issuing
Class Transaction.PurchaseDetails.Receipt
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.issuing.Transaction.PurchaseDetails.Receipt
-
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Transaction.PurchaseDetails
public static class Transaction.PurchaseDetails.Receipt extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Receipt()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetDescription()java.math.BigDecimalgetQuantity()java.lang.LonggetTotal()java.lang.LonggetUnitCost()inthashCode()voidsetDescription(java.lang.String description)voidsetQuantity(java.math.BigDecimal quantity)voidsetTotal(java.lang.Long total)voidsetUnitCost(java.lang.Long unitCost)-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
-
getQuantity
public java.math.BigDecimal getQuantity()
-
getTotal
public java.lang.Long getTotal()
-
getUnitCost
public java.lang.Long getUnitCost()
-
setDescription
public void setDescription(java.lang.String description)
-
setQuantity
public void setQuantity(java.math.BigDecimal quantity)
-
setTotal
public void setTotal(java.lang.Long total)
-
setUnitCost
public void setUnitCost(java.lang.Long unitCost)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-