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.14.2)",
date="2022-10-25")
public class Shop
extends Object
implements org.apache.thrift.TBase<Shop,Shop._Fields>, Serializable, Cloneable, Comparable<Shop>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShop._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description ShopAccountaccountBlockingblockingCategoryRefcategoryStringcontract_idStringcreated_atShopDetailsdetailsStringidShopLocationlocationstatic Map<Shop._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapBusinessScheduleRefpayout_scheduleStringpayout_tool_idSuspensionsuspension -
Constructor Summary
Constructors Constructor Description Shop()Shop(Shop other)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 Type Method Description voidclear()intcompareTo(Shop other)ShopdeepCopy()booleanequals(Shop that)booleanequals(Object that)Shop._FieldsfieldForId(int fieldId)ShopAccountgetAccount()BlockinggetBlocking()CategoryRefgetCategory()StringgetContractId()StringgetCreatedAt()ShopDetailsgetDetails()Map<Shop._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Shop._Fields[]getFields()ObjectgetFieldValue(Shop._Fields field)StringgetId()ShopLocationgetLocation()BusinessScheduleRefgetPayoutSchedule()StringgetPayoutToolId()SuspensiongetSuspension()inthashCode()booleanisSet(Shop._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAccount()Returns true if field account is set (has been assigned a value) and false otherwisebooleanisSetBlocking()Returns true if field blocking is set (has been assigned a value) and false otherwisebooleanisSetCategory()Returns true if field category is set (has been assigned a value) and false otherwisebooleanisSetContractId()Returns true if field contract_id is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetDetails()Returns 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 otherwisebooleanisSetLocation()Returns true if field location is set (has been assigned a value) and false otherwisebooleanisSetPayoutSchedule()Returns true if field payout_schedule is set (has been assigned a value) and false otherwisebooleanisSetPayoutToolId()Returns true if field payout_tool_id is set (has been assigned a value) and false otherwisebooleanisSetSuspension()Returns true if field suspension is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ShopsetAccount(ShopAccount account)voidsetAccountIsSet(boolean value)ShopsetBlocking(Blocking blocking)voidsetBlockingIsSet(boolean value)ShopsetCategory(CategoryRef category)voidsetCategoryIsSet(boolean value)ShopsetContractId(String contract_id)voidsetContractIdIsSet(boolean value)ShopsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)ShopsetDetails(ShopDetails details)voidsetDetailsIsSet(boolean value)voidsetFieldValue(Shop._Fields field, Object value)ShopsetId(String id)voidsetIdIsSet(boolean value)ShopsetLocation(ShopLocation location)voidsetLocationIsSet(boolean value)ShopsetPayoutSchedule(BusinessScheduleRef payout_schedule)voidsetPayoutScheduleIsSet(boolean value)ShopsetPayoutToolId(String payout_tool_id)voidsetPayoutToolIdIsSet(boolean value)ShopsetSuspension(Suspension suspension)voidsetSuspensionIsSet(boolean value)StringtoString()voidunsetAccount()voidunsetBlocking()voidunsetCategory()voidunsetContractId()voidunsetCreatedAt()voidunsetDetails()voidunsetId()voidunsetLocation()voidunsetPayoutSchedule()voidunsetPayoutToolId()voidunsetSuspension()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
blocking
-
suspension
-
details
-
location
-
category
-
account
-
contract_id
-
payout_tool_id
-
payout_schedule
-
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) -
getPayoutToolId
-
setPayoutToolId
-
unsetPayoutToolId
public void unsetPayoutToolId() -
isSetPayoutToolId
public boolean isSetPayoutToolId()Returns true if field payout_tool_id is set (has been assigned a value) and false otherwise -
setPayoutToolIdIsSet
public void setPayoutToolIdIsSet(boolean value) -
getPayoutSchedule
-
setPayoutSchedule
-
unsetPayoutSchedule
public void unsetPayoutSchedule() -
isSetPayoutSchedule
public boolean isSetPayoutSchedule()Returns true if field payout_schedule is set (has been assigned a value) and false otherwise -
setPayoutScheduleIsSet
public void setPayoutScheduleIsSet(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
-