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.14.2)",
date="2022-10-25")
public class PaymentsProvisionTerms
extends Object
implements org.apache.thrift.TBase<PaymentsProvisionTerms,PaymentsProvisionTerms._Fields>, Serializable, Cloneable, Comparable<PaymentsProvisionTerms>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentsProvisionTerms._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description CashFlowSelectorcash_flowCashLimitSelectorcash_limitCategorySelectorcategoriesPaymentChargebackProvisionTermschargebacksCurrencySelectorcurrenciesPaymentHoldsProvisionTermsholdsstatic Map<PaymentsProvisionTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentMethodSelectorpayment_methodsPaymentRefundsProvisionTermsrefundsRiskScoreSelectorrisk_coverageTurnoverLimitSelectorturnover_limits -
Constructor Summary
Constructors Constructor Description PaymentsProvisionTerms()PaymentsProvisionTerms(PaymentsProvisionTerms other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(PaymentsProvisionTerms other)PaymentsProvisionTermsdeepCopy()booleanequals(PaymentsProvisionTerms that)booleanequals(Object that)PaymentsProvisionTerms._FieldsfieldForId(int fieldId)CashFlowSelectorgetCashFlow()CashLimitSelectorgetCashLimit()CategorySelectorgetCategories()PaymentChargebackProvisionTermsgetChargebacks()CurrencySelectorgetCurrencies()Map<PaymentsProvisionTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentsProvisionTerms._Fields[]getFields()ObjectgetFieldValue(PaymentsProvisionTerms._Fields field)PaymentHoldsProvisionTermsgetHolds()PaymentMethodSelectorgetPaymentMethods()PaymentRefundsProvisionTermsgetRefunds()RiskScoreSelectorgetRiskCoverage()TurnoverLimitSelectorgetTurnoverLimits()inthashCode()booleanisSet(PaymentsProvisionTerms._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCashFlow()Returns true if field cash_flow is set (has been assigned a value) and false otherwisebooleanisSetCashLimit()Returns true if field cash_limit is set (has been assigned a value) and false otherwisebooleanisSetCategories()Returns true if field categories is set (has been assigned a value) and false otherwisebooleanisSetChargebacks()Returns true if field chargebacks is set (has been assigned a value) and false otherwisebooleanisSetCurrencies()Returns true if field currencies is set (has been assigned a value) and false otherwisebooleanisSetHolds()Returns true if field holds is set (has been assigned a value) and false otherwisebooleanisSetPaymentMethods()Returns true if field payment_methods is set (has been assigned a value) and false otherwisebooleanisSetRefunds()Returns true if field refunds is set (has been assigned a value) and false otherwisebooleanisSetRiskCoverage()Returns true if field risk_coverage is set (has been assigned a value) and false otherwisebooleanisSetTurnoverLimits()Returns true if field turnover_limits is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PaymentsProvisionTermssetCashFlow(CashFlowSelector cash_flow)voidsetCashFlowIsSet(boolean value)PaymentsProvisionTermssetCashLimit(CashLimitSelector cash_limit)voidsetCashLimitIsSet(boolean value)PaymentsProvisionTermssetCategories(CategorySelector categories)voidsetCategoriesIsSet(boolean value)PaymentsProvisionTermssetChargebacks(PaymentChargebackProvisionTerms chargebacks)voidsetChargebacksIsSet(boolean value)PaymentsProvisionTermssetCurrencies(CurrencySelector currencies)voidsetCurrenciesIsSet(boolean value)voidsetFieldValue(PaymentsProvisionTerms._Fields field, Object value)PaymentsProvisionTermssetHolds(PaymentHoldsProvisionTerms holds)voidsetHoldsIsSet(boolean value)PaymentsProvisionTermssetPaymentMethods(PaymentMethodSelector payment_methods)voidsetPaymentMethodsIsSet(boolean value)PaymentsProvisionTermssetRefunds(PaymentRefundsProvisionTerms refunds)voidsetRefundsIsSet(boolean value)PaymentsProvisionTermssetRiskCoverage(RiskScoreSelector risk_coverage)voidsetRiskCoverageIsSet(boolean value)PaymentsProvisionTermssetTurnoverLimits(TurnoverLimitSelector turnover_limits)voidsetTurnoverLimitsIsSet(boolean value)StringtoString()voidunsetCashFlow()voidunsetCashLimit()voidunsetCategories()voidunsetChargebacks()voidunsetCurrencies()voidunsetHolds()voidunsetPaymentMethods()voidunsetRefunds()voidunsetRiskCoverage()voidunsetTurnoverLimits()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
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>
-
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
-