Class Varset
java.lang.Object
dev.vality.damsel.payment_processing.Varset
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<Varset>,org.apache.thrift.TBase<Varset,Varset._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class Varset
extends Object
implements org.apache.thrift.TBase<Varset,Varset._Fields>, Serializable, Cloneable, Comparable<Varset>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVarset._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_dataCategoryRefcategoryCurrencyRefcurrencyContractorIdentificationLevelidentification_levelstatic Map<Varset._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapStringparty_idPaymentMethodRefpayment_methodPaymentToolpayment_toolPayoutMethodRefpayout_methodStringshop_idStringwallet_id -
Constructor Summary
-
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(Varset other)VarsetdeepCopy()booleanequals(Varset that)booleanequals(Object that)Varset._FieldsfieldForId(int fieldId)CashgetAmount()BinDatagetBinData()CategoryRefgetCategory()CurrencyRefgetCurrency()Map<Varset._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()Varset._Fields[]getFields()ObjectgetFieldValue(Varset._Fields field)ContractorIdentificationLevelgetIdentificationLevel()StringgetPartyId()PaymentMethodRefgetPaymentMethod()PaymentToolgetPaymentTool()PayoutMethodRefgetPayoutMethod()StringgetShopId()StringgetWalletId()inthashCode()booleanisSet(Varset._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 otherwisebooleanisSetCategory()Returns true if field category is set (has been assigned a value) and false otherwisebooleanisSetCurrency()Returns true if field currency is set (has been assigned a value) and false otherwisebooleanisSetIdentificationLevel()Returns true if field identification_level is set (has been assigned a value) and false otherwisebooleanisSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwisebooleanisSetPaymentMethod()Returns true if field payment_method 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)VarsetsetAmount(Cash amount)voidsetAmountIsSet(boolean value)VarsetsetBinData(BinData bin_data)voidsetBinDataIsSet(boolean value)VarsetsetCategory(CategoryRef category)voidsetCategoryIsSet(boolean value)VarsetsetCurrency(CurrencyRef currency)voidsetCurrencyIsSet(boolean value)voidsetFieldValue(Varset._Fields field, Object value)VarsetsetIdentificationLevel(ContractorIdentificationLevel identification_level)voidsetIdentificationLevelIsSet(boolean value)VarsetsetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)VarsetsetPaymentMethod(PaymentMethodRef payment_method)voidsetPaymentMethodIsSet(boolean value)VarsetsetPaymentTool(PaymentTool payment_tool)voidsetPaymentToolIsSet(boolean value)VarsetsetPayoutMethod(PayoutMethodRef payout_method)voidsetPayoutMethodIsSet(boolean value)VarsetsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)VarsetsetWalletId(String wallet_id)voidsetWalletIdIsSet(boolean value)StringtoString()voidunsetAmount()voidunsetBinData()voidunsetCategory()voidunsetCurrency()voidunsetIdentificationLevel()voidunsetPartyId()voidunsetPaymentMethod()voidunsetPaymentTool()voidunsetPayoutMethod()voidunsetShopId()voidunsetWalletId()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
category
-
currency
-
amount
-
payment_method
-
payout_method
-
wallet_id
-
shop_id
-
identification_level
- See Also:
ContractorIdentificationLevel
-
payment_tool
-
party_id
-
bin_data
-
metaDataMap
-
-
Constructor Details
-
Varset
public Varset() -
Varset
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<Varset,Varset._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<Varset,Varset._Fields>
-
getCategory
-
setCategory
-
unsetCategory
public void unsetCategory() -
isSetCategory
public boolean isSetCategory()Returns true if field category is set (has been assigned a value) and false otherwise -
setCategoryIsSet
public void setCategoryIsSet(boolean value) -
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) -
getPaymentMethod
-
setPaymentMethod
-
unsetPaymentMethod
public void unsetPaymentMethod() -
isSetPaymentMethod
public boolean isSetPaymentMethod()Returns true if field payment_method is set (has been assigned a value) and false otherwise -
setPaymentMethodIsSet
public void setPaymentMethodIsSet(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) -
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) -
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) -
getIdentificationLevel
- See Also:
ContractorIdentificationLevel
-
setIdentificationLevel
- See Also:
ContractorIdentificationLevel
-
unsetIdentificationLevel
public void unsetIdentificationLevel() -
isSetIdentificationLevel
public boolean isSetIdentificationLevel()Returns true if field identification_level is set (has been assigned a value) and false otherwise -
setIdentificationLevelIsSet
public void setIdentificationLevelIsSet(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) -
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) -
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<Varset,Varset._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<Varset,Varset._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<Varset,Varset._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<Varset>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<Varset,Varset._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<Varset,Varset._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<Varset,Varset._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
-