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.14.2)",
date="2022-10-25")
public class RecurrentPaymentTool
extends Object
implements org.apache.thrift.TBase<RecurrentPaymentTool,RecurrentPaymentTool._Fields>, Serializable, Cloneable, Comparable<RecurrentPaymentTool>
- See Also:
- Serialized Form
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRecurrentPaymentTool._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Fields Modifier and Type Field Description Stringcreated_atlongdomain_revisionStringidstatic Map<RecurrentPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMapCashminimal_payment_costStringparty_idlongparty_revisionDisposablePaymentResourcepayment_resourceStringrec_tokenPaymentRouterouteStringshop_idRecurrentPaymentToolStatusstatus -
Constructor Summary
Constructors Constructor Description RecurrentPaymentTool()RecurrentPaymentTool(RecurrentPaymentTool other)Performs 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 Type Method Description voidclear()intcompareTo(RecurrentPaymentTool other)RecurrentPaymentTooldeepCopy()booleanequals(RecurrentPaymentTool that)booleanequals(Object that)RecurrentPaymentTool._FieldsfieldForId(int fieldId)StringgetCreatedAt()longgetDomainRevision()Map<RecurrentPaymentTool._Fields,org.apache.thrift.meta_data.FieldMetaData>getFieldMetaData()RecurrentPaymentTool._Fields[]getFields()ObjectgetFieldValue(RecurrentPaymentTool._Fields field)StringgetId()CashgetMinimalPaymentCost()StringgetPartyId()longgetPartyRevision()DisposablePaymentResourcegetPaymentResource()StringgetRecToken()PaymentRoutegetRoute()StringgetShopId()RecurrentPaymentToolStatusgetStatus()inthashCode()booleanisSet(RecurrentPaymentTool._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCreatedAt()Returns true if field created_at is set (has been assigned a value) and false otherwisebooleanisSetDomainRevision()Returns 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 otherwisebooleanisSetMinimalPaymentCost()Returns true if field minimal_payment_cost is set (has been assigned a value) and false otherwisebooleanisSetPartyId()Returns true if field party_id is set (has been assigned a value) and false otherwisebooleanisSetPartyRevision()Returns true if field party_revision is set (has been assigned a value) and false otherwisebooleanisSetPaymentResource()Returns true if field payment_resource is set (has been assigned a value) and false otherwisebooleanisSetRecToken()Returns true if field rec_token is set (has been assigned a value) and false otherwisebooleanisSetRoute()Returns true if field route is set (has been assigned a value) and false otherwisebooleanisSetShopId()Returns true if field shop_id is set (has been assigned a value) and false otherwisebooleanisSetStatus()Returns true if field status is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)RecurrentPaymentToolsetCreatedAt(String created_at)voidsetCreatedAtIsSet(boolean value)RecurrentPaymentToolsetDomainRevision(long domain_revision)voidsetDomainRevisionIsSet(boolean value)voidsetFieldValue(RecurrentPaymentTool._Fields field, Object value)RecurrentPaymentToolsetId(String id)voidsetIdIsSet(boolean value)RecurrentPaymentToolsetMinimalPaymentCost(Cash minimal_payment_cost)voidsetMinimalPaymentCostIsSet(boolean value)RecurrentPaymentToolsetPartyId(String party_id)voidsetPartyIdIsSet(boolean value)RecurrentPaymentToolsetPartyRevision(long party_revision)voidsetPartyRevisionIsSet(boolean value)RecurrentPaymentToolsetPaymentResource(DisposablePaymentResource payment_resource)voidsetPaymentResourceIsSet(boolean value)RecurrentPaymentToolsetRecToken(String rec_token)voidsetRecTokenIsSet(boolean value)RecurrentPaymentToolsetRoute(PaymentRoute route)voidsetRouteIsSet(boolean value)RecurrentPaymentToolsetShopId(String shop_id)voidsetShopIdIsSet(boolean value)RecurrentPaymentToolsetStatus(RecurrentPaymentToolStatus status)voidsetStatusIsSet(boolean value)StringtoString()voidunsetCreatedAt()voidunsetDomainRevision()voidunsetId()voidunsetMinimalPaymentCost()voidunsetPartyId()voidunsetPartyRevision()voidunsetPaymentResource()voidunsetRecToken()voidunsetRoute()voidunsetShopId()voidunsetStatus()voidvalidate()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
-