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.19.0)",
date="2024-08-02")
public class InvoicePaymentCaptureParams
extends Object
implements org.apache.thrift.TBase<InvoicePaymentCaptureParams,InvoicePaymentCaptureParams._Fields>, Serializable, Cloneable, Comparable<InvoicePaymentCaptureParams>
Параметры подтверждаемого платежа.
- 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 TypeFieldDescriptionПодтверждаемая сумма.static final Map<InvoicePaymentCaptureParams._Fields,org.apache.thrift.meta_data.FieldMetaData> Причина совершения операции. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getCart()getCash()Подтверждаемая сумма.Map<InvoicePaymentCaptureParams._Fields,org.apache.thrift.meta_data.FieldMetaData> Причина совершения операции.inthashCode()booleanReturns true if field corresponding to fieldID 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 cart is set (has been assigned a value) and false otherwisebooleanReturns true if field cash is set (has been assigned a value) and false otherwisebooleanReturns true if field reason is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAllocation(AllocationPrototype allocation) voidsetAllocationIsSet(boolean value) setCart(InvoiceCart cart) voidsetCartIsSet(boolean value) Подтверждаемая сумма.voidsetCashIsSet(boolean value) voidsetFieldValue(InvoicePaymentCaptureParams._Fields field, Object value) Причина совершения операции.voidsetReasonIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()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
-