Class ApplePayDetails
java.lang.Object
dev.vality.damsel.payment_tool_provider.ApplePayDetails
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ApplePayDetails>,org.apache.thrift.TBase<ApplePayDetails,,ApplePayDetails._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class ApplePayDetails
extends Object
implements org.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._Fields>, Serializable, Cloneable, Comparable<ApplePayDetails>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionlongshortstatic final Map<ApplePayDetails._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionApplePayDetails(ApplePayDetails other) Performs a deep copy on other.ApplePayDetails(String transaction_id, long amount, short currency_numeric_code, String device_id) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ApplePayDetails other) deepCopy()booleanequals(ApplePayDetails that) booleanfieldForId(int fieldId) longshortMap<ApplePayDetails._Fields,org.apache.thrift.meta_data.FieldMetaData> inthashCode()booleanisSet(ApplePayDetails._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field amount is set (has been assigned a value) and false otherwisebooleanReturns true if field currency_numeric_code is set (has been assigned a value) and false otherwisebooleanReturns true if field device_id is set (has been assigned a value) and false otherwisebooleanReturns true if field transaction_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAmount(long amount) voidsetAmountIsSet(boolean value) setCurrencyNumericCode(short currency_numeric_code) voidsetCurrencyNumericCodeIsSet(boolean value) setDeviceId(String device_id) voidsetDeviceIdIsSet(boolean value) voidsetFieldValue(ApplePayDetails._Fields field, Object value) setTransactionId(String transaction_id) voidsetTransactionIdIsSet(boolean value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
transaction_id
-
amount
public long amount -
currency_numeric_code
public short currency_numeric_code -
device_id
-
metaDataMap
public static final Map<ApplePayDetails._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ApplePayDetails
public ApplePayDetails() -
ApplePayDetails
-
ApplePayDetails
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._Fields>
-
getTransactionId
-
setTransactionId
-
unsetTransactionId
public void unsetTransactionId() -
isSetTransactionId
public boolean isSetTransactionId()Returns true if field transaction_id is set (has been assigned a value) and false otherwise -
setTransactionIdIsSet
public void setTransactionIdIsSet(boolean value) -
getAmount
public long 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) -
getCurrencyNumericCode
public short getCurrencyNumericCode() -
setCurrencyNumericCode
-
unsetCurrencyNumericCode
public void unsetCurrencyNumericCode() -
isSetCurrencyNumericCode
public boolean isSetCurrencyNumericCode()Returns true if field currency_numeric_code is set (has been assigned a value) and false otherwise -
setCurrencyNumericCodeIsSet
public void setCurrencyNumericCodeIsSet(boolean value) -
getDeviceId
-
setDeviceId
-
unsetDeviceId
public void unsetDeviceId() -
isSetDeviceId
public boolean isSetDeviceId()Returns true if field device_id is set (has been assigned a value) and false otherwise -
setDeviceIdIsSet
public void setDeviceIdIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._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<ApplePayDetails,ApplePayDetails._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ApplePayDetails>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<ApplePayDetails,ApplePayDetails._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
-