Class InvoicePaymentRouteExplanation
java.lang.Object
dev.vality.damsel.payment_processing.InvoicePaymentRouteExplanation
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePaymentRouteExplanation>,org.apache.thrift.TBase<InvoicePaymentRouteExplanation,,InvoicePaymentRouteExplanation._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class InvoicePaymentRouteExplanation
extends Object
implements org.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>, Serializable, Cloneable, Comparable<InvoicePaymentRouteExplanation>
- 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<InvoicePaymentRouteExplanation._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionInvoicePaymentRouteExplanation(PaymentRoute route, boolean is_chosen) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) Map<InvoicePaymentRouteExplanation._Fields,org.apache.thrift.meta_data.FieldMetaData> intgetRoute()inthashCode()booleanbooleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field is_chosen is set (has been assigned a value) and false otherwisebooleanReturns true if field limits is set (has been assigned a value) and false otherwisebooleanReturns true if field rejection_description is set (has been assigned a value) and false otherwisebooleanReturns true if field route is set (has been assigned a value) and false otherwisebooleanReturns true if field scores is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetFieldValue(InvoicePaymentRouteExplanation._Fields field, Object value) setIsChosen(boolean is_chosen) voidsetIsChosenIsSet(boolean value) setLimits(List<TurnoverLimitValue> limits) voidsetLimitsIsSet(boolean value) setRejectionDescription(String rejection_description) voidsetRejectionDescriptionIsSet(boolean value) setRoute(PaymentRoute route) voidsetRouteIsSet(boolean value) setScores(PaymentRouteScores scores) voidsetScoresIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
route
-
is_chosen
public boolean is_chosen -
scores
-
limits
-
rejection_description
-
metaDataMap
public static final Map<InvoicePaymentRouteExplanation._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePaymentRouteExplanation
public InvoicePaymentRouteExplanation() -
InvoicePaymentRouteExplanation
-
InvoicePaymentRouteExplanation
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>
-
getRoute
-
setRoute
-
unsetRoute
public void unsetRoute() -
isSetRoute
public boolean isSetRoute()Returns true if field route is set (has been assigned a value) and false otherwise -
setRouteIsSet
public void setRouteIsSet(boolean value) -
isIsChosen
public boolean isIsChosen() -
setIsChosen
-
unsetIsChosen
public void unsetIsChosen() -
isSetIsChosen
public boolean isSetIsChosen()Returns true if field is_chosen is set (has been assigned a value) and false otherwise -
setIsChosenIsSet
public void setIsChosenIsSet(boolean value) -
getScores
-
setScores
-
unsetScores
public void unsetScores() -
isSetScores
public boolean isSetScores()Returns true if field scores is set (has been assigned a value) and false otherwise -
setScoresIsSet
public void setScoresIsSet(boolean value) -
getLimitsSize
public int getLimitsSize() -
getLimitsIterator
-
addToLimits
-
getLimits
-
setLimits
-
unsetLimits
public void unsetLimits() -
isSetLimits
public boolean isSetLimits()Returns true if field limits is set (has been assigned a value) and false otherwise -
setLimitsIsSet
public void setLimitsIsSet(boolean value) -
getRejectionDescription
-
setRejectionDescription
-
unsetRejectionDescription
public void unsetRejectionDescription() -
isSetRejectionDescription
public boolean isSetRejectionDescription()Returns true if field rejection_description is set (has been assigned a value) and false otherwise -
setRejectionDescriptionIsSet
public void setRejectionDescriptionIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._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<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePaymentRouteExplanation>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._Fields>
-
getFieldMetaData
public Map<InvoicePaymentRouteExplanation._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePaymentRouteExplanation,InvoicePaymentRouteExplanation._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
-