Package dev.vality.payout.manager
Class Payout
java.lang.Object
dev.vality.payout.manager.Payout
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Payout>,org.apache.thrift.TBase<Payout,Payout._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-03-25")
public class Payout
extends Object
implements org.apache.thrift.TBase<Payout,Payout._Fields>, Serializable, Cloneable, Comparable<Payout>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayout._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longamountList<dev.vality.damsel.domain.FinalCashFlowPosting>cash_flowStringcreated_atdev.vality.damsel.domain.CurrencyRefcurrencylongfeestatic Map<Payout._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringparty_idStringpayout_idStringpayout_tool_idStringshop_idPayoutStatusstatus -
Constructor Summary
Constructors Constructor Description Payout()Payout(Payout other)Performs a deep copy on other.Payout(String payout_id, String created_at, String party_id, String shop_id, PayoutStatus status, List<dev.vality.damsel.domain.FinalCashFlowPosting> cash_flow, String payout_tool_id, long amount, long fee, dev.vality.damsel.domain.CurrencyRef currency) -
Method Summary
Modifier and Type Method Description voidaddToCashFlow(dev.vality.damsel.domain.FinalCashFlowPosting elem)voidclear()intcompareTo(Payout other)PayoutdeepCopy()booleanequals(Payout that)booleanequals(Object that)Payout._FieldsfieldForId(int fieldId)longgetAmount()List<dev.vality.damsel.domain.FinalCashFlowPosting>getCashFlow()Iterator<dev.vality.damsel.domain.FinalCashFlowPosting>getCashFlowIterator()intgetCashFlowSize()StringgetCreatedAt()dev.vality.damsel.domain.CurrencyRefgetCurrency()longgetFee()Map<Payout._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Payout._Fields[]getFields()ObjectgetFieldValue(Payout._Fields field)StringgetPartyId()StringgetPayoutId()StringgetPayoutToolId()StringgetShopId()PayoutStatusgetStatus()inthashCode()booleanisSet(Payout._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwisebooleanisSetCashFlow()Returns true if field cash_flow 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 otherwisebooleanisSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanisSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwisebooleanisSetPayoutId()Returns true if field payout_id is set (has been assigned a value) and false otherwisebooleanisSetPayoutToolId()Returns true if field payout_tool_id 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)PayoutsetAmount(long amount)voidsetAmountIsSet(boolean value)PayoutsetCashFlow(List<dev.vality.damsel.domain.FinalCashFlowPosting> cash_flow)voidsetCashFlowIsSet(boolean value)PayoutsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)PayoutsetCurrency(dev.vality.damsel.domain.CurrencyRef currency)voidsetCurrencyIsSet(boolean value)PayoutsetFee(long fee)voidsetFeeIsSet(boolean value)voidsetFieldValue(Payout._Fields field, Object value)PayoutsetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)PayoutsetPayoutId(String payout_id)voidsetPayoutIdIsSet(boolean value)PayoutsetPayoutToolId(String payout_tool_id)voidsetPayoutToolIdIsSet(boolean value)PayoutsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)PayoutsetStatus(PayoutStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetCashFlow()voidunsetCreatedAt()voidunsetCurrency()voidunsetFee()voidunsetPartyId()voidunsetPayoutId()voidunsetPayoutToolId()voidunsetShopId()voidunsetStatus()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payout_id
-
created_at
-
party_id
-
shop_id
-
status
-
cash_flow
-
payout_tool_id
-
amount
public long amount -
fee
public long fee -
currency
public dev.vality.damsel.domain.CurrencyRef currency -
metaDataMap
-
-
Constructor Details
-
Payout
public Payout() -
Payout
-
Payout
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Payout,Payout._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Payout,Payout._Fields>
-
getPayoutId
-
setPayoutId
-
unsetPayoutId
public void unsetPayoutId() -
isSetPayoutId
public boolean isSetPayoutId()Returns true if field payout_id is set (has been assigned a value) and false otherwise -
setPayoutIdIsSet
public void setPayoutIdIsSet(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) -
getPartyId
-
setPartyId
-
unsetPartyId
public void unsetPartyId() -
isSetPartyId
public boolean isSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwise -
setPartyIdIsSet
public void setPartyIdIsSet(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) -
getCashFlowSize
public int getCashFlowSize() -
getCashFlowIterator
-
addToCashFlow
public void addToCashFlow(dev.vality.damsel.domain.FinalCashFlowPosting elem) -
getCashFlow
-
setCashFlow
-
unsetCashFlow
public void unsetCashFlow() -
isSetCashFlow
public boolean isSetCashFlow()Returns true if field cash_flow is set (has been assigned a value) and false otherwise -
setCashFlowIsSet
public void setCashFlowIsSet(boolean value) -
getPayoutToolId
-
setPayoutToolId
-
unsetPayoutToolId
public void unsetPayoutToolId() -
isSetPayoutToolId
public boolean isSetPayoutToolId()Returns true if field payout_tool_id is set (has been assigned a value) and false otherwise -
setPayoutToolIdIsSet
public void setPayoutToolIdIsSet(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) -
getCurrency
public dev.vality.damsel.domain.CurrencyRef getCurrency() -
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<Payout,Payout._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Payout,Payout._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<Payout,Payout._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Payout>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Payout,Payout._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Payout,Payout._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Payout,Payout._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
-