Package com.stripe.model
Class PackageDimensions
- java.lang.Object
-
- com.stripe.model.StripeObject
-
- com.stripe.model.PackageDimensions
-
- All Implemented Interfaces:
StripeObjectInterface
public class PackageDimensions extends StripeObject
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description PackageDimensions()
-
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.math.BigDecimal
getHeight()
Height, in inches.java.math.BigDecimal
getLength()
Length, in inches.java.math.BigDecimal
getWeight()
Weight, in ounces.java.math.BigDecimal
getWidth()
Width, in inches.int
hashCode()
void
setHeight(java.math.BigDecimal height)
Height, in inches.void
setLength(java.math.BigDecimal length)
Length, in inches.void
setWeight(java.math.BigDecimal weight)
Weight, in ounces.void
setWidth(java.math.BigDecimal width)
Width, in inches.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getHeight
public java.math.BigDecimal getHeight()
Height, in inches.
-
getLength
public java.math.BigDecimal getLength()
Length, in inches.
-
getWeight
public java.math.BigDecimal getWeight()
Weight, in ounces.
-
getWidth
public java.math.BigDecimal getWidth()
Width, in inches.
-
setHeight
public void setHeight(java.math.BigDecimal height)
Height, in inches.
-
setLength
public void setLength(java.math.BigDecimal length)
Length, in inches.
-
setWeight
public void setWeight(java.math.BigDecimal weight)
Weight, in ounces.
-
setWidth
public void setWidth(java.math.BigDecimal width)
Width, in inches.
-
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
-
-