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.14.2)",
date="2022-10-25")
public class InvoicePayment
extends Object
implements org.apache.thrift.TBase<InvoicePayment,InvoicePayment._Fields>, Serializable, Cloneable, Comparable<InvoicePayment>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicePayment._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description List<InvoicePaymentAdjustment>adjustmentsAllocationallocationList<FinalCashFlowPosting>cash_flowList<InvoicePaymentChargeback>chargebacksTransactionInfolast_transaction_infoList<InvoicePaymentRefund>legacy_refundsstatic Map<InvoicePayment._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapInvoicePaymentpaymentList<InvoicePaymentRefund>refundsPaymentRouterouteList<InvoicePaymentSession>sessions -
Constructor Summary
Constructors Constructor Description InvoicePayment()InvoicePayment(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
-
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
-