Package dev.vality.damsel.merch_stat
Class StatChargeback
java.lang.Object
dev.vality.damsel.merch_stat.StatChargeback
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StatChargeback>,org.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class StatChargeback
extends Object
implements org.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>, Serializable, Cloneable, Comparable<StatChargeback>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStatChargeback._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longamountStringchargeback_idInvoicePaymentChargebackReasonchargeback_reasonInvoicePaymentChargebackStatuschargeback_statusContentcontentStringcreated_atCurrencycurrency_codelongexternal_feeStringexternal_idlongfeeStringinvoice_idlonglevy_amountCurrencylevy_currency_codestatic Map<StatChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringparty_idStringpayment_idlongprovider_feeStringshop_idInvoicePaymentChargebackStagestage -
Constructor Summary
Constructors Constructor Description StatChargeback()StatChargeback(StatChargeback other)Performs a deep copy on other.StatChargeback(String invoice_id, String payment_id, String chargeback_id, String party_id, String shop_id, InvoicePaymentChargebackStatus chargeback_status, String created_at, long levy_amount, Currency levy_currency_code, long amount, Currency currency_code) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(StatChargeback other)StatChargebackdeepCopy()booleanequals(StatChargeback that)booleanequals(Object that)StatChargeback._FieldsfieldForId(int fieldId)longgetAmount()StringgetChargebackId()InvoicePaymentChargebackReasongetChargebackReason()InvoicePaymentChargebackStatusgetChargebackStatus()ContentgetContent()StringgetCreatedAt()CurrencygetCurrencyCode()longgetExternalFee()StringgetExternalId()longgetFee()Map<StatChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()StatChargeback._Fields[]getFields()ObjectgetFieldValue(StatChargeback._Fields field)StringgetInvoiceId()longgetLevyAmount()CurrencygetLevyCurrencyCode()StringgetPartyId()StringgetPaymentId()longgetProviderFee()StringgetShopId()InvoicePaymentChargebackStagegetStage()inthashCode()booleanisSet(StatChargeback._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 otherwisebooleanisSetChargebackId()Returns true if field chargeback_id is set (has been assigned a value) and false otherwisebooleanisSetChargebackReason()Returns true if field chargeback_reason is set (has been assigned a value) and false otherwisebooleanisSetChargebackStatus()Returns true if field chargeback_status is set (has been assigned a value) and false otherwisebooleanisSetContent()Returns true if field content 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 otherwisebooleanisSetCurrencyCode()Returns true if field currency_code is set (has been assigned a value) and false otherwisebooleanisSetExternalFee()Returns true if field external_fee 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 otherwisebooleanisSetInvoiceId()Returns true if field invoice_id is set (has been assigned a value) and false otherwisebooleanisSetLevyAmount()Returns true if field levy_amount is set (has been assigned a value) and false otherwisebooleanisSetLevyCurrencyCode()Returns true if field levy_currency_code 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 otherwisebooleanisSetPaymentId()Returns true if field payment_id is set (has been assigned a value) and false otherwisebooleanisSetProviderFee()Returns true if field provider_fee 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 otherwisebooleanisSetStage()Returns true if field stage is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)StatChargebacksetAmount(long amount)voidsetAmountIsSet(boolean value)StatChargebacksetChargebackId(String chargeback_id)voidsetChargebackIdIsSet(boolean value)StatChargebacksetChargebackReason(InvoicePaymentChargebackReason chargeback_reason)voidsetChargebackReasonIsSet(boolean value)StatChargebacksetChargebackStatus(InvoicePaymentChargebackStatus chargeback_status)voidsetChargebackStatusIsSet(boolean value)StatChargebacksetContent(Content content)voidsetContentIsSet(boolean value)StatChargebacksetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)StatChargebacksetCurrencyCode(Currency currency_code)voidsetCurrencyCodeIsSet(boolean value)StatChargebacksetExternalFee(long external_fee)voidsetExternalFeeIsSet(boolean value)StatChargebacksetExternalId(String external_id)voidsetExternalIdIsSet(boolean value)StatChargebacksetFee(long fee)voidsetFeeIsSet(boolean value)voidsetFieldValue(StatChargeback._Fields field, Object value)StatChargebacksetInvoiceId(String invoice_id)voidsetInvoiceIdIsSet(boolean value)StatChargebacksetLevyAmount(long levy_amount)voidsetLevyAmountIsSet(boolean value)StatChargebacksetLevyCurrencyCode(Currency levy_currency_code)voidsetLevyCurrencyCodeIsSet(boolean value)StatChargebacksetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)StatChargebacksetPaymentId(String payment_id)voidsetPaymentIdIsSet(boolean value)StatChargebacksetProviderFee(long provider_fee)voidsetProviderFeeIsSet(boolean value)StatChargebacksetShopId(String shop_id)voidsetShopIdIsSet(boolean value)StatChargebacksetStage(InvoicePaymentChargebackStage stage)voidsetStageIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetChargebackId()voidunsetChargebackReason()voidunsetChargebackStatus()voidunsetContent()voidunsetCreatedAt()voidunsetCurrencyCode()voidunsetExternalFee()voidunsetExternalId()voidunsetFee()voidunsetInvoiceId()voidunsetLevyAmount()voidunsetLevyCurrencyCode()voidunsetPartyId()voidunsetPaymentId()voidunsetProviderFee()voidunsetShopId()voidunsetStage()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
invoice_id
-
payment_id
-
chargeback_id
-
party_id
-
shop_id
-
chargeback_status
-
created_at
-
chargeback_reason
-
levy_amount
public long levy_amount -
levy_currency_code
-
amount
public long amount -
currency_code
-
fee
public long fee -
provider_fee
public long provider_fee -
external_fee
public long external_fee -
stage
-
-
external_id
-
metaDataMap
public static final Map<StatChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
StatChargeback
public StatChargeback() -
StatChargeback
-
StatChargeback
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>
-
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) -
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) -
getChargebackId
-
setChargebackId
-
unsetChargebackId
public void unsetChargebackId() -
isSetChargebackId
public boolean isSetChargebackId()Returns true if field chargeback_id is set (has been assigned a value) and false otherwise -
setChargebackIdIsSet
public void setChargebackIdIsSet(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) -
getChargebackStatus
-
setChargebackStatus
-
unsetChargebackStatus
public void unsetChargebackStatus() -
isSetChargebackStatus
public boolean isSetChargebackStatus()Returns true if field chargeback_status is set (has been assigned a value) and false otherwise -
setChargebackStatusIsSet
public void setChargebackStatusIsSet(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) -
getChargebackReason
-
setChargebackReason
-
unsetChargebackReason
public void unsetChargebackReason() -
isSetChargebackReason
public boolean isSetChargebackReason()Returns true if field chargeback_reason is set (has been assigned a value) and false otherwise -
setChargebackReasonIsSet
public void setChargebackReasonIsSet(boolean value) -
getLevyAmount
public long getLevyAmount() -
setLevyAmount
-
unsetLevyAmount
public void unsetLevyAmount() -
isSetLevyAmount
public boolean isSetLevyAmount()Returns true if field levy_amount is set (has been assigned a value) and false otherwise -
setLevyAmountIsSet
public void setLevyAmountIsSet(boolean value) -
getLevyCurrencyCode
-
setLevyCurrencyCode
-
unsetLevyCurrencyCode
public void unsetLevyCurrencyCode() -
isSetLevyCurrencyCode
public boolean isSetLevyCurrencyCode()Returns true if field levy_currency_code is set (has been assigned a value) and false otherwise -
setLevyCurrencyCodeIsSet
public void setLevyCurrencyCodeIsSet(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) -
getCurrencyCode
-
setCurrencyCode
-
unsetCurrencyCode
public void unsetCurrencyCode() -
isSetCurrencyCode
public boolean isSetCurrencyCode()Returns true if field currency_code is set (has been assigned a value) and false otherwise -
setCurrencyCodeIsSet
public void setCurrencyCodeIsSet(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) -
getProviderFee
public long getProviderFee() -
setProviderFee
-
unsetProviderFee
public void unsetProviderFee() -
isSetProviderFee
public boolean isSetProviderFee()Returns true if field provider_fee is set (has been assigned a value) and false otherwise -
setProviderFeeIsSet
public void setProviderFeeIsSet(boolean value) -
getExternalFee
public long getExternalFee() -
setExternalFee
-
unsetExternalFee
public void unsetExternalFee() -
isSetExternalFee
public boolean isSetExternalFee()Returns true if field external_fee is set (has been assigned a value) and false otherwise -
setExternalFeeIsSet
public void setExternalFeeIsSet(boolean value) -
getStage
-
setStage
-
unsetStage
public void unsetStage() -
isSetStage
public boolean isSetStage()Returns true if field stage is set (has been assigned a value) and false otherwise -
setStageIsSet
public void setStageIsSet(boolean value) -
getContent
-
setContent
-
unsetContent
public void unsetContent() -
isSetContent
public boolean isSetContent()Returns true if field content is set (has been assigned a value) and false otherwise -
setContentIsSet
public void setContentIsSet(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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._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<StatChargeback,StatChargeback._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatChargeback>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatChargeback,StatChargeback._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
-