Package dev.vality.damsel.merch_stat
Class StatPayment
java.lang.Object
dev.vality.damsel.merch_stat.StatPayment
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<StatPayment>,org.apache.thrift.TBase<StatPayment,,StatPayment._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.19.0)",
date="2024-08-02")
public class StatPayment
extends Object
implements org.apache.thrift.TBase<StatPayment,StatPayment._Fields>, Serializable, Cloneable, Comparable<StatPayment>
* Информация о платеже.
* *
- 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 TypeFieldDescriptionlonglonglongbooleanstatic final Map<StatPayment._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionStatPayment(StatPayment other) Performs a deep copy on other.StatPayment(String id, String invoice_id, String owner_id, String shop_id, String created_at, InvoicePaymentStatus status, long amount, long fee, String currency_symbolic_code, Payer payer, InvoicePaymentFlow flow, long domain_revision) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(StatPayment other) deepCopy()booleanequals(StatPayment that) booleanfieldForId(int fieldId) longgetCart()longlonggetFee()Map<StatPayment._Fields,org.apache.thrift.meta_data.FieldMetaData> getFieldValue(StatPayment._Fields field) getFlow()getId()getPayer()inthashCode()booleanbooleanisSet(StatPayment._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field additional_transaction_info is set (has been assigned a value) and false otherwisebooleanReturns true if field allocation is set (has been assigned a value) and false otherwisebooleanReturns true if field amount is set (has been assigned a value) and false otherwisebooleanReturns true if field cart is set (has been assigned a value) and false otherwisebooleanReturns true if field context 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 currency_symbolic_code is set (has been assigned a value) and false otherwisebooleanReturns true if field domain_revision is set (has been assigned a value) and false otherwisebooleanReturns true if field external_id is set (has been assigned a value) and false otherwisebooleanisSetFee()Returns true if field fee is set (has been assigned a value) and false otherwisebooleanReturns true if field flow 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 invoice_id is set (has been assigned a value) and false otherwisebooleanReturns true if field location_info is set (has been assigned a value) and false otherwisebooleanReturns true if field make_recurrent is set (has been assigned a value) and false otherwisebooleanReturns true if field owner_id is set (has been assigned a value) and false otherwisebooleanReturns true if field payer is set (has been assigned a value) and false otherwisebooleanReturns true if field provider_id 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 short_id is set (has been assigned a value) and false otherwisebooleanReturns true if field status is set (has been assigned a value) and false otherwisebooleanReturns true if field terminal_id is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot) setAdditionalTransactionInfo(AdditionalTransactionInfo additional_transaction_info) voidsetAdditionalTransactionInfoIsSet(boolean value) setAllocation(Allocation allocation) voidsetAllocationIsSet(boolean value) setAmount(long amount) voidsetAmountIsSet(boolean value) setCart(InvoiceCart cart) voidsetCartIsSet(boolean value) setContext(Content context) voidsetContextIsSet(boolean value) setCreatedAt(String created_at) voidsetCreatedAtIsSet(boolean value) setCurrencySymbolicCode(String currency_symbolic_code) voidsetCurrencySymbolicCodeIsSet(boolean value) setDomainRevision(long domain_revision) voidsetDomainRevisionIsSet(boolean value) setExternalId(String external_id) voidsetExternalIdIsSet(boolean value) setFee(long fee) voidsetFeeIsSet(boolean value) voidsetFieldValue(StatPayment._Fields field, Object value) setFlow(InvoicePaymentFlow flow) voidsetFlowIsSet(boolean value) voidsetIdIsSet(boolean value) setInvoiceId(String invoice_id) voidsetInvoiceIdIsSet(boolean value) setLocationInfo(LocationInfo location_info) voidsetLocationInfoIsSet(boolean value) setMakeRecurrent(boolean make_recurrent) voidsetMakeRecurrentIsSet(boolean value) setOwnerId(String owner_id) voidsetOwnerIdIsSet(boolean value) voidsetPayerIsSet(boolean value) setProviderId(ProviderRef provider_id) voidsetProviderIdIsSet(boolean value) voidsetShopIdIsSet(boolean value) setShortId(String short_id) voidsetShortIdIsSet(boolean value) setStatus(InvoicePaymentStatus status) voidsetStatusIsSet(boolean value) setTerminalId(TerminalRef terminal_id) voidsetTerminalIdIsSet(boolean value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidunsetFee()voidvoidunsetId()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
id
-
invoice_id
-
owner_id
-
shop_id
-
created_at
-
status
-
amount
public long amount -
fee
public long fee -
currency_symbolic_code
-
payer
-
context
-
location_info
-
flow
-
short_id
-
make_recurrent
public boolean make_recurrent -
domain_revision
public long domain_revision -
cart
-
additional_transaction_info
-
external_id
-
provider_id
-
terminal_id
-
allocation
-
metaDataMap
-
-
Constructor Details
-
StatPayment
public StatPayment() -
StatPayment
public StatPayment(String id, String invoice_id, String owner_id, String shop_id, String created_at, InvoicePaymentStatus status, long amount, long fee, String currency_symbolic_code, Payer payer, InvoicePaymentFlow flow, long domain_revision) -
StatPayment
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._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) -
getInvoiceId
-
setInvoiceId
-
unsetInvoiceId
public void unsetInvoiceId() -
isSetInvoiceId
public boolean isSetInvoiceId()Returns true if field invoice_id is set (has been assigned a value) and false otherwise -
setInvoiceIdIsSet
public void setInvoiceIdIsSet(boolean value) -
getOwnerId
-
setOwnerId
-
unsetOwnerId
public void unsetOwnerId() -
isSetOwnerId
public boolean isSetOwnerId()Returns true if field owner_id is set (has been assigned a value) and false otherwise -
setOwnerIdIsSet
public void setOwnerIdIsSet(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) -
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) -
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) -
getAmount
public long getAmount() -
setAmount
-
unsetAmount
public void unsetAmount() -
isSetAmount
public boolean isSetAmount()Returns true if field amount is set (has been assigned a value) and false otherwise -
setAmountIsSet
public void setAmountIsSet(boolean value) -
getFee
public long getFee() -
setFee
-
unsetFee
public void unsetFee() -
isSetFee
public boolean isSetFee()Returns true if field fee is set (has been assigned a value) and false otherwise -
setFeeIsSet
public void setFeeIsSet(boolean value) -
getCurrencySymbolicCode
-
setCurrencySymbolicCode
-
unsetCurrencySymbolicCode
public void unsetCurrencySymbolicCode() -
isSetCurrencySymbolicCode
public boolean isSetCurrencySymbolicCode()Returns true if field currency_symbolic_code is set (has been assigned a value) and false otherwise -
setCurrencySymbolicCodeIsSet
public void setCurrencySymbolicCodeIsSet(boolean value) -
getPayer
-
setPayer
-
unsetPayer
public void unsetPayer() -
isSetPayer
public boolean isSetPayer()Returns true if field payer is set (has been assigned a value) and false otherwise -
setPayerIsSet
public void setPayerIsSet(boolean value) -
getContext
-
setContext
-
unsetContext
public void unsetContext() -
isSetContext
public boolean isSetContext()Returns true if field context is set (has been assigned a value) and false otherwise -
setContextIsSet
public void setContextIsSet(boolean value) -
getLocationInfo
-
setLocationInfo
-
unsetLocationInfo
public void unsetLocationInfo() -
isSetLocationInfo
public boolean isSetLocationInfo()Returns true if field location_info is set (has been assigned a value) and false otherwise -
setLocationInfoIsSet
public void setLocationInfoIsSet(boolean value) -
getFlow
-
setFlow
-
unsetFlow
public void unsetFlow() -
isSetFlow
public boolean isSetFlow()Returns true if field flow is set (has been assigned a value) and false otherwise -
setFlowIsSet
public void setFlowIsSet(boolean value) -
getShortId
-
setShortId
-
unsetShortId
public void unsetShortId() -
isSetShortId
public boolean isSetShortId()Returns true if field short_id is set (has been assigned a value) and false otherwise -
setShortIdIsSet
public void setShortIdIsSet(boolean value) -
isMakeRecurrent
public boolean isMakeRecurrent() -
setMakeRecurrent
-
unsetMakeRecurrent
public void unsetMakeRecurrent() -
isSetMakeRecurrent
public boolean isSetMakeRecurrent()Returns true if field make_recurrent is set (has been assigned a value) and false otherwise -
setMakeRecurrentIsSet
public void setMakeRecurrentIsSet(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) -
getCart
-
setCart
-
unsetCart
public void unsetCart() -
isSetCart
public boolean isSetCart()Returns true if field cart is set (has been assigned a value) and false otherwise -
setCartIsSet
public void setCartIsSet(boolean value) -
getAdditionalTransactionInfo
-
setAdditionalTransactionInfo
public StatPayment setAdditionalTransactionInfo(AdditionalTransactionInfo additional_transaction_info) -
unsetAdditionalTransactionInfo
public void unsetAdditionalTransactionInfo() -
isSetAdditionalTransactionInfo
public boolean isSetAdditionalTransactionInfo()Returns true if field additional_transaction_info is set (has been assigned a value) and false otherwise -
setAdditionalTransactionInfoIsSet
public void setAdditionalTransactionInfoIsSet(boolean value) -
getExternalId
-
setExternalId
-
unsetExternalId
public void unsetExternalId() -
isSetExternalId
public boolean isSetExternalId()Returns true if field external_id is set (has been assigned a value) and false otherwise -
setExternalIdIsSet
public void setExternalIdIsSet(boolean value) -
getProviderId
-
setProviderId
-
unsetProviderId
public void unsetProviderId() -
isSetProviderId
public boolean isSetProviderId()Returns true if field provider_id is set (has been assigned a value) and false otherwise -
setProviderIdIsSet
public void setProviderIdIsSet(boolean value) -
getTerminalId
-
setTerminalId
-
unsetTerminalId
public void unsetTerminalId() -
isSetTerminalId
public boolean isSetTerminalId()Returns true if field terminal_id is set (has been assigned a value) and false otherwise -
setTerminalIdIsSet
public void setTerminalIdIsSet(boolean value) -
getAllocation
-
setAllocation
-
unsetAllocation
public void unsetAllocation() -
isSetAllocation
public boolean isSetAllocation()Returns true if field allocation is set (has been assigned a value) and false otherwise -
setAllocationIsSet
public void setAllocationIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._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<StatPayment,StatPayment._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<StatPayment>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._Fields>
-
getFields
- Specified by:
getFieldsin interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._Fields>
-
getFieldMetaData
- Specified by:
getFieldMetaDatain interfaceorg.apache.thrift.TBase<StatPayment,StatPayment._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
-