Interface IRecurringTransferService
Assembly: Eco.Gameplay.dll
Syntax
public interface IRecurringTransferService : IController, IViewController, IHasUniversalID, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, INotifyPropertyChanged
Properties
AutoCreateAndUpdateTransferProps
true -> Auto create and update the transfers properties.
false -> Whenever we want to update the transfers properties we should call UpdateTransfers(IRecurringTransferService).
Sometimes we want to update the properties manually to prevent the transfers from being exploited like in RentForProperty.
Declaration
bool AutoCreateAndUpdateTransferProps { get; }
Property Value
Type |
Description |
System.Boolean |
|
Customers
Declaration
IEnumerable<User> Customers { get; }
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<User> |
|
IncomeOrExpense
Declaration
IncomeOrExpense IncomeOrExpense { get; }
Property Value
MarkedUpName
Declaration
LocString MarkedUpName { get; }
Property Value
PayAction
Declaration
RecurringPayment PayAction { get; }
Property Value
RecurringTransferDefinition
Declaration
RecurringTransferDefinition RecurringTransferDefinition { get; }
Property Value
RecurringTransferExcludedDeed
Declaration
Deed RecurringTransferExcludedDeed { get; }
Property Value
RecurringTransfers
Declaration
IList<RecurringTransfer> RecurringTransfers { get; }
Property Value
RecurringTransfersActive
Declaration
bool RecurringTransfersActive { get; }
Property Value
Type |
Description |
System.Boolean |
|
TransferServiceAccount
Declaration
BankAccount TransferServiceAccount { get; }
Property Value
TransfersLock
Declaration
object TransfersLock { get; }
Property Value
Type |
Description |
System.Object |
|
TransferType
Declaration
TransferType TransferType { get; }
Property Value
Methods
OnTransferFailed(RecurringTransfer, LocString)
Declaration
void OnTransferFailed(RecurringTransfer transfer, LocString result)
Parameters
OnTransferPropertiesUpdated()
Whenever customers are added, removed or the active state get changed, this get called to update the transfer properties.
Declaration
virtual void OnTransferPropertiesUpdated()
TransferTitle(User)
Declaration
LocString TransferTitle(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Returns
Extension Methods