Package dev.vality.damsel.skipper
Class ChargebackAccepted
java.lang.Object
dev.vality.damsel.skipper.ChargebackAccepted
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ChargebackAccepted>,org.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-02-21")
public class ChargebackAccepted
extends Object
implements org.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>, Serializable, Cloneable, Comparable<ChargebackAccepted>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChargebackAccepted._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_amountlonglevy_amountstatic Map<ChargebackAccepted._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap -
Constructor Summary
Constructors Constructor Description ChargebackAccepted()ChargebackAccepted(ChargebackAccepted other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ChargebackAccepted other)ChargebackAccepteddeepCopy()booleanequals(ChargebackAccepted that)booleanequals(Object that)ChargebackAccepted._FieldsfieldForId(int fieldId)longgetBodyAmount()Map<ChargebackAccepted._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ChargebackAccepted._Fields[]getFields()ObjectgetFieldValue(ChargebackAccepted._Fields field)longgetLevyAmount()inthashCode()booleanisSet(ChargebackAccepted._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 otherwisebooleanisSetLevyAmount()Returns true if field levy_amount is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ChargebackAcceptedsetBodyAmount(long body_amount)voidsetBodyAmountIsSet(boolean value)voidsetFieldValue(ChargebackAccepted._Fields field, Object value)ChargebackAcceptedsetLevyAmount(long levy_amount)voidsetLevyAmountIsSet(boolean value)StringtoString()voidunsetBodyAmount()voidunsetLevyAmount()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
levy_amount
public long levy_amount -
body_amount
public long body_amount -
metaDataMap
public static final Map<ChargebackAccepted._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ChargebackAccepted
public ChargebackAccepted() -
ChargebackAccepted
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>
-
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) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._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<ChargebackAccepted,ChargebackAccepted._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ChargebackAccepted>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._Fields>
-
getFieldMetaData
public Map<ChargebackAccepted._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ChargebackAccepted,ChargebackAccepted._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
-