Class InvoicePayment
java.lang.Object
dev.vality.damsel.payment_processing.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 TypeFieldDescriptionstatic final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionInvoicePayment(InvoicePayment payment, List<InvoicePaymentAdjustment> adjustments, List<InvoicePaymentRefund> refunds, List<InvoicePaymentSession> sessions, List<InvoicePaymentRefund> legacy_refunds) InvoicePayment(InvoicePayment other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidclear()intcompareTo(InvoicePayment other) deepCopy()booleanequals(InvoicePayment that) booleanfieldForId(int fieldId) intintintMap<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> intintgetRoute()intinthashCode()booleanisSet(InvoicePayment._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field adjustments 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 cash_flow is set (has been assigned a value) and false otherwisebooleanReturns true if field chargebacks is set (has been assigned a value) and false otherwisebooleanReturns true if field last_transaction_info is set (has been assigned a value) and false otherwisebooleanReturns true if field legacy_refunds is set (has been assigned a value) and false otherwisebooleanReturns true if field payment is set (has been assigned a value) and false otherwisebooleanReturns true if field refunds 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 sessions is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAdjustments(List<InvoicePaymentAdjustment> adjustments) voidsetAdjustmentsIsSet(boolean value) setAllocation(Allocation allocation) voidsetAllocationIsSet(boolean value) setCashFlow(List<FinalCashFlowPosting> cash_flow) voidsetCashFlowIsSet(boolean value) setChargebacks(List<InvoicePaymentChargeback> chargebacks) voidsetChargebacksIsSet(boolean value) voidsetFieldValue(InvoicePayment._Fields field, Object value) setLastTransactionInfo(TransactionInfo last_transaction_info) voidsetLastTransactionInfoIsSet(boolean value) setLegacyRefunds(List<InvoicePaymentRefund> legacy_refunds) voidsetLegacyRefundsIsSet(boolean value) setPayment(InvoicePayment payment) voidsetPaymentIsSet(boolean value) setRefunds(List<InvoicePaymentRefund> refunds) voidsetRefundsIsSet(boolean value) setRoute(PaymentRoute route) voidsetRouteIsSet(boolean value) setSessions(List<InvoicePaymentSession> sessions) voidsetSessionsIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payment
-
route
-
cash_flow
-
adjustments
-
refunds
-
sessions
-
chargebacks
-
last_transaction_info
-
allocation
-
legacy_refunds
-
metaDataMap
public static final Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePayment
public InvoicePayment() -
InvoicePayment
public InvoicePayment(InvoicePayment payment, List<InvoicePaymentAdjustment> adjustments, List<InvoicePaymentRefund> refunds, List<InvoicePaymentSession> sessions, List<InvoicePaymentRefund> legacy_refunds) -
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>
-
getPayment
-
setPayment
-
unsetPayment
public void unsetPayment() -
isSetPayment
public boolean isSetPayment()Returns true if field payment is set (has been assigned a value) and false otherwise -
setPaymentIsSet
public void setPaymentIsSet(boolean value) -
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) -
getCashFlowSize
public int getCashFlowSize() -
getCashFlowIterator
-
addToCashFlow
-
getCashFlow
-
setCashFlow
-
unsetCashFlow
public void unsetCashFlow() -
isSetCashFlow
public boolean isSetCashFlow()Returns true if field cash_flow is set (has been assigned a value) and false otherwise -
setCashFlowIsSet
public void setCashFlowIsSet(boolean value) -
getAdjustmentsSize
public int getAdjustmentsSize() -
getAdjustmentsIterator
-
addToAdjustments
-
getAdjustments
-
setAdjustments
-
unsetAdjustments
public void unsetAdjustments() -
isSetAdjustments
public boolean isSetAdjustments()Returns true if field adjustments is set (has been assigned a value) and false otherwise -
setAdjustmentsIsSet
public void setAdjustmentsIsSet(boolean value) -
getRefundsSize
public int getRefundsSize() -
getRefundsIterator
-
addToRefunds
-
getRefunds
-
setRefunds
-
unsetRefunds
public void unsetRefunds() -
isSetRefunds
public boolean isSetRefunds()Returns true if field refunds is set (has been assigned a value) and false otherwise -
setRefundsIsSet
public void setRefundsIsSet(boolean value) -
getSessionsSize
public int getSessionsSize() -
getSessionsIterator
-
addToSessions
-
getSessions
-
setSessions
-
unsetSessions
public void unsetSessions() -
isSetSessions
public boolean isSetSessions()Returns true if field sessions is set (has been assigned a value) and false otherwise -
setSessionsIsSet
public void setSessionsIsSet(boolean value) -
getChargebacksSize
public int getChargebacksSize() -
getChargebacksIterator
-
addToChargebacks
-
getChargebacks
-
setChargebacks
-
unsetChargebacks
public void unsetChargebacks() -
isSetChargebacks
public boolean isSetChargebacks()Returns true if field chargebacks is set (has been assigned a value) and false otherwise -
setChargebacksIsSet
public void setChargebacksIsSet(boolean value) -
getLastTransactionInfo
-
setLastTransactionInfo
-
unsetLastTransactionInfo
public void unsetLastTransactionInfo() -
isSetLastTransactionInfo
public boolean isSetLastTransactionInfo()Returns true if field last_transaction_info is set (has been assigned a value) and false otherwise -
setLastTransactionInfoIsSet
public void setLastTransactionInfoIsSet(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) -
getLegacyRefundsSize
public int getLegacyRefundsSize() -
getLegacyRefundsIterator
-
addToLegacyRefunds
-
getLegacyRefunds
-
setLegacyRefunds
-
unsetLegacyRefunds
public void unsetLegacyRefunds() -
isSetLegacyRefunds
public boolean isSetLegacyRefunds()Returns true if field legacy_refunds is set (has been assigned a value) and false otherwise -
setLegacyRefundsIsSet
public void setLegacyRefundsIsSet(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
-