Package dev.vality.damsel.domain
Class InvoicePaymentChargeback
java.lang.Object
dev.vality.damsel.domain.InvoicePaymentChargeback
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePaymentChargeback>,org.apache.thrift.TBase<InvoicePaymentChargeback,,InvoicePaymentChargeback._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvoicePaymentChargeback
extends Object
implements org.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._Fields>, Serializable, Cloneable, Comparable<InvoicePaymentChargeback>
- 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<InvoicePaymentChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.InvoicePaymentChargeback(String id, InvoicePaymentChargebackStatus status, String created_at, InvoicePaymentChargebackReason reason, Cash levy, Cash body, InvoicePaymentChargebackStage stage, long domain_revision) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getBody()longMap<InvoicePaymentChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()getLevy()longgetStage()inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field body 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 domain_revision 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 levy is set (has been assigned a value) and false otherwisebooleanReturns true if field party_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field reason is set (has been assigned a value) and false otherwisebooleanReturns true if field stage 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) voidsetBodyIsSet(boolean value) setContext(Content context) voidsetContextIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setDomainRevision(long domain_revision) voidsetDomainRevisionIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) voidsetFieldValue(InvoicePaymentChargeback._Fields field, Object value) voidsetIdIsSet(boolean value) voidsetLevyIsSet(boolean value) setPartyRevision(long party_revision) voidsetPartyRevisionIsSet(boolean value) voidsetReasonIsSet(boolean value) voidsetStageIsSet(boolean value) voidsetStatusIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidunsetId()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
status
-
created_at
-
reason
-
levy
-
body
-
stage
-
domain_revision
public long domain_revision -
party_revision
public long party_revision -
context
-
external_id
-
metaDataMap
public static final Map<InvoicePaymentChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePaymentChargeback
public InvoicePaymentChargeback() -
InvoicePaymentChargeback
public InvoicePaymentChargeback(String id, InvoicePaymentChargebackStatus status, String created_at, InvoicePaymentChargebackReason reason, Cash levy, Cash body, InvoicePaymentChargebackStage stage, long domain_revision) -
InvoicePaymentChargeback
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._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) -
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) -
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) -
getReason
-
setReason
-
unsetReason
public void unsetReason() -
isSetReason
public boolean isSetReason()Returns true if field reason is set (has been assigned a value) and false otherwise -
setReasonIsSet
public void setReasonIsSet(boolean value) -
getLevy
-
setLevy
-
unsetLevy
public void unsetLevy() -
isSetLevy
public boolean isSetLevy()Returns true if field levy is set (has been assigned a value) and false otherwise -
setLevyIsSet
public void setLevyIsSet(boolean value) -
getBody
-
setBody
-
unsetBody
public void unsetBody() -
isSetBody
public boolean isSetBody()Returns true if field body is set (has been assigned a value) and false otherwise -
setBodyIsSet
public void setBodyIsSet(boolean value) -
getStage
-
setStage
-
unsetStage
public void unsetStage() -
isSetStage
public boolean isSetStage()Returns true if field stage is set (has been assigned a value) and false otherwise -
setStageIsSet
public void setStageIsSet(boolean value) -
getDomainRevision
public long getDomainRevision() -
setDomainRevision
-
unsetDomainRevision
public void unsetDomainRevision() -
isSetDomainRevision
public boolean isSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwise -
setDomainRevisionIsSet
public void setDomainRevisionIsSet(boolean value) -
getPartyRevision
public long getPartyRevision() -
setPartyRevision
-
unsetPartyRevision
public void unsetPartyRevision() -
isSetPartyRevision
public boolean isSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwise -
setPartyRevisionIsSet
public void setPartyRevisionIsSet(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) -
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<InvoicePaymentChargeback,InvoicePaymentChargeback._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._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<InvoicePaymentChargeback,InvoicePaymentChargeback._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePaymentChargeback>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._Fields>
-
getFieldMetaData
public Map<InvoicePaymentChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePaymentChargeback,InvoicePaymentChargeback._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
-