Package dev.vality.damsel.merch_stat
Class StatInvoice
java.lang.Object
dev.vality.damsel.merch_stat.StatInvoice
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StatInvoice>,org.apache.thrift.TBase<StatInvoice,,StatInvoice._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class StatInvoice
extends Object
implements org.apache.thrift.TBase<StatInvoice,StatInvoice._Fields>, Serializable, Cloneable, Comparable<StatInvoice>
Информация об инвойсе.
- 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 TypeFieldDescriptionlongstatic final Map<StatInvoice._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionStatInvoice(StatInvoice other) Performs a deep copy on other.StatInvoice(String id, String owner_id, String shop_id, String created_at, InvoiceStatus status, String product, String due, long amount, String currency_symbolic_code) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(StatInvoice other) deepCopy()booleanequals(StatInvoice that) booleanfieldForId(int fieldId) longgetCart()getDue()Map<StatInvoice._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(StatInvoice._Fields field) getId()inthashCode()booleanisSet(StatInvoice._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field allocation is set (has been assigned a value) and false otherwisebooleanReturns true if field amount is set (has been assigned a value) and false otherwisebooleanReturns true if field cart is set (has been assigned a value) and false otherwisebooleanReturns true if field context 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 currency_symbolic_code is set (has been assigned a value) and false otherwisebooleanReturns true if field description is set (has been assigned a value) and false otherwisebooleanisSetDue()Returns true if field due is set (has been assigned a value) and false otherwisebooleanReturns true if field external_id 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 owner_id is set (has been assigned a value) and false otherwisebooleanReturns true if field product is set (has been assigned a value) and false otherwisebooleanReturns true if field shop_id is set (has been assigned a value) and false otherwisebooleanReturns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAllocation(Allocation allocation) voidsetAllocationIsSet(boolean value) setAmount(long amount) voidsetAmountIsSet(boolean value) setCart(InvoiceCart cart) voidsetCartIsSet(boolean value) setContext(Content context) voidsetContextIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setCurrencySymbolicCode(String currency_symbolic_code) voidsetCurrencySymbolicCodeIsSet(boolean value) setDescription(String description) voidsetDescriptionIsSet(boolean value) voidsetDueIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) voidsetFieldValue(StatInvoice._Fields field, Object value) voidsetIdIsSet(boolean value) setOwnerId(String owner_id) voidsetOwnerIdIsSet(boolean value) setProduct(String product) voidsetProductIsSet(boolean value) voidsetShopIdIsSet(boolean value) setStatus(InvoiceStatus status) voidsetStatusIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidunsetDue()voidvoidunsetId()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
owner_id
-
shop_id
-
created_at
-
status
-
product
-
description
-
due
-
amount
public long amount -
currency_symbolic_code
-
context
-
cart
-
external_id
-
allocation
-
metaDataMap
-
-
Constructor Details
-
StatInvoice
public StatInvoice() -
StatInvoice
-
StatInvoice
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._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) -
getOwnerId
-
setOwnerId
-
unsetOwnerId
public void unsetOwnerId() -
isSetOwnerId
public boolean isSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwise -
setOwnerIdIsSet
public void setOwnerIdIsSet(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) -
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) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getProduct
-
setProduct
-
unsetProduct
public void unsetProduct() -
isSetProduct
public boolean isSetProduct()Returns true if field product is set (has been assigned a value) and false otherwise -
setProductIsSet
public void setProductIsSet(boolean value) -
getDescription
-
setDescription
-
unsetDescription
public void unsetDescription() -
isSetDescription
public boolean isSetDescription()Returns true if field description is set (has been assigned a value) and false otherwise -
setDescriptionIsSet
public void setDescriptionIsSet(boolean value) -
getDue
-
setDue
-
unsetDue
public void unsetDue() -
isSetDue
public boolean isSetDue()Returns true if field due is set (has been assigned a value) and false otherwise -
setDueIsSet
public void setDueIsSet(boolean value) -
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) -
getCurrencySymbolicCode
-
setCurrencySymbolicCode
-
unsetCurrencySymbolicCode
public void unsetCurrencySymbolicCode() -
isSetCurrencySymbolicCode
public boolean isSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise -
setCurrencySymbolicCodeIsSet
public void setCurrencySymbolicCodeIsSet(boolean value) -
getContext
-
setContext
-
unsetContext
public void unsetContext() -
isSetContext
public boolean isSetContext()Returns true if field context is set (has been assigned a value) and false otherwise -
setContextIsSet
public void setContextIsSet(boolean value) -
getCart
-
setCart
-
unsetCart
public void unsetCart() -
isSetCart
public boolean isSetCart()Returns true if field cart is set (has been assigned a value) and false otherwise -
setCartIsSet
public void setCartIsSet(boolean value) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(boolean value) -
getAllocation
-
setAllocation
-
unsetAllocation
public void unsetAllocation() -
isSetAllocation
public boolean isSetAllocation()Returns true if field allocation is set (has been assigned a value) and false otherwise -
setAllocationIsSet
public void setAllocationIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._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<StatInvoice,StatInvoice._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatInvoice>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatInvoice,StatInvoice._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
-