Class RecurrentPaymentTool
java.lang.Object
dev.vality.damsel.payment_processing.RecurrentPaymentTool
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<RecurrentPaymentTool>,org.apache.thrift.TBase<RecurrentPaymentTool,,RecurrentPaymentTool._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class RecurrentPaymentTool
extends Object
implements org.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>, Serializable, Cloneable, Comparable<RecurrentPaymentTool>
- 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 TypeFieldDescriptionlongstatic final Map<RecurrentPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> long -
Constructor Summary
ConstructorsConstructorDescriptionPerforms a deep copy on other.RecurrentPaymentTool(String id, String shop_id, String party_id, long domain_revision, RecurrentPaymentToolStatus status, String created_at, DisposablePaymentResource payment_resource) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(RecurrentPaymentTool other) deepCopy()booleanequals(RecurrentPaymentTool that) booleanfieldForId(int fieldId) longMap<RecurrentPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> getId()longgetRoute()inthashCode()booleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field created_at is set (has been assigned a value) and false otherwisebooleanReturns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanisSetId()Returns true if field id is set (has been assigned a value) and false otherwisebooleanReturns true if field minimal_payment_cost is set (has been assigned a value) and false otherwisebooleanReturns true if field party_id is set (has been assigned a value) and false otherwisebooleanReturns true if field party_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field payment_resource is set (has been assigned a value) and false otherwisebooleanReturns true if field rec_token is set (has been assigned a value) and false otherwisebooleanReturns true if field route is set (has been assigned a value) and false otherwisebooleanReturns true if field shop_id is set (has been assigned a value) and false otherwisebooleanReturns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setDomainRevision(long domain_revision) voidsetDomainRevisionIsSet(boolean value) voidsetFieldValue(RecurrentPaymentTool._Fields field, Object value) voidsetIdIsSet(boolean value) setMinimalPaymentCost(Cash minimal_payment_cost) voidsetMinimalPaymentCostIsSet(boolean value) setPartyId(String party_id) voidsetPartyIdIsSet(boolean value) setPartyRevision(long party_revision) voidsetPartyRevisionIsSet(boolean value) setPaymentResource(DisposablePaymentResource payment_resource) voidsetPaymentResourceIsSet(boolean value) setRecToken(String rec_token) voidsetRecTokenIsSet(boolean value) setRoute(PaymentRoute route) voidsetRouteIsSet(boolean value) voidsetShopIdIsSet(boolean value) setStatus(RecurrentPaymentToolStatus status) voidsetStatusIsSet(boolean value) toString()voidvoidvoidunsetId()voidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
shop_id
-
party_id
-
party_revision
public long party_revision -
domain_revision
public long domain_revision -
status
-
created_at
-
payment_resource
-
rec_token
-
route
-
minimal_payment_cost
-
metaDataMap
public static final Map<RecurrentPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
RecurrentPaymentTool
public RecurrentPaymentTool() -
RecurrentPaymentTool
public RecurrentPaymentTool(String id, String shop_id, String party_id, long domain_revision, RecurrentPaymentToolStatus status, String created_at, DisposablePaymentResource payment_resource) -
RecurrentPaymentTool
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>
-
getId
-
setId
-
unsetId
public void unsetId() -
isSetId
public boolean isSetId()Returns true if field id is set (has been assigned a value) and false otherwise -
setIdIsSet
public void setIdIsSet(boolean value) -
getShopId
-
setShopId
-
unsetShopId
public void unsetShopId() -
isSetShopId
public boolean isSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwise -
setShopIdIsSet
public void setShopIdIsSet(boolean value) -
getPartyId
-
setPartyId
-
unsetPartyId
public void unsetPartyId() -
isSetPartyId
public boolean isSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwise -
setPartyIdIsSet
public void setPartyIdIsSet(boolean value) -
getPartyRevision
public long getPartyRevision() -
setPartyRevision
-
unsetPartyRevision
public void unsetPartyRevision() -
isSetPartyRevision
public boolean isSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwise -
setPartyRevisionIsSet
public void setPartyRevisionIsSet(boolean value) -
getDomainRevision
public long getDomainRevision() -
setDomainRevision
-
unsetDomainRevision
public void unsetDomainRevision() -
isSetDomainRevision
public boolean isSetDomainRevision()Returns true if field domain_revision is set (has been assigned a value) and false otherwise -
setDomainRevisionIsSet
public void setDomainRevisionIsSet(boolean value) -
getStatus
-
setStatus
-
unsetStatus
public void unsetStatus() -
isSetStatus
public boolean isSetStatus()Returns true if field status is set (has been assigned a value) and false otherwise -
setStatusIsSet
public void setStatusIsSet(boolean value) -
getCreatedAt
-
setCreatedAt
-
unsetCreatedAt
public void unsetCreatedAt() -
isSetCreatedAt
public boolean isSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwise -
setCreatedAtIsSet
public void setCreatedAtIsSet(boolean value) -
getPaymentResource
-
setPaymentResource
-
unsetPaymentResource
public void unsetPaymentResource() -
isSetPaymentResource
public boolean isSetPaymentResource()Returns true if field payment_resource is set (has been assigned a value) and false otherwise -
setPaymentResourceIsSet
public void setPaymentResourceIsSet(boolean value) -
getRecToken
-
setRecToken
-
unsetRecToken
public void unsetRecToken() -
isSetRecToken
public boolean isSetRecToken()Returns true if field rec_token is set (has been assigned a value) and false otherwise -
setRecTokenIsSet
public void setRecTokenIsSet(boolean value) -
getRoute
-
setRoute
-
unsetRoute
public void unsetRoute() -
isSetRoute
public boolean isSetRoute()Returns true if field route is set (has been assigned a value) and false otherwise -
setRouteIsSet
public void setRouteIsSet(boolean value) -
getMinimalPaymentCost
-
setMinimalPaymentCost
-
unsetMinimalPaymentCost
public void unsetMinimalPaymentCost() -
isSetMinimalPaymentCost
public boolean isSetMinimalPaymentCost()Returns true if field minimal_payment_cost is set (has been assigned a value) and false otherwise -
setMinimalPaymentCostIsSet
public void setMinimalPaymentCostIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._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<RecurrentPaymentTool,RecurrentPaymentTool._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<RecurrentPaymentTool>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>
-
getFieldMetaData
public Map<RecurrentPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldMetaData()- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._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
-