Package dev.vality.damsel.merch_stat
Class StatRefund
java.lang.Object
dev.vality.damsel.merch_stat.StatRefund
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StatRefund>,org.apache.thrift.TBase<StatRefund,StatRefund._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class StatRefund
extends Object
implements org.apache.thrift.TBase<StatRefund,StatRefund._Fields>, Serializable, Cloneable, Comparable<StatRefund>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatRefund._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description AllocationallocationlongamountInvoiceCartcartStringcreated_atStringcurrency_symbolic_codeStringexternal_idlongfeeStringidStringinvoice_idstatic Map<StatRefund._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringowner_idStringpayment_idStringreasonStringshop_idInvoicePaymentRefundStatusstatus -
Constructor Summary
Constructors Constructor Description StatRefund()StatRefund(StatRefund other)Performs a deep copy on other.StatRefund(String id, String payment_id, String invoice_id, String owner_id, String shop_id, InvoicePaymentRefundStatus status, String created_at, long amount, long fee, String currency_symbolic_code) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(StatRefund other)StatRefunddeepCopy()booleanequals(StatRefund that)booleanequals(Object that)StatRefund._FieldsfieldForId(int fieldId)AllocationgetAllocation()longgetAmount()InvoiceCartgetCart()StringgetCreatedAt()StringgetCurrencySymbolicCode()StringgetExternalId()longgetFee()Map<StatRefund._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()StatRefund._Fields[]getFields()ObjectgetFieldValue(StatRefund._Fields field)StringgetId()StringgetInvoiceId()StringgetOwnerId()StringgetPaymentId()StringgetReason()StringgetShopId()InvoicePaymentRefundStatusgetStatus()inthashCode()booleanisSet(StatRefund._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 otherwisebooleanisSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwisebooleanisSetCart()Returns true if field cart is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetCurrencySymbolicCode()Returns true if field currency_symbolic_code 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 otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanisSetInvoiceId()Returns true if field invoice_id is set (has been assigned a value) and false otherwisebooleanisSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwisebooleanisSetPaymentId()Returns true if field payment_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 otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)StatRefundsetAllocation(Allocation allocation)voidsetAllocationIsSet(boolean value)StatRefundsetAmount(long amount)voidsetAmountIsSet(boolean value)StatRefundsetCart(InvoiceCart cart)voidsetCartIsSet(boolean value)StatRefundsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)StatRefundsetCurrencySymbolicCode(String currency_symbolic_code)voidsetCurrencySymbolicCodeIsSet(boolean value)StatRefundsetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)StatRefundsetFee(long fee)voidsetFeeIsSet(boolean value)voidsetFieldValue(StatRefund._Fields field, Object value)StatRefundsetId(String id)voidsetIdIsSet(boolean value)StatRefundsetInvoiceId(String invoice_id)voidsetInvoiceIdIsSet(boolean value)StatRefundsetOwnerId(String owner_id)voidsetOwnerIdIsSet(boolean value)StatRefundsetPaymentId(String payment_id)voidsetPaymentIdIsSet(boolean value)StatRefundsetReason(String reason)voidsetReasonIsSet(boolean value)StatRefundsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)StatRefundsetStatus(InvoicePaymentRefundStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetAllocation()voidunsetAmount()voidunsetCart()voidunsetCreatedAt()voidunsetCurrencySymbolicCode()voidunsetExternalId()voidunsetFee()voidunsetId()voidunsetInvoiceId()voidunsetOwnerId()voidunsetPaymentId()voidunsetReason()voidunsetShopId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
payment_id
-
invoice_id
-
owner_id
-
shop_id
-
status
-
created_at
-
amount
public long amount -
fee
public long fee -
currency_symbolic_code
-
reason
-
cart
-
external_id
-
allocation
-
metaDataMap
-
-
Constructor Details
-
StatRefund
public StatRefund() -
StatRefund
-
StatRefund
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatRefund,StatRefund._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatRefund,StatRefund._Fields>
-
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) -
getPaymentId
-
setPaymentId
-
unsetPaymentId
public void unsetPaymentId() -
isSetPaymentId
public boolean isSetPaymentId()Returns true if field payment_id is set (has been assigned a value) and false otherwise -
setPaymentIdIsSet
public void setPaymentIdIsSet(boolean value) -
getInvoiceId
-
setInvoiceId
-
unsetInvoiceId
public void unsetInvoiceId() -
isSetInvoiceId
public boolean isSetInvoiceId()Returns true if field invoice_id is set (has been assigned a value) and false otherwise -
setInvoiceIdIsSet
public void setInvoiceIdIsSet(boolean value) -
getOwnerId
-
setOwnerId
-
unsetOwnerId
public void unsetOwnerId() -
isSetOwnerId
public boolean isSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwise -
setOwnerIdIsSet
public void setOwnerIdIsSet(boolean value) -
getShopId
-
setShopId
-
unsetShopId
public void unsetShopId() -
isSetShopId
public boolean isSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwise -
setShopIdIsSet
public void setShopIdIsSet(boolean value) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getAmount
public long getAmount() -
setAmount
-
unsetAmount
public void unsetAmount() -
isSetAmount
public boolean isSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwise -
setAmountIsSet
public void setAmountIsSet(boolean value) -
getFee
public long getFee() -
setFee
-
unsetFee
public void unsetFee() -
isSetFee
public boolean isSetFee()Returns true if field fee is set (has been assigned a value) and false otherwise -
setFeeIsSet
public void setFeeIsSet(boolean value) -
getCurrencySymbolicCode
-
setCurrencySymbolicCode
-
unsetCurrencySymbolicCode
public void unsetCurrencySymbolicCode() -
isSetCurrencySymbolicCode
public boolean isSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise -
setCurrencySymbolicCodeIsSet
public void setCurrencySymbolicCodeIsSet(boolean value) -
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) -
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) -
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<StatRefund,StatRefund._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatRefund,StatRefund._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<StatRefund,StatRefund._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatRefund>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatRefund,StatRefund._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatRefund,StatRefund._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatRefund,StatRefund._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
-