Package dev.vality.damsel.skipper
Class ChargebackReopenEvent
java.lang.Object
dev.vality.damsel.skipper.ChargebackReopenEvent
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ChargebackReopenEvent>,org.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-02-21")
public class ChargebackReopenEvent
extends Object
implements org.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._Fields>, Serializable, Cloneable, Comparable<ChargebackReopenEvent>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChargebackReopenEvent._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description longbody_amountStringchargeback_idStringcreated_atStringinvoice_idlonglevy_amountstatic Map<ChargebackReopenEvent._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringpayment_idChargebackStagereopen_stage -
Constructor Summary
Constructors Constructor Description ChargebackReopenEvent()ChargebackReopenEvent(ChargebackReopenEvent other)Performs a deep copy on other.ChargebackReopenEvent(String invoice_id, String payment_id, String chargeback_id, String created_at) -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ChargebackReopenEvent other)ChargebackReopenEventdeepCopy()booleanequals(ChargebackReopenEvent that)booleanequals(Object that)ChargebackReopenEvent._FieldsfieldForId(int fieldId)longgetBodyAmount()StringgetChargebackId()StringgetCreatedAt()Map<ChargebackReopenEvent._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ChargebackReopenEvent._Fields[]getFields()ObjectgetFieldValue(ChargebackReopenEvent._Fields field)StringgetInvoiceId()longgetLevyAmount()StringgetPaymentId()ChargebackStagegetReopenStage()inthashCode()booleanisSet(ChargebackReopenEvent._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetBodyAmount()Returns true if field body_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 otherwisebooleanisSetCreatedAt()Returns true if field created_at 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 otherwisebooleanisSetPaymentId()Returns true if field payment_id is set (has been assigned a value) and false otherwisebooleanisSetReopenStage()Returns true if field reopen_stage is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ChargebackReopenEventsetBodyAmount(long body_amount)voidsetBodyAmountIsSet(boolean value)ChargebackReopenEventsetChargebackId(String chargeback_id)voidsetChargebackIdIsSet(boolean value)ChargebackReopenEventsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)voidsetFieldValue(ChargebackReopenEvent._Fields field, Object value)ChargebackReopenEventsetInvoiceId(String invoice_id)voidsetInvoiceIdIsSet(boolean value)ChargebackReopenEventsetLevyAmount(long levy_amount)voidsetLevyAmountIsSet(boolean value)ChargebackReopenEventsetPaymentId(String payment_id)voidsetPaymentIdIsSet(boolean value)ChargebackReopenEventsetReopenStage(ChargebackStage reopen_stage)voidsetReopenStageIsSet(boolean value)StringtoString()voidunsetBodyAmount()voidunsetChargebackId()voidunsetCreatedAt()voidunsetInvoiceId()voidunsetLevyAmount()voidunsetPaymentId()voidunsetReopenStage()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
invoice_id
-
payment_id
-
chargeback_id
-
created_at
-
levy_amount
public long levy_amount -
body_amount
public long body_amount -
reopen_stage
-
metaDataMap
public static final Map<ChargebackReopenEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ChargebackReopenEvent
public ChargebackReopenEvent() -
ChargebackReopenEvent
-
ChargebackReopenEvent
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._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) -
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) -
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) -
getBodyAmount
public long getBodyAmount() -
setBodyAmount
-
unsetBodyAmount
public void unsetBodyAmount() -
isSetBodyAmount
public boolean isSetBodyAmount()Returns true if field body_amount is set (has been assigned a value) and false otherwise -
setBodyAmountIsSet
public void setBodyAmountIsSet(boolean value) -
getReopenStage
-
setReopenStage
-
unsetReopenStage
public void unsetReopenStage() -
isSetReopenStage
public boolean isSetReopenStage()Returns true if field reopen_stage is set (has been assigned a value) and false otherwise -
setReopenStageIsSet
public void setReopenStageIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._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<ChargebackReopenEvent,ChargebackReopenEvent._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ChargebackReopenEvent>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._Fields>
-
getFieldMetaData
public Map<ChargebackReopenEvent._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ChargebackReopenEvent,ChargebackReopenEvent._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
-