Class RegisterInvoicePaymentParams
java.lang.Object
dev.vality.damsel.payment_processing.RegisterInvoicePaymentParams
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RegisterInvoicePaymentParams>,org.apache.thrift.TBase<RegisterInvoicePaymentParams,,RegisterInvoicePaymentParams._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class RegisterInvoicePaymentParams
extends Object
implements org.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>, Serializable, Cloneable, Comparable<RegisterInvoicePaymentParams>
- 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 TypeFieldDescriptionstatic final Map<RegisterInvoicePaymentParams._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionRegisterInvoicePaymentParams(PayerParams payer_params, PaymentRoute route, TransactionInfo transaction_info) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intdeepCopy()booleanbooleanfieldForId(int fieldId) getCost()Map<RegisterInvoicePaymentParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()getRoute()inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field context is set (has been assigned a value) and false otherwisebooleanReturns true if field cost is set (has been assigned a value) and false otherwisebooleanReturns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanReturns true if field occurred_at is set (has been assigned a value) and false otherwisebooleanReturns true if field payer_params is set (has been assigned a value) and false otherwisebooleanReturns true if field payer_session_info is set (has been assigned a value) and false otherwisebooleanReturns true if field risk_score is set (has been assigned a value) and false otherwisebooleanReturns true if field route is set (has been assigned a value) and false otherwisebooleanReturns true if field transaction_info is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setContext(Content context) voidsetContextIsSet(boolean value) voidsetCostIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) voidsetFieldValue(RegisterInvoicePaymentParams._Fields field, Object value) voidsetIdIsSet(boolean value) setOccurredAt(String occurred_at) voidsetOccurredAtIsSet(boolean value) setPayerParams(PayerParams payer_params) voidsetPayerParamsIsSet(boolean value) setPayerSessionInfo(PayerSessionInfo payer_session_info) voidsetPayerSessionInfoIsSet(boolean value) setRiskScore(RiskScore risk_score) voidsetRiskScoreIsSet(boolean value) setRoute(PaymentRoute route) voidsetRouteIsSet(boolean value) setTransactionInfo(TransactionInfo transaction_info) voidsetTransactionInfoIsSet(boolean value) toString()voidvoidvoidvoidunsetId()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payer_params
-
route
-
transaction_info
-
cost
-
payer_session_info
-
id
-
external_id
-
context
-
risk_score
- See Also:
-
occurred_at
-
metaDataMap
public static final Map<RegisterInvoicePaymentParams._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RegisterInvoicePaymentParams
public RegisterInvoicePaymentParams() -
RegisterInvoicePaymentParams
public RegisterInvoicePaymentParams(PayerParams payer_params, PaymentRoute route, TransactionInfo transaction_info) -
RegisterInvoicePaymentParams
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>
-
getPayerParams
-
setPayerParams
-
unsetPayerParams
public void unsetPayerParams() -
isSetPayerParams
public boolean isSetPayerParams()Returns true if field payer_params is set (has been assigned a value) and false otherwise -
setPayerParamsIsSet
public void setPayerParamsIsSet(boolean value) -
getRoute
-
setRoute
-
unsetRoute
public void unsetRoute() -
isSetRoute
public boolean isSetRoute()Returns true if field route is set (has been assigned a value) and false otherwise -
setRouteIsSet
public void setRouteIsSet(boolean value) -
getTransactionInfo
-
setTransactionInfo
-
unsetTransactionInfo
public void unsetTransactionInfo() -
isSetTransactionInfo
public boolean isSetTransactionInfo()Returns true if field transaction_info is set (has been assigned a value) and false otherwise -
setTransactionInfoIsSet
public void setTransactionInfoIsSet(boolean value) -
getCost
-
setCost
-
unsetCost
public void unsetCost() -
isSetCost
public boolean isSetCost()Returns true if field cost is set (has been assigned a value) and false otherwise -
setCostIsSet
public void setCostIsSet(boolean value) -
getPayerSessionInfo
-
setPayerSessionInfo
-
unsetPayerSessionInfo
public void unsetPayerSessionInfo() -
isSetPayerSessionInfo
public boolean isSetPayerSessionInfo()Returns true if field payer_session_info is set (has been assigned a value) and false otherwise -
setPayerSessionInfoIsSet
public void setPayerSessionInfoIsSet(boolean value) -
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(boolean value) -
getContext
-
setContext
-
unsetContext
public void unsetContext() -
isSetContext
public boolean isSetContext()Returns true if field context is set (has been assigned a value) and false otherwise -
setContextIsSet
public void setContextIsSet(boolean value) -
getRiskScore
- See Also:
-
setRiskScore
- See Also:
-
unsetRiskScore
public void unsetRiskScore() -
isSetRiskScore
public boolean isSetRiskScore()Returns true if field risk_score is set (has been assigned a value) and false otherwise -
setRiskScoreIsSet
public void setRiskScoreIsSet(boolean value) -
getOccurredAt
-
setOccurredAt
-
unsetOccurredAt
public void unsetOccurredAt() -
isSetOccurredAt
public boolean isSetOccurredAt()Returns true if field occurred_at is set (has been assigned a value) and false otherwise -
setOccurredAtIsSet
public void setOccurredAtIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._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<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RegisterInvoicePaymentParams>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._Fields>
-
getFieldMetaData
public Map<RegisterInvoicePaymentParams._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<RegisterInvoicePaymentParams,RegisterInvoicePaymentParams._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
-