Class InvoicePaymentCaptureData
java.lang.Object
dev.vality.damsel.payment_processing.InvoicePaymentCaptureData
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePaymentCaptureData>,org.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class InvoicePaymentCaptureData
extends Object
implements org.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>, Serializable, Cloneable, Comparable<InvoicePaymentCaptureData>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicePaymentCaptureData._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationallocationInvoiceCartcartCashcashstatic Map<InvoicePaymentCaptureData._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringreason -
Constructor Summary
Constructors Constructor Description InvoicePaymentCaptureData()InvoicePaymentCaptureData(InvoicePaymentCaptureData other)Performs a deep copy on other.InvoicePaymentCaptureData(String reason) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InvoicePaymentCaptureData other)InvoicePaymentCaptureDatadeepCopy()booleanequals(InvoicePaymentCaptureData that)booleanequals(Object that)InvoicePaymentCaptureData._FieldsfieldForId(int fieldId)AllocationgetAllocation()InvoiceCartgetCart()CashgetCash()Map<InvoicePaymentCaptureData._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvoicePaymentCaptureData._Fields[]getFields()ObjectgetFieldValue(InvoicePaymentCaptureData._Fields field)StringgetReason()inthashCode()booleanisSet(InvoicePaymentCaptureData._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAllocation()Returns true if field allocation is set (has been assigned a value) and false otherwisebooleanisSetCart()Returns true if field cart is set (has been assigned a value) and false otherwisebooleanisSetCash()Returns true if field cash is set (has been assigned a value) and false otherwisebooleanisSetReason()Returns true if field reason is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InvoicePaymentCaptureDatasetAllocation(Allocation allocation)voidsetAllocationIsSet(boolean value)InvoicePaymentCaptureDatasetCart(InvoiceCart cart)voidsetCartIsSet(boolean value)InvoicePaymentCaptureDatasetCash(Cash cash)voidsetCashIsSet(boolean value)voidsetFieldValue(InvoicePaymentCaptureData._Fields field, Object value)InvoicePaymentCaptureDatasetReason(String reason)voidsetReasonIsSet(boolean value)StringtoString()voidunsetAllocation()voidunsetCart()voidunsetCash()voidunsetReason()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
reason
-
cash
-
cart
-
allocation
-
metaDataMap
public static final Map<InvoicePaymentCaptureData._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePaymentCaptureData
public InvoicePaymentCaptureData() -
InvoicePaymentCaptureData
-
InvoicePaymentCaptureData
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>
-
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) -
getCash
-
setCash
-
unsetCash
public void unsetCash() -
isSetCash
public boolean isSetCash()Returns true if field cash is set (has been assigned a value) and false otherwise -
setCashIsSet
public void setCashIsSet(boolean value) -
getCart
-
setCart
-
unsetCart
public void unsetCart() -
isSetCart
public boolean isSetCart()Returns true if field cart is set (has been assigned a value) and false otherwise -
setCartIsSet
public void setCartIsSet(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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._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<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePaymentCaptureData>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._Fields>
-
getFieldMetaData
public Map<InvoicePaymentCaptureData._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureData,InvoicePaymentCaptureData._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
-