Package dev.vality.damsel.domain
Class InvoicePaymentStatus
java.lang.Object
org.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields>
dev.vality.damsel.domain.InvoicePaymentStatus
- All Implemented Interfaces:
Serializable,Comparable<InvoicePaymentStatus>,org.apache.thrift.TBase<InvoicePaymentStatus,,InvoicePaymentStatus._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvoicePaymentStatus
extends org.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields>
Статус платежа.
- 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<InvoicePaymentStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> Fields inherited from class org.apache.thrift.TUnion
setField_, value_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InvoicePaymentStatuscancelled(InvoicePaymentCancelled value) static InvoicePaymentStatuscaptured(InvoicePaymentCaptured value) static InvoicePaymentStatusprotected voidcheckType(InvoicePaymentStatus._Fields setField, Object value) intcompareTo(InvoicePaymentStatus other) deepCopy()protected InvoicePaymentStatus._FieldsenumForId(short id) booleanequals(InvoicePaymentStatus other) booleanstatic InvoicePaymentStatusfailed(InvoicePaymentFailed value) fieldForId(int fieldId) protected org.apache.thrift.protocol.TFieldgetFieldDesc(InvoicePaymentStatus._Fields setField) Map<InvoicePaymentStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> protected org.apache.thrift.protocol.TStructinthashCode()booleanbooleanbooleanbooleanbooleanbooleanbooleanstatic InvoicePaymentStatuspending(InvoicePaymentPending value) static InvoicePaymentStatusprocessed(InvoicePaymentProcessed value) static InvoicePaymentStatusrefunded(InvoicePaymentRefunded value) voidvoidvoidvoidsetFailed(InvoicePaymentFailed value) voidsetPending(InvoicePaymentPending value) voidvoidprotected ObjectstandardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) protected voidstandardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) protected ObjecttupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) protected voidtupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) Methods inherited from class org.apache.thrift.TUnion
clear, getFieldValue, getFieldValue, getFieldValue, getSetField, isSet, isSet, isSet, read, setFieldValue, setFieldValue, toString, write
-
Field Details
-
metaDataMap
public static final Map<InvoicePaymentStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePaymentStatus
public InvoicePaymentStatus() -
InvoicePaymentStatus
-
InvoicePaymentStatus
-
-
Method Details
-
deepCopy
-
pending
-
processed
-
captured
-
cancelled
-
refunded
-
failed
-
charged_back
-
checkType
protected void checkType(InvoicePaymentStatus._Fields setField, Object value) throws ClassCastException - Specified by:
checkTypein classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields> - Throws:
ClassCastException
-
standardSchemeReadValue
protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, org.apache.thrift.protocol.TField field) throws org.apache.thrift.TException - Specified by:
standardSchemeReadValuein classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields> - Throws:
org.apache.thrift.TException
-
standardSchemeWriteValue
protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
standardSchemeWriteValuein classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields> - Throws:
org.apache.thrift.TException
-
tupleSchemeReadValue
protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot, short fieldID) throws org.apache.thrift.TException - Specified by:
tupleSchemeReadValuein classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields> - Throws:
org.apache.thrift.TException
-
tupleSchemeWriteValue
protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException - Specified by:
tupleSchemeWriteValuein classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields> - Throws:
org.apache.thrift.TException
-
getFieldDesc
- Specified by:
getFieldDescin classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields>
-
getStructDesc
protected org.apache.thrift.protocol.TStruct getStructDesc()- Specified by:
getStructDescin classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields>
-
enumForId
- Specified by:
enumForIdin classorg.apache.thrift.TUnion<InvoicePaymentStatus,InvoicePaymentStatus._Fields>
-
getFields
-
getFieldMetaData
public Map<InvoicePaymentStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData() -
fieldForId
-
getPending
-
setPending
-
getProcessed
-
setProcessed
-
getCaptured
-
setCaptured
-
getCancelled
-
setCancelled
-
getRefunded
-
setRefunded
-
getFailed
-
setFailed
-
getChargedBack
-
setChargedBack
-
isSetPending
public boolean isSetPending() -
isSetProcessed
public boolean isSetProcessed() -
isSetCaptured
public boolean isSetCaptured() -
isSetCancelled
public boolean isSetCancelled() -
isSetRefunded
public boolean isSetRefunded() -
isSetFailed
public boolean isSetFailed() -
isSetChargedBack
public boolean isSetChargedBack() -
equals
-
equals
-
compareTo
-
hashCode
public int hashCode()
-