Class InvoicePaymentRefundParams
java.lang.Object
dev.vality.damsel.payment_processing.InvoicePaymentRefundParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<InvoicePaymentRefundParams>,org.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class InvoicePaymentRefundParams
extends Object
implements org.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>, Serializable, Cloneable, Comparable<InvoicePaymentRefundParams>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classInvoicePaymentRefundParams._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationPrototypeallocationРаспределение денежных средств возврата.InvoiceCartcartИтоговая корзина товаров.CashcashСумма возврата.Stringexternal_idВнешний идентификатор объектаStringidИдентификатор рефандаstatic Map<InvoicePaymentRefundParams._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringreasonПричина, на основании которой производится возврат.TransactionInfotransaction_infoДанные проведённой вручную транзакции -
Constructor Summary
Constructors Constructor Description InvoicePaymentRefundParams()InvoicePaymentRefundParams(InvoicePaymentRefundParams other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(InvoicePaymentRefundParams other)InvoicePaymentRefundParamsdeepCopy()booleanequals(InvoicePaymentRefundParams that)booleanequals(Object that)InvoicePaymentRefundParams._FieldsfieldForId(int fieldId)AllocationPrototypegetAllocation()Распределение денежных средств возврата.InvoiceCartgetCart()Итоговая корзина товаров.CashgetCash()Сумма возврата.StringgetExternalId()Внешний идентификатор объектаMap<InvoicePaymentRefundParams._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()InvoicePaymentRefundParams._Fields[]getFields()ObjectgetFieldValue(InvoicePaymentRefundParams._Fields field)StringgetId()Идентификатор рефандаStringgetReason()Причина, на основании которой производится возврат.TransactionInfogetTransactionInfo()Данные проведённой вручную транзакцииinthashCode()booleanisSet(InvoicePaymentRefundParams._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 otherwisebooleanisSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetReason()Returns true if field reason is set (has been assigned a value) and false otherwisebooleanisSetTransactionInfo()Returns true if field transaction_info is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)InvoicePaymentRefundParamssetAllocation(AllocationPrototype allocation)Распределение денежных средств возврата.voidsetAllocationIsSet(boolean value)InvoicePaymentRefundParamssetCart(InvoiceCart cart)Итоговая корзина товаров.voidsetCartIsSet(boolean value)InvoicePaymentRefundParamssetCash(Cash cash)Сумма возврата.voidsetCashIsSet(boolean value)InvoicePaymentRefundParamssetExternalId(String external_id)Внешний идентификатор объектаvoidsetExternalIdIsSet(boolean value)voidsetFieldValue(InvoicePaymentRefundParams._Fields field, Object value)InvoicePaymentRefundParamssetId(String id)Идентификатор рефандаvoidsetIdIsSet(boolean value)InvoicePaymentRefundParamssetReason(String reason)Причина, на основании которой производится возврат.voidsetReasonIsSet(boolean value)InvoicePaymentRefundParamssetTransactionInfo(TransactionInfo transaction_info)Данные проведённой вручную транзакцииvoidsetTransactionInfoIsSet(boolean value)StringtoString()voidunsetAllocation()voidunsetCart()voidunsetCash()voidunsetExternalId()voidunsetId()voidunsetReason()voidunsetTransactionInfo()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
reason
Причина, на основании которой производится возврат. -
cash
Сумма возврата. Если сумма не указана, то считаем, что это возврат на полную сумму платежа. -
transaction_info
Данные проведённой вручную транзакции -
cart
Итоговая корзина товаров. Используется для частичного возврата, содержит позиции, которые остались после возврата. -
id
Идентификатор рефанда -
external_id
Внешний идентификатор объекта -
allocation
Распределение денежных средств возврата. Используется при частичном возврате, содержит транзакции, которые нужно вернуть. -
metaDataMap
public static final Map<InvoicePaymentRefundParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
InvoicePaymentRefundParams
public InvoicePaymentRefundParams() -
InvoicePaymentRefundParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._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) -
getTransactionInfo
Данные проведённой вручную транзакции -
setTransactionInfo
Данные проведённой вручную транзакции -
unsetTransactionInfo
public void unsetTransactionInfo() -
isSetTransactionInfo
public boolean isSetTransactionInfo()Returns true if field transaction_info is set (has been assigned a value) and false otherwise -
setTransactionInfoIsSet
public void setTransactionInfoIsSet(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) -
getId
Идентификатор рефанда -
setId
Идентификатор рефанда -
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getExternalId
Внешний идентификатор объекта -
setExternalId
Внешний идентификатор объекта -
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(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<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._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<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<InvoicePaymentRefundParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._Fields>
-
getFieldMetaData
public Map<InvoicePaymentRefundParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<InvoicePaymentRefundParams,InvoicePaymentRefundParams._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
-