Class ReceivePaymentData
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.banking.transactions.ReceivePaymentData
-
- All Implemented Interfaces:
Serializable,HasPrincipalTypeInputs,HasPrincipalTypeInputsWithIdMethods
public class ReceivePaymentData extends Bean implements HasPrincipalTypeInputsWithIdMethods
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ListProperty<AccountWithCurrencyVO,ReceivePaymentData>ACCOUNTSstatic BasicProperty<Boolean,ReceivePaymentData>ALLOW_AUTOCOMPLETEstatic BasicProperty<Boolean,ReceivePaymentData>ALLOW_CONTACTSstatic BasicProperty<Boolean,ReceivePaymentData>ALLOW_SCAN_QR_CODEstatic StringCLASS_NAMEstatic BasicProperty<IdentificationMethod,ReceivePaymentData>DEFAULT_ID_METHODstatic BasicProperty<PrincipalTypeInputVO,ReceivePaymentData>DEFAULT_PRINCIPAL_TYPEstatic ListProperty<TransferTypeWithCurrencyVO,ReceivePaymentData>PAYMENT_TYPESstatic ListProperty<PrincipalTypeInputVO,ReceivePaymentData>PRINCIPAL_TYPES
-
Constructor Summary
Constructors Constructor Description ReceivePaymentData()ReceivePaymentData(Property<T,? super ReceivePaymentData> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()List<AccountWithCurrencyVO>getAccounts()IdentificationMethodgetDefaultIdMethod()PrincipalTypeInputVOgetDefaultPrincipalType()List<TransferTypeWithCurrencyVO>getPaymentTypes()List<PrincipalTypeInputVO>getPrincipalTypes()booleanisAllowAutocomplete()booleanisAllowContacts()booleanisAllowScanQrCode()voidsetAccounts(List<AccountWithCurrencyVO> accounts)voidsetAllowAutocomplete(boolean allowAutocomplete)voidsetAllowContacts(boolean allowContacts)voidsetAllowScanQrCode(boolean allowScanQrCode)voidsetDefaultIdMethod(IdentificationMethod defaultIdMethod)voidsetDefaultPrincipalType(PrincipalTypeInputVO defaultPrincipalType)voidsetPaymentTypes(List<TransferTypeWithCurrencyVO> paymentTypes)voidsetPrincipalTypes(List<PrincipalTypeInputVO> principalTypes)-
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
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
ACCOUNTS
public static final ListProperty<AccountWithCurrencyVO,ReceivePaymentData> ACCOUNTS
-
ALLOW_AUTOCOMPLETE
public static final BasicProperty<Boolean,ReceivePaymentData> ALLOW_AUTOCOMPLETE
-
ALLOW_CONTACTS
public static final BasicProperty<Boolean,ReceivePaymentData> ALLOW_CONTACTS
-
ALLOW_SCAN_QR_CODE
public static final BasicProperty<Boolean,ReceivePaymentData> ALLOW_SCAN_QR_CODE
-
DEFAULT_ID_METHOD
public static final BasicProperty<IdentificationMethod,ReceivePaymentData> DEFAULT_ID_METHOD
-
DEFAULT_PRINCIPAL_TYPE
public static final BasicProperty<PrincipalTypeInputVO,ReceivePaymentData> DEFAULT_PRINCIPAL_TYPE
-
PAYMENT_TYPES
public static final ListProperty<TransferTypeWithCurrencyVO,ReceivePaymentData> PAYMENT_TYPES
-
PRINCIPAL_TYPES
public static final ListProperty<PrincipalTypeInputVO,ReceivePaymentData> PRINCIPAL_TYPES
-
-
Constructor Detail
-
ReceivePaymentData
public ReceivePaymentData()
-
ReceivePaymentData
public ReceivePaymentData(Property<T,? super ReceivePaymentData> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getAccounts
public List<AccountWithCurrencyVO> getAccounts()
-
setAccounts
public void setAccounts(List<AccountWithCurrencyVO> accounts)
-
isAllowAutocomplete
public boolean isAllowAutocomplete()
- Specified by:
isAllowAutocompletein interfaceHasPrincipalTypeInputsWithIdMethods
-
setAllowAutocomplete
public void setAllowAutocomplete(boolean allowAutocomplete)
- Specified by:
setAllowAutocompletein interfaceHasPrincipalTypeInputsWithIdMethods
-
isAllowContacts
public boolean isAllowContacts()
- Specified by:
isAllowContactsin interfaceHasPrincipalTypeInputsWithIdMethods
-
setAllowContacts
public void setAllowContacts(boolean allowContacts)
- Specified by:
setAllowContactsin interfaceHasPrincipalTypeInputsWithIdMethods
-
isAllowScanQrCode
public boolean isAllowScanQrCode()
-
setAllowScanQrCode
public void setAllowScanQrCode(boolean allowScanQrCode)
-
getDefaultIdMethod
public IdentificationMethod getDefaultIdMethod()
- Specified by:
getDefaultIdMethodin interfaceHasPrincipalTypeInputsWithIdMethods
-
setDefaultIdMethod
public void setDefaultIdMethod(IdentificationMethod defaultIdMethod)
- Specified by:
setDefaultIdMethodin interfaceHasPrincipalTypeInputsWithIdMethods
-
getDefaultPrincipalType
public PrincipalTypeInputVO getDefaultPrincipalType()
- Specified by:
getDefaultPrincipalTypein interfaceHasPrincipalTypeInputs
-
setDefaultPrincipalType
public void setDefaultPrincipalType(PrincipalTypeInputVO defaultPrincipalType)
- Specified by:
setDefaultPrincipalTypein interfaceHasPrincipalTypeInputs
-
getPaymentTypes
public List<TransferTypeWithCurrencyVO> getPaymentTypes()
-
setPaymentTypes
public void setPaymentTypes(List<TransferTypeWithCurrencyVO> paymentTypes)
-
getPrincipalTypes
public List<PrincipalTypeInputVO> getPrincipalTypes()
- Specified by:
getPrincipalTypesin interfaceHasPrincipalTypeInputs
-
setPrincipalTypes
public void setPrincipalTypes(List<PrincipalTypeInputVO> principalTypes)
- Specified by:
setPrincipalTypesin interfaceHasPrincipalTypeInputs
-
-