Class InvoicePayment
java.lang.Object
dev.vality.damsel.proxy_inspector.InvoicePayment
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePayment>,org.apache.thrift.TBase<InvoicePayment,,InvoicePayment._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvoicePayment
extends Object
implements org.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>, Serializable, Cloneable, Comparable<InvoicePayment>
- 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 TypeFieldDescriptionbooleanstatic final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionInvoicePayment(InvoicePayment other) Performs a deep copy on other.InvoicePayment(String id, String created_at, Payer payer, Cash cost) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(InvoicePayment other) deepCopy()booleanequals(InvoicePayment that) booleanfieldForId(int fieldId) getCost()Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()getPayer()inthashCode()booleanbooleanisSet(InvoicePayment._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 cost is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at 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 make_recurrent is set (has been assigned a value) and false otherwisebooleanReturns true if field payer is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAllocation(Allocation allocation) voidsetAllocationIsSet(boolean value) voidsetCostIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) voidsetFieldValue(InvoicePayment._Fields field, Object value) voidsetIdIsSet(boolean value) setMakeRecurrent(boolean make_recurrent) voidsetMakeRecurrentIsSet(boolean value) voidsetPayerIsSet(boolean value) toString()voidvoidvoidvoidunsetId()voidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
created_at
-
payer
-
cost
-
make_recurrent
public boolean make_recurrent -
allocation
-
metaDataMap
public static final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePayment
public InvoicePayment() -
InvoicePayment
-
InvoicePayment
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._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) -
getPayer
-
setPayer
-
unsetPayer
public void unsetPayer() -
isSetPayer
public boolean isSetPayer()Returns true if field payer is set (has been assigned a value) and false otherwise -
setPayerIsSet
public void setPayerIsSet(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) -
isMakeRecurrent
public boolean isMakeRecurrent() -
setMakeRecurrent
-
unsetMakeRecurrent
public void unsetMakeRecurrent() -
isSetMakeRecurrent
public boolean isSetMakeRecurrent()Returns true if field make_recurrent is set (has been assigned a value) and false otherwise -
setMakeRecurrentIsSet
public void setMakeRecurrentIsSet(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<InvoicePayment,InvoicePayment._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._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<InvoicePayment,InvoicePayment._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePayment>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePayment,InvoicePayment._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
-