Class ComputeShopTermsVarset
java.lang.Object
dev.vality.damsel.payment_processing.ComputeShopTermsVarset
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ComputeShopTermsVarset>,org.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class ComputeShopTermsVarset
extends Object
implements org.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>, Serializable, Cloneable, Comparable<ComputeShopTermsVarset>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComputeShopTermsVarset._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Cashamountstatic Map<ComputeShopTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentToolpayment_toolPayoutMethodRefpayout_method -
Constructor Summary
Constructors Constructor Description ComputeShopTermsVarset()ComputeShopTermsVarset(ComputeShopTermsVarset other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ComputeShopTermsVarset other)ComputeShopTermsVarsetdeepCopy()booleanequals(ComputeShopTermsVarset that)booleanequals(Object that)ComputeShopTermsVarset._FieldsfieldForId(int fieldId)CashgetAmount()Map<ComputeShopTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ComputeShopTermsVarset._Fields[]getFields()ObjectgetFieldValue(ComputeShopTermsVarset._Fields field)PaymentToolgetPaymentTool()PayoutMethodRefgetPayoutMethod()inthashCode()booleanisSet(ComputeShopTermsVarset._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 otherwisebooleanisSetPaymentTool()Returns true if field payment_tool is set (has been assigned a value) and false otherwisebooleanisSetPayoutMethod()Returns true if field payout_method is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ComputeShopTermsVarsetsetAmount(Cash amount)voidsetAmountIsSet(boolean value)voidsetFieldValue(ComputeShopTermsVarset._Fields field, Object value)ComputeShopTermsVarsetsetPaymentTool(PaymentTool payment_tool)voidsetPaymentToolIsSet(boolean value)ComputeShopTermsVarsetsetPayoutMethod(PayoutMethodRef payout_method)voidsetPayoutMethodIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetPaymentTool()voidunsetPayoutMethod()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
amount
-
payout_method
-
payment_tool
-
metaDataMap
public static final Map<ComputeShopTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ComputeShopTermsVarset
public ComputeShopTermsVarset() -
ComputeShopTermsVarset
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>
-
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) -
getPayoutMethod
-
setPayoutMethod
-
unsetPayoutMethod
public void unsetPayoutMethod() -
isSetPayoutMethod
public boolean isSetPayoutMethod()Returns true if field payout_method is set (has been assigned a value) and false otherwise -
setPayoutMethodIsSet
public void setPayoutMethodIsSet(boolean value) -
getPaymentTool
-
setPaymentTool
-
unsetPaymentTool
public void unsetPaymentTool() -
isSetPaymentTool
public boolean isSetPaymentTool()Returns true if field payment_tool is set (has been assigned a value) and false otherwise -
setPaymentToolIsSet
public void setPaymentToolIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._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<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ComputeShopTermsVarset>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._Fields>
-
getFieldMetaData
public Map<ComputeShopTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ComputeShopTermsVarset,ComputeShopTermsVarset._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
-