Package dev.vality.damsel.domain
Class PaymentsProvisionTerms
java.lang.Object
dev.vality.damsel.domain.PaymentsProvisionTerms
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PaymentsProvisionTerms>,org.apache.thrift.TBase<PaymentsProvisionTerms,,PaymentsProvisionTerms._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class PaymentsProvisionTerms
extends Object
implements org.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>, Serializable, Cloneable, Comparable<PaymentsProvisionTerms>
- 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<PaymentsProvisionTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(PaymentsProvisionTerms other) deepCopy()booleanequals(PaymentsProvisionTerms that) booleanfieldForId(int fieldId) getAllow()Map<PaymentsProvisionTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getHolds()inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field allow is set (has been assigned a value) and false otherwisebooleanReturns true if field cash_flow is set (has been assigned a value) and false otherwisebooleanReturns true if field cash_limit is set (has been assigned a value) and false otherwisebooleanReturns true if field categories is set (has been assigned a value) and false otherwisebooleanReturns true if field chargebacks is set (has been assigned a value) and false otherwisebooleanReturns true if field currencies is set (has been assigned a value) and false otherwisebooleanReturns true if field global_allow is set (has been assigned a value) and false otherwisebooleanReturns true if field holds is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_methods is set (has been assigned a value) and false otherwisebooleanReturns true if field refunds is set (has been assigned a value) and false otherwisebooleanReturns true if field risk_coverage is set (has been assigned a value) and false otherwisebooleanReturns true if field turnover_limits is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) voidsetAllowIsSet(boolean value) setCashFlow(CashFlowSelector cash_flow) voidsetCashFlowIsSet(boolean value) setCashLimit(CashLimitSelector cash_limit) voidsetCashLimitIsSet(boolean value) setCategories(CategorySelector categories) voidsetCategoriesIsSet(boolean value) setChargebacks(PaymentChargebackProvisionTerms chargebacks) voidsetChargebacksIsSet(boolean value) setCurrencies(CurrencySelector currencies) voidsetCurrenciesIsSet(boolean value) voidsetFieldValue(PaymentsProvisionTerms._Fields field, Object value) setGlobalAllow(Predicate global_allow) voidsetGlobalAllowIsSet(boolean value) voidsetHoldsIsSet(boolean value) setPaymentMethods(PaymentMethodSelector payment_methods) voidsetPaymentMethodsIsSet(boolean value) setRefunds(PaymentRefundsProvisionTerms refunds) voidsetRefundsIsSet(boolean value) setRiskCoverage(RiskScoreSelector risk_coverage) voidsetRiskCoverageIsSet(boolean value) setTurnoverLimits(TurnoverLimitSelector turnover_limits) voidsetTurnoverLimitsIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
allow
-
global_allow
-
currencies
-
categories
-
payment_methods
-
cash_limit
-
cash_flow
-
holds
-
refunds
-
chargebacks
-
risk_coverage
-
turnover_limits
-
metaDataMap
public static final Map<PaymentsProvisionTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentsProvisionTerms
public PaymentsProvisionTerms() -
PaymentsProvisionTerms
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>
-
getAllow
-
setAllow
-
unsetAllow
public void unsetAllow() -
isSetAllow
public boolean isSetAllow()Returns true if field allow is set (has been assigned a value) and false otherwise -
setAllowIsSet
public void setAllowIsSet(boolean value) -
getGlobalAllow
-
setGlobalAllow
-
unsetGlobalAllow
public void unsetGlobalAllow() -
isSetGlobalAllow
public boolean isSetGlobalAllow()Returns true if field global_allow is set (has been assigned a value) and false otherwise -
setGlobalAllowIsSet
public void setGlobalAllowIsSet(boolean value) -
getCurrencies
-
setCurrencies
-
unsetCurrencies
public void unsetCurrencies() -
isSetCurrencies
public boolean isSetCurrencies()Returns true if field currencies is set (has been assigned a value) and false otherwise -
setCurrenciesIsSet
public void setCurrenciesIsSet(boolean value) -
getCategories
-
setCategories
-
unsetCategories
public void unsetCategories() -
isSetCategories
public boolean isSetCategories()Returns true if field categories is set (has been assigned a value) and false otherwise -
setCategoriesIsSet
public void setCategoriesIsSet(boolean value) -
getPaymentMethods
-
setPaymentMethods
-
unsetPaymentMethods
public void unsetPaymentMethods() -
isSetPaymentMethods
public boolean isSetPaymentMethods()Returns true if field payment_methods is set (has been assigned a value) and false otherwise -
setPaymentMethodsIsSet
public void setPaymentMethodsIsSet(boolean value) -
getCashLimit
-
setCashLimit
-
unsetCashLimit
public void unsetCashLimit() -
isSetCashLimit
public boolean isSetCashLimit()Returns true if field cash_limit is set (has been assigned a value) and false otherwise -
setCashLimitIsSet
public void setCashLimitIsSet(boolean value) -
getCashFlow
-
setCashFlow
-
unsetCashFlow
public void unsetCashFlow() -
isSetCashFlow
public boolean isSetCashFlow()Returns true if field cash_flow is set (has been assigned a value) and false otherwise -
setCashFlowIsSet
public void setCashFlowIsSet(boolean value) -
getHolds
-
setHolds
-
unsetHolds
public void unsetHolds() -
isSetHolds
public boolean isSetHolds()Returns true if field holds is set (has been assigned a value) and false otherwise -
setHoldsIsSet
public void setHoldsIsSet(boolean value) -
getRefunds
-
setRefunds
-
unsetRefunds
public void unsetRefunds() -
isSetRefunds
public boolean isSetRefunds()Returns true if field refunds is set (has been assigned a value) and false otherwise -
setRefundsIsSet
public void setRefundsIsSet(boolean value) -
getChargebacks
-
setChargebacks
-
unsetChargebacks
public void unsetChargebacks() -
isSetChargebacks
public boolean isSetChargebacks()Returns true if field chargebacks is set (has been assigned a value) and false otherwise -
setChargebacksIsSet
public void setChargebacksIsSet(boolean value) -
getRiskCoverage
-
setRiskCoverage
-
unsetRiskCoverage
public void unsetRiskCoverage() -
isSetRiskCoverage
public boolean isSetRiskCoverage()Returns true if field risk_coverage is set (has been assigned a value) and false otherwise -
setRiskCoverageIsSet
public void setRiskCoverageIsSet(boolean value) -
getTurnoverLimits
-
setTurnoverLimits
-
unsetTurnoverLimits
public void unsetTurnoverLimits() -
isSetTurnoverLimits
public boolean isSetTurnoverLimits()Returns true if field turnover_limits is set (has been assigned a value) and false otherwise -
setTurnoverLimitsIsSet
public void setTurnoverLimitsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._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<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PaymentsProvisionTerms>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>
-
getFieldMetaData
public Map<PaymentsProvisionTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._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
-