Package dev.vality.damsel.domain
Class Shop
java.lang.Object
dev.vality.damsel.domain.Shop
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Shop>,org.apache.thrift.TBase<Shop,,Shop._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class Shop
extends Object
implements org.apache.thrift.TBase<Shop,Shop._Fields>, Serializable, Cloneable, Comparable<Shop>
Магазин мерчанта.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<Shop._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionShop()Performs a deep copy on other.Shop(String id, String created_at, Blocking blocking, Suspension suspension, ShopDetails details, ShopLocation location, CategoryRef category, String contract_id) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) Map<Shop._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(Shop._Fields field) getId()intinthashCode()booleanisSet(Shop._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field account is set (has been assigned a value) and false otherwisebooleanReturns true if field blocking is set (has been assigned a value) and false otherwisebooleanReturns true if field category is set (has been assigned a value) and false otherwisebooleanReturns true if field contract_id is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at is set (has been assigned a value) and false otherwisebooleanReturns true if field details is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanReturns true if field location is set (has been assigned a value) and false otherwisebooleanReturns true if field suspension is set (has been assigned a value) and false otherwisebooleanReturns true if field turnover_limits is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAccount(ShopAccount account) voidsetAccountIsSet(boolean value) setBlocking(Blocking blocking) voidsetBlockingIsSet(boolean value) setCategory(CategoryRef category) voidsetCategoryIsSet(boolean value) setContractId(String contract_id) voidsetContractIdIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setDetails(ShopDetails details) voidsetDetailsIsSet(boolean value) voidsetFieldValue(Shop._Fields field, Object value) voidsetIdIsSet(boolean value) setLocation(ShopLocation location) voidsetLocationIsSet(boolean value) setSuspension(Suspension suspension) voidsetSuspensionIsSet(boolean value) setTurnoverLimits(Set<TurnoverLimit> turnover_limits) voidsetTurnoverLimitsIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidunsetId()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
blocking
-
suspension
-
details
-
location
-
category
-
account
-
contract_id
-
turnover_limits
-
metaDataMap
-
-
Constructor Details
-
Shop
public Shop() -
Shop
public Shop(String id, String created_at, Blocking blocking, Suspension suspension, ShopDetails details, ShopLocation location, CategoryRef category, String contract_id) -
Shop
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getBlocking
-
setBlocking
-
unsetBlocking
public void unsetBlocking() -
isSetBlocking
public boolean isSetBlocking()Returns true if field blocking is set (has been assigned a value) and false otherwise -
setBlockingIsSet
public void setBlockingIsSet(boolean value) -
getSuspension
-
setSuspension
-
unsetSuspension
public void unsetSuspension() -
isSetSuspension
public boolean isSetSuspension()Returns true if field suspension is set (has been assigned a value) and false otherwise -
setSuspensionIsSet
public void setSuspensionIsSet(boolean value) -
getDetails
-
setDetails
-
unsetDetails
public void unsetDetails() -
isSetDetails
public boolean isSetDetails()Returns true if field details is set (has been assigned a value) and false otherwise -
setDetailsIsSet
public void setDetailsIsSet(boolean value) -
getLocation
-
setLocation
-
unsetLocation
public void unsetLocation() -
isSetLocation
public boolean isSetLocation()Returns true if field location is set (has been assigned a value) and false otherwise -
setLocationIsSet
public void setLocationIsSet(boolean value) -
getCategory
-
setCategory
-
unsetCategory
public void unsetCategory() -
isSetCategory
public boolean isSetCategory()Returns true if field category is set (has been assigned a value) and false otherwise -
setCategoryIsSet
public void setCategoryIsSet(boolean value) -
getAccount
-
setAccount
-
unsetAccount
public void unsetAccount() -
isSetAccount
public boolean isSetAccount()Returns true if field account is set (has been assigned a value) and false otherwise -
setAccountIsSet
public void setAccountIsSet(boolean value) -
getContractId
-
setContractId
-
unsetContractId
public void unsetContractId() -
isSetContractId
public boolean isSetContractId()Returns true if field contract_id is set (has been assigned a value) and false otherwise -
setContractIdIsSet
public void setContractIdIsSet(boolean value) -
getTurnoverLimitsSize
public int getTurnoverLimitsSize() -
getTurnoverLimitsIterator
-
addToTurnoverLimits
-
getTurnoverLimits
-
setTurnoverLimits
-
unsetTurnoverLimits
public void unsetTurnoverLimits() -
isSetTurnoverLimits
public boolean isSetTurnoverLimits()Returns true if field turnover_limits is set (has been assigned a value) and false otherwise -
setTurnoverLimitsIsSet
public void setTurnoverLimitsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Shop,Shop._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<Shop,Shop._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Shop>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Shop,Shop._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Shop,Shop._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
-