Class ComputeContractTermsVarset
java.lang.Object
dev.vality.damsel.payment_processing.ComputeContractTermsVarset
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ComputeContractTermsVarset>,org.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class ComputeContractTermsVarset
extends Object
implements org.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>, Serializable, Cloneable, Comparable<ComputeContractTermsVarset>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classComputeContractTermsVarset._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashamountBinDatabin_dataCurrencyRefcurrencystatic Map<ComputeContractTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentToolpayment_toolPayoutMethodRefpayout_methodStringshop_idStringwallet_id -
Constructor Summary
Constructors Constructor Description ComputeContractTermsVarset()ComputeContractTermsVarset(ComputeContractTermsVarset other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(ComputeContractTermsVarset other)ComputeContractTermsVarsetdeepCopy()booleanequals(ComputeContractTermsVarset that)booleanequals(Object that)ComputeContractTermsVarset._FieldsfieldForId(int fieldId)CashgetAmount()BinDatagetBinData()CurrencyRefgetCurrency()Map<ComputeContractTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()ComputeContractTermsVarset._Fields[]getFields()ObjectgetFieldValue(ComputeContractTermsVarset._Fields field)PaymentToolgetPaymentTool()PayoutMethodRefgetPayoutMethod()StringgetShopId()StringgetWalletId()inthashCode()booleanisSet(ComputeContractTermsVarset._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 otherwisebooleanisSetBinData()Returns true if field bin_data is set (has been assigned a value) and false otherwisebooleanisSetCurrency()Returns true if field currency 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 otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisebooleanisSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)ComputeContractTermsVarsetsetAmount(Cash amount)voidsetAmountIsSet(boolean value)ComputeContractTermsVarsetsetBinData(BinData bin_data)voidsetBinDataIsSet(boolean value)ComputeContractTermsVarsetsetCurrency(CurrencyRef currency)voidsetCurrencyIsSet(boolean value)voidsetFieldValue(ComputeContractTermsVarset._Fields field, Object value)ComputeContractTermsVarsetsetPaymentTool(PaymentTool payment_tool)voidsetPaymentToolIsSet(boolean value)ComputeContractTermsVarsetsetPayoutMethod(PayoutMethodRef payout_method)voidsetPayoutMethodIsSet(boolean value)ComputeContractTermsVarsetsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)ComputeContractTermsVarsetsetWalletId(String wallet_id)voidsetWalletIdIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetBinData()voidunsetCurrency()voidunsetPaymentTool()voidunsetPayoutMethod()voidunsetShopId()voidunsetWalletId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
currency
-
amount
-
shop_id
-
payout_method
-
payment_tool
-
wallet_id
-
bin_data
-
metaDataMap
public static final Map<ComputeContractTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ComputeContractTermsVarset
public ComputeContractTermsVarset() -
ComputeContractTermsVarset
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>
-
getCurrency
-
setCurrency
-
unsetCurrency
public void unsetCurrency() -
isSetCurrency
public boolean isSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwise -
setCurrencyIsSet
public void setCurrencyIsSet(boolean value) -
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) -
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) -
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) -
getWalletId
-
setWalletId
-
unsetWalletId
public void unsetWalletId() -
isSetWalletId
public boolean isSetWalletId()Returns true if field wallet_id is set (has been assigned a value) and false otherwise -
setWalletIdIsSet
public void setWalletIdIsSet(boolean value) -
getBinData
-
setBinData
-
unsetBinData
public void unsetBinData() -
isSetBinData
public boolean isSetBinData()Returns true if field bin_data is set (has been assigned a value) and false otherwise -
setBinDataIsSet
public void setBinDataIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._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<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ComputeContractTermsVarset>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._Fields>
-
getFieldMetaData
public Map<ComputeContractTermsVarset._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ComputeContractTermsVarset,ComputeContractTermsVarset._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
-