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.14.2)",
date="2022-10-25")
public class PaymentsServiceTerms
extends Object
implements org.apache.thrift.TBase<PaymentsServiceTerms,PaymentsServiceTerms._Fields>, Serializable, Cloneable, Comparable<PaymentsServiceTerms>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentsServiceTerms._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description PaymentAllocationServiceTermsallocationsCashLimitSelectorcash_limitCategorySelectorcategoriesPaymentChargebackServiceTermschargebacksCurrencySelectorcurrenciesCashFlowSelectorfeesPaymentHoldsServiceTermsholdsstatic Map<PaymentsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPaymentMethodSelectorpayment_methodsPaymentRefundsServiceTermsrefunds -
Constructor Summary
Constructors Constructor Description PaymentsServiceTerms()PaymentsServiceTerms(PaymentsServiceTerms other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(PaymentsServiceTerms other)PaymentsServiceTermsdeepCopy()booleanequals(PaymentsServiceTerms that)booleanequals(Object that)PaymentsServiceTerms._FieldsfieldForId(int fieldId)PaymentAllocationServiceTermsgetAllocations()CashLimitSelectorgetCashLimit()CategorySelectorgetCategories()PaymentChargebackServiceTermsgetChargebacks()CurrencySelectorgetCurrencies()CashFlowSelectorgetFees()Map<PaymentsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentsServiceTerms._Fields[]getFields()ObjectgetFieldValue(PaymentsServiceTerms._Fields field)PaymentHoldsServiceTermsgetHolds()PaymentMethodSelectorgetPaymentMethods()PaymentRefundsServiceTermsgetRefunds()inthashCode()booleanisSet(PaymentsServiceTerms._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetAllocations()Returns true if field allocations 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 otherwisebooleanisSetFees()Returns true if field fees 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 otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PaymentsServiceTermssetAllocations(PaymentAllocationServiceTerms allocations)voidsetAllocationsIsSet(boolean value)PaymentsServiceTermssetCashLimit(CashLimitSelector cash_limit)voidsetCashLimitIsSet(boolean value)PaymentsServiceTermssetCategories(CategorySelector categories)voidsetCategoriesIsSet(boolean value)PaymentsServiceTermssetChargebacks(PaymentChargebackServiceTerms chargebacks)voidsetChargebacksIsSet(boolean value)PaymentsServiceTermssetCurrencies(CurrencySelector currencies)voidsetCurrenciesIsSet(boolean value)PaymentsServiceTermssetFees(CashFlowSelector fees)voidsetFeesIsSet(boolean value)voidsetFieldValue(PaymentsServiceTerms._Fields field, Object value)PaymentsServiceTermssetHolds(PaymentHoldsServiceTerms holds)voidsetHoldsIsSet(boolean value)PaymentsServiceTermssetPaymentMethods(PaymentMethodSelector payment_methods)voidsetPaymentMethodsIsSet(boolean value)PaymentsServiceTermssetRefunds(PaymentRefundsServiceTerms refunds)voidsetRefundsIsSet(boolean value)StringtoString()voidunsetAllocations()voidunsetCashLimit()voidunsetCategories()voidunsetChargebacks()voidunsetCurrencies()voidunsetFees()voidunsetHolds()voidunsetPaymentMethods()voidunsetRefunds()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
currencies
-
categories
-
payment_methods
-
cash_limit
-
fees
-
holds
-
refunds
-
chargebacks
-
allocations
-
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) -
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
-