- java.lang.Object
-
- com.gluonhq.attach.inappbilling.Product
-
public class Product extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Product.Type
-
Constructor Summary
Constructors Constructor Description Product(java.lang.String id, Product.Type type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ProductDetails
getDetails()
java.lang.String
getId()
Product.Type
getType()
int
hashCode()
void
setDetails(ProductDetails details)
void
setId(java.lang.String id)
void
setType(Product.Type type)
java.lang.String
toString()
-
-
-
Constructor Detail
-
Product
public Product(java.lang.String id, Product.Type type)
-
-
Method Detail
-
getId
public java.lang.String getId()
-
setId
public void setId(java.lang.String id)
-
getType
public Product.Type getType()
-
setType
public void setType(Product.Type type)
-
getDetails
public ProductDetails getDetails()
-
setDetails
public void setDetails(ProductDetails details)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-