Class InvoiceWithTemplateParams
java.lang.Object
dev.vality.damsel.payment_processing.InvoiceWithTemplateParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoiceWithTemplateParams>,org.apache.thrift.TBase<InvoiceWithTemplateParams,,InvoiceWithTemplateParams._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvoiceWithTemplateParams
extends Object
implements org.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>, Serializable, Cloneable, Comparable<InvoiceWithTemplateParams>
- 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<InvoiceWithTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.InvoiceWithTemplateParams(String template_id, String id) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getCost()Map<InvoiceWithTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()inthashCode()booleanReturns true if field corresponding to fieldID 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 cost 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 template_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setContext(Content context) voidsetContextIsSet(boolean value) voidsetCostIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) voidsetFieldValue(InvoiceWithTemplateParams._Fields field, Object value) voidsetIdIsSet(boolean value) setTemplateId(String template_id) voidsetTemplateIdIsSet(boolean value) toString()voidvoidvoidvoidunsetId()voidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
template_id
-
cost
-
context
-
id
-
external_id
-
metaDataMap
public static final Map<InvoiceWithTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoiceWithTemplateParams
public InvoiceWithTemplateParams() -
InvoiceWithTemplateParams
-
InvoiceWithTemplateParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>
-
getTemplateId
-
setTemplateId
-
unsetTemplateId
public void unsetTemplateId() -
isSetTemplateId
public boolean isSetTemplateId()Returns true if field template_id is set (has been assigned a value) and false otherwise -
setTemplateIdIsSet
public void setTemplateIdIsSet(boolean value) -
getCost
-
setCost
-
unsetCost
public void unsetCost() -
isSetCost
public boolean isSetCost()Returns true if field cost is set (has been assigned a value) and false otherwise -
setCostIsSet
public void setCostIsSet(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) -
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) -
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._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<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoiceWithTemplateParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._Fields>
-
getFieldMetaData
public Map<InvoiceWithTemplateParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoiceWithTemplateParams,InvoiceWithTemplateParams._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
-