Class BasePaymentTypeData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.EntityModel
-
- org.cyclos.model.EntityVO
-
- org.cyclos.model.NamedEntityVO
-
- org.cyclos.model.ConfigurationEntityVO
-
- org.cyclos.model.banking.transactions.AbstractPaymentTypeData
-
- org.cyclos.model.banking.transactions.BasePaymentTypeData
-
- All Implemented Interfaces:
Serializable,Comparable<NamedEntityVO>,IEntity,IInternalNamedEntity,INamedEntity
- Direct Known Subclasses:
PerformPaymentTypeData,RequestPaymentTypeData
public class BasePaymentTypeData extends AbstractPaymentTypeData
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static BasicProperty<Boolean,BasePaymentTypeData>ALLOWS_RECURRING_PAYMENTSstatic StringCLASS_NAMEstatic BasicProperty<Integer,BasePaymentTypeData>MAX_INSTALLMENTS-
Fields inherited from class org.cyclos.model.banking.transactions.AbstractPaymentTypeData
CURRENCY, CUSTOM_FIELDS, DESCRIPTION_AVAILABILITY, FIXED_AMOUNT
-
Fields inherited from class org.cyclos.model.ConfigurationEntityVO
GLOBAL, INTERNAL_NAME
-
Fields inherited from class org.cyclos.model.NamedEntityVO
NAME
-
Fields inherited from class org.cyclos.model.EntityModel
ID
-
-
Constructor Summary
Constructors Constructor Description BasePaymentTypeData()BasePaymentTypeData(Long id)BasePaymentTypeData(Property<T,? super BasePaymentTypeData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()intgetMaxInstallments()booleanisAllowsRecurringPayments()voidsetAllowsRecurringPayments(boolean allowsRecurringPayments)voidsetMaxInstallments(int maxInstallments)-
Methods inherited from class org.cyclos.model.banking.transactions.AbstractPaymentTypeData
getCurrency, getCustomFields, getDescriptionAvailability, getFixedAmount, setCurrency, setCustomFields, setDescriptionAvailability, setFixedAmount
-
Methods inherited from class org.cyclos.model.ConfigurationEntityVO
getInternalName, isGlobal, setGlobal, setInternalName
-
Methods inherited from class org.cyclos.model.NamedEntityVO
compareTo, getName, setName, toString
-
Methods inherited from class org.cyclos.model.EntityModel
getId, setId
-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.cyclos.model.IInternalNamedEntity
matches
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ALLOWS_RECURRING_PAYMENTS
public static final BasicProperty<Boolean,BasePaymentTypeData> ALLOWS_RECURRING_PAYMENTS
-
MAX_INSTALLMENTS
public static final BasicProperty<Integer,BasePaymentTypeData> MAX_INSTALLMENTS
-
-
Constructor Detail
-
BasePaymentTypeData
public BasePaymentTypeData()
-
BasePaymentTypeData
public BasePaymentTypeData(Long id)
-
BasePaymentTypeData
public BasePaymentTypeData(Property<T,? super BasePaymentTypeData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classAbstractPaymentTypeData
-
isAllowsRecurringPayments
public boolean isAllowsRecurringPayments()
-
setAllowsRecurringPayments
public void setAllowsRecurringPayments(boolean allowsRecurringPayments)
-
getMaxInstallments
public int getMaxInstallments()
-
setMaxInstallments
public void setMaxInstallments(int maxInstallments)
-
-