Package dev.vality.damsel.domain
Class PaymentsServiceTerms
java.lang.Object
dev.vality.damsel.domain.PaymentsServiceTerms
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PaymentsServiceTerms>,org.apache.thrift.TBase<PaymentsServiceTerms,,PaymentsServiceTerms._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class PaymentsServiceTerms
extends Object
implements org.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._Fields>, Serializable, Cloneable, Comparable<PaymentsServiceTerms>
- 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<PaymentsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(PaymentsServiceTerms other) deepCopy()booleanequals(PaymentsServiceTerms that) booleanfieldForId(int fieldId) getFees()Map<PaymentsServiceTerms._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 allocations is set (has been assigned a value) and false otherwisebooleanReturns true if field attempt_limit 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 fees 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 otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAllocations(PaymentAllocationServiceTerms allocations) voidsetAllocationsIsSet(boolean value) setAttemptLimit(AttemptLimitSelector attempt_limit) voidsetAttemptLimitIsSet(boolean value) setCashLimit(CashLimitSelector cash_limit) voidsetCashLimitIsSet(boolean value) setCategories(CategorySelector categories) voidsetCategoriesIsSet(boolean value) setChargebacks(PaymentChargebackServiceTerms chargebacks) voidsetChargebacksIsSet(boolean value) setCurrencies(CurrencySelector currencies) voidsetCurrenciesIsSet(boolean value) setFees(CashFlowSelector fees) voidsetFeesIsSet(boolean value) voidsetFieldValue(PaymentsServiceTerms._Fields field, Object value) setHolds(PaymentHoldsServiceTerms holds) voidsetHoldsIsSet(boolean value) setPaymentMethods(PaymentMethodSelector payment_methods) voidsetPaymentMethodsIsSet(boolean value) setRefunds(PaymentRefundsServiceTerms refunds) voidsetRefundsIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
currencies
-
categories
-
payment_methods
-
cash_limit
-
fees
-
holds
-
refunds
-
chargebacks
-
allocations
-
attempt_limit
-
metaDataMap
public static final Map<PaymentsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentsServiceTerms
public PaymentsServiceTerms() -
PaymentsServiceTerms
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._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) -
getFees
-
setFees
-
unsetFees
public void unsetFees() -
isSetFees
public boolean isSetFees()Returns true if field fees is set (has been assigned a value) and false otherwise -
setFeesIsSet
public void setFeesIsSet(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) -
getAllocations
-
setAllocations
-
unsetAllocations
public void unsetAllocations() -
isSetAllocations
public boolean isSetAllocations()Returns true if field allocations is set (has been assigned a value) and false otherwise -
setAllocationsIsSet
public void setAllocationsIsSet(boolean value) -
getAttemptLimit
-
setAttemptLimit
-
unsetAttemptLimit
public void unsetAttemptLimit() -
isSetAttemptLimit
public boolean isSetAttemptLimit()Returns true if field attempt_limit is set (has been assigned a value) and false otherwise -
setAttemptLimitIsSet
public void setAttemptLimitIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._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<PaymentsServiceTerms,PaymentsServiceTerms._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PaymentsServiceTerms>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._Fields>
-
getFieldMetaData
public Map<PaymentsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._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
-