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.19.0)",
date="2024-08-02")
public class StatChargeback
extends Object
implements org.apache.thrift.TBase<StatChargeback,StatChargeback._Fields>, Serializable, Cloneable, Comparable<StatChargeback>
- 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 TypeFieldDescriptionlonglonglonglongstatic final Map<StatChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
ConstructorsConstructorDescriptionStatChargeback(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 TypeMethodDescriptionvoidclear()intcompareTo(StatChargeback other) deepCopy()booleanequals(StatChargeback that) booleanfieldForId(int fieldId) longlonglonggetFee()Map<StatChargeback._Fields,org.apache.thrift.meta_data.FieldMetaData> longlonggetStage()inthashCode()booleanisSet(StatChargeback._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field amount is set (has been assigned a value) and false otherwisebooleanReturns true if field chargeback_id is set (has been assigned a value) and false otherwisebooleanReturns true if field chargeback_reason is set (has been assigned a value) and false otherwisebooleanReturns true if field chargeback_status is set (has been assigned a value) and false otherwisebooleanReturns true if field content is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at is set (has been assigned a value) and false otherwisebooleanReturns true if field currency_code is set (has been assigned a value) and false otherwisebooleanReturns true if field external_fee is set (has been assigned a value) and false otherwisebooleanReturns 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 otherwisebooleanReturns true if field invoice_id is set (has been assigned a value) and false otherwisebooleanReturns true if field levy_amount is set (has been assigned a value) and false otherwisebooleanReturns true if field levy_currency_code is set (has been assigned a value) and false otherwisebooleanReturns true if field party_id is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_id is set (has been assigned a value) and false otherwisebooleanReturns true if field provider_fee is set (has been assigned a value) and false otherwisebooleanReturns true if field shop_id is set (has been assigned a value) and false otherwisebooleanReturns true if field stage is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAmount(long amount) voidsetAmountIsSet(boolean value) setChargebackId(String chargeback_id) voidsetChargebackIdIsSet(boolean value) setChargebackReason(InvoicePaymentChargebackReason chargeback_reason) voidsetChargebackReasonIsSet(boolean value) setChargebackStatus(InvoicePaymentChargebackStatus chargeback_status) voidsetChargebackStatusIsSet(boolean value) setContent(Content content) voidsetContentIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setCurrencyCode(Currency currency_code) voidsetCurrencyCodeIsSet(boolean value) setExternalFee(long external_fee) voidsetExternalFeeIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) setFee(long fee) voidsetFeeIsSet(boolean value) voidsetFieldValue(StatChargeback._Fields field, Object value) setInvoiceId(String invoice_id) voidsetInvoiceIdIsSet(boolean value) setLevyAmount(long levy_amount) voidsetLevyAmountIsSet(boolean value) setLevyCurrencyCode(Currency levy_currency_code) voidsetLevyCurrencyCodeIsSet(boolean value) setPartyId(String party_id) voidsetPartyIdIsSet(boolean value) setPaymentId(String payment_id) voidsetPaymentIdIsSet(boolean value) setProviderFee(long provider_fee) voidsetProviderFeeIsSet(boolean value) voidsetShopIdIsSet(boolean value) voidsetStageIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidunsetFee()voidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()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
-