Package dev.vality.damsel.analytics
Class ShopGroupedAmount
java.lang.Object
dev.vality.damsel.analytics.ShopGroupedAmount
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ShopGroupedAmount>,org.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-11-14")
public class ShopGroupedAmount
extends Object
implements org.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>, Serializable, Cloneable, Comparable<ShopGroupedAmount>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShopGroupedAmount._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longamountStringcurrencystatic Map<ShopGroupedAmount._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringshop_id -
Constructor Summary
Constructors Constructor Description ShopGroupedAmount()ShopGroupedAmount(long amount, String shop_id, String currency)ShopGroupedAmount(ShopGroupedAmount other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ShopGroupedAmount other)ShopGroupedAmountdeepCopy()booleanequals(ShopGroupedAmount that)booleanequals(Object that)ShopGroupedAmount._FieldsfieldForId(int fieldId)longgetAmount()StringgetCurrency()Map<ShopGroupedAmount._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ShopGroupedAmount._Fields[]getFields()ObjectgetFieldValue(ShopGroupedAmount._Fields field)StringgetShopId()inthashCode()booleanisSet(ShopGroupedAmount._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwisebooleanisSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ShopGroupedAmountsetAmount(long amount)voidsetAmountIsSet(boolean value)ShopGroupedAmountsetCurrency(String currency)voidsetCurrencyIsSet(boolean value)voidsetFieldValue(ShopGroupedAmount._Fields field, Object value)ShopGroupedAmountsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetCurrency()voidunsetShopId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
amount
public long amount -
shop_id
-
currency
-
metaDataMap
public static final Map<ShopGroupedAmount._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ShopGroupedAmount
public ShopGroupedAmount() -
ShopGroupedAmount
-
ShopGroupedAmount
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
getAmount
public long getAmount() -
setAmount
-
unsetAmount
public void unsetAmount() -
isSetAmount
public boolean isSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwise -
setAmountIsSet
public void setAmountIsSet(boolean value) -
getShopId
-
setShopId
-
unsetShopId
public void unsetShopId() -
isSetShopId
public boolean isSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwise -
setShopIdIsSet
public void setShopIdIsSet(boolean value) -
getCurrency
-
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ShopGroupedAmount>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ShopGroupedAmount,ShopGroupedAmount._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-