Class Invoice
java.lang.Object
dev.vality.damsel.proxy_inspector.Invoice
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Invoice>,org.apache.thrift.TBase<Invoice,,Invoice._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class Invoice
extends Object
implements org.apache.thrift.TBase<Invoice,Invoice._Fields>, Serializable, Cloneable, Comparable<Invoice>
- 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<Invoice._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getDue()Map<Invoice._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(Invoice._Fields field) getId()inthashCode()booleanisSet(Invoice._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field client_info 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 otherwisebooleanisSetDue()Returns true if field due is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setClientInfo(InvoiceClientInfo client_info) voidsetClientInfoIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setDetails(InvoiceDetails details) voidsetDetailsIsSet(boolean value) voidsetDueIsSet(boolean value) voidsetFieldValue(Invoice._Fields field, Object value) voidsetIdIsSet(boolean value) toString()voidvoidvoidvoidunsetDue()voidunsetId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
due
-
details
-
client_info
-
metaDataMap
-
-
Constructor Details
-
Invoice
public Invoice() -
Invoice
-
Invoice
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Invoice,Invoice._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Invoice,Invoice._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) -
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) -
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) -
getClientInfo
-
setClientInfo
-
unsetClientInfo
public void unsetClientInfo() -
isSetClientInfo
public boolean isSetClientInfo()Returns true if field client_info is set (has been assigned a value) and false otherwise -
setClientInfoIsSet
public void setClientInfoIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Invoice,Invoice._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Invoice,Invoice._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<Invoice,Invoice._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Invoice>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Invoice,Invoice._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Invoice,Invoice._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Invoice,Invoice._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
-