Class InvoicePaymentCaptureParams
java.lang.Object
dev.vality.damsel.payment_processing.InvoicePaymentCaptureParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePaymentCaptureParams>,org.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class InvoicePaymentCaptureParams
extends Object
implements org.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>, Serializable, Cloneable, Comparable<InvoicePaymentCaptureParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicePaymentCaptureParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationPrototypeallocationInvoiceCartcartCashcashПодтверждаемая сумма.static Map<InvoicePaymentCaptureParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringreasonПричина совершения операции. -
Constructor Summary
Constructors Constructor Description InvoicePaymentCaptureParams()InvoicePaymentCaptureParams(InvoicePaymentCaptureParams other)Performs a deep copy on other.InvoicePaymentCaptureParams(String reason) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InvoicePaymentCaptureParams other)InvoicePaymentCaptureParamsdeepCopy()booleanequals(InvoicePaymentCaptureParams that)booleanequals(Object that)InvoicePaymentCaptureParams._FieldsfieldForId(int fieldId)AllocationPrototypegetAllocation()InvoiceCartgetCart()CashgetCash()Подтверждаемая сумма.Map<InvoicePaymentCaptureParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvoicePaymentCaptureParams._Fields[]getFields()ObjectgetFieldValue(InvoicePaymentCaptureParams._Fields field)StringgetReason()Причина совершения операции.inthashCode()booleanisSet(InvoicePaymentCaptureParams._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)InvoicePaymentCaptureParamssetAllocation(AllocationPrototype allocation)voidsetAllocationIsSet(boolean value)InvoicePaymentCaptureParamssetCart(InvoiceCart cart)voidsetCartIsSet(boolean value)InvoicePaymentCaptureParamssetCash(Cash cash)Подтверждаемая сумма.voidsetCashIsSet(boolean value)voidsetFieldValue(InvoicePaymentCaptureParams._Fields field, Object value)InvoicePaymentCaptureParamssetReason(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<InvoicePaymentCaptureParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePaymentCaptureParams
public InvoicePaymentCaptureParams() -
InvoicePaymentCaptureParams
-
InvoicePaymentCaptureParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._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<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._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<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePaymentCaptureParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>
-
getFieldMetaData
public Map<InvoicePaymentCaptureParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._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
-