Package dev.vality.damsel.domain
Class InvoiceLine
java.lang.Object
dev.vality.damsel.domain.InvoiceLine
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoiceLine>,org.apache.thrift.TBase<InvoiceLine,,InvoiceLine._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvoiceLine
extends Object
implements org.apache.thrift.TBase<InvoiceLine,InvoiceLine._Fields>, Serializable, Cloneable, Comparable<InvoiceLine>
- 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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(InvoiceLine other) deepCopy()booleanequals(InvoiceLine that) booleanfieldForId(int fieldId) Map<InvoiceLine._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(InvoiceLine._Fields field) intgetPrice()intinthashCode()booleanisSet(InvoiceLine._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field metadata is set (has been assigned a value) and false otherwisebooleanReturns true if field price 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 quantity is set (has been assigned a value) and false otherwisevoidputToMetadata(String key, Value val) voidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(InvoiceLine._Fields field, Object value) setMetadata(Map<String, Value> metadata) voidsetMetadataIsSet(boolean value) voidsetPriceIsSet(boolean value) setProduct(String product) voidsetProductIsSet(boolean value) setQuantity(int quantity) voidsetQuantityIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
product
-
quantity
public int quantity -
price
-
metadata
-
metaDataMap
-
-
Constructor Details
-
InvoiceLine
public InvoiceLine() -
InvoiceLine
-
InvoiceLine
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._Fields>
-
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) -
getQuantity
public int getQuantity() -
setQuantity
-
unsetQuantity
public void unsetQuantity() -
isSetQuantity
public boolean isSetQuantity()Returns true if field quantity is set (has been assigned a value) and false otherwise -
setQuantityIsSet
public void setQuantityIsSet(boolean value) -
getPrice
-
setPrice
-
unsetPrice
public void unsetPrice() -
isSetPrice
public boolean isSetPrice()Returns true if field price is set (has been assigned a value) and false otherwise -
setPriceIsSet
public void setPriceIsSet(boolean value) -
getMetadataSize
public int getMetadataSize() -
putToMetadata
-
getMetadata
-
setMetadata
-
unsetMetadata
public void unsetMetadata() -
isSetMetadata
public boolean isSetMetadata()Returns true if field metadata is set (has been assigned a value) and false otherwise -
setMetadataIsSet
public void setMetadataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._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<InvoiceLine,InvoiceLine._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoiceLine>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoiceLine,InvoiceLine._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
-