Package dev.vality.damsel.domain
Class PaymentRefundsServiceTerms
java.lang.Object
dev.vality.damsel.domain.PaymentRefundsServiceTerms
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<PaymentRefundsServiceTerms>,org.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.2)",
date="2022-10-25")
public class PaymentRefundsServiceTerms
extends Object
implements org.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>, Serializable, Cloneable, Comparable<PaymentRefundsServiceTerms>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPaymentRefundsServiceTerms._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description TimeSpanSelectoreligibility_timeCashFlowSelectorfeesstatic Map<PaymentRefundsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapPartialRefundsServiceTermspartial_refundsPaymentMethodSelectorpayment_methods -
Constructor Summary
Constructors Constructor Description PaymentRefundsServiceTerms()PaymentRefundsServiceTerms(PaymentRefundsServiceTerms other)Performs a deep copy on other. -
Method Summary
Modifier and Type Method Description voidclear()intcompareTo(PaymentRefundsServiceTerms other)PaymentRefundsServiceTermsdeepCopy()booleanequals(PaymentRefundsServiceTerms that)booleanequals(Object that)PaymentRefundsServiceTerms._FieldsfieldForId(int fieldId)TimeSpanSelectorgetEligibilityTime()CashFlowSelectorgetFees()Map<PaymentRefundsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()PaymentRefundsServiceTerms._Fields[]getFields()ObjectgetFieldValue(PaymentRefundsServiceTerms._Fields field)PartialRefundsServiceTermsgetPartialRefunds()PaymentMethodSelectorgetPaymentMethods()inthashCode()booleanisSet(PaymentRefundsServiceTerms._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetEligibilityTime()Returns true if field eligibility_time is set (has been assigned a value) and false otherwisebooleanisSetFees()Returns true if field fees is set (has been assigned a value) and false otherwisebooleanisSetPartialRefunds()Returns true if field partial_refunds 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 otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)PaymentRefundsServiceTermssetEligibilityTime(TimeSpanSelector eligibility_time)voidsetEligibilityTimeIsSet(boolean value)PaymentRefundsServiceTermssetFees(CashFlowSelector fees)voidsetFeesIsSet(boolean value)voidsetFieldValue(PaymentRefundsServiceTerms._Fields field, Object value)PaymentRefundsServiceTermssetPartialRefunds(PartialRefundsServiceTerms partial_refunds)voidsetPartialRefundsIsSet(boolean value)PaymentRefundsServiceTermssetPaymentMethods(PaymentMethodSelector payment_methods)voidsetPaymentMethodsIsSet(boolean value)StringtoString()voidunsetEligibilityTime()voidunsetFees()voidunsetPartialRefunds()voidunsetPaymentMethods()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
payment_methods
-
fees
-
eligibility_time
-
partial_refunds
-
metaDataMap
public static final Map<PaymentRefundsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
PaymentRefundsServiceTerms
public PaymentRefundsServiceTerms() -
PaymentRefundsServiceTerms
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>
-
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) -
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) -
getEligibilityTime
-
setEligibilityTime
-
unsetEligibilityTime
public void unsetEligibilityTime() -
isSetEligibilityTime
public boolean isSetEligibilityTime()Returns true if field eligibility_time is set (has been assigned a value) and false otherwise -
setEligibilityTimeIsSet
public void setEligibilityTimeIsSet(boolean value) -
getPartialRefunds
-
setPartialRefunds
-
unsetPartialRefunds
public void unsetPartialRefunds() -
isSetPartialRefunds
public boolean isSetPartialRefunds()Returns true if field partial_refunds is set (has been assigned a value) and false otherwise -
setPartialRefundsIsSet
public void setPartialRefundsIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._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<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<PaymentRefundsServiceTerms>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._Fields>
-
getFieldMetaData
public Map<PaymentRefundsServiceTerms._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<PaymentRefundsServiceTerms,PaymentRefundsServiceTerms._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
-