Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ISellEDalerService.cs
2using System.Threading.Tasks;
3using Waher.Events;
6
7namespace Paiwise
8{
13 public interface ISellEDalerService : IServiceProvider, IProcessingSupport<CaseInsensitiveString>
14 {
19
24
31 Task<bool> CanSellEDaler(CaseInsensitiveString AccountName);
32
49 Task<PaymentResult> SellEDaler(IDictionary<CaseInsensitiveString, object> ContractParameters,
50 IDictionary<CaseInsensitiveString, CaseInsensitiveString> IdentityProperties,
51 decimal Amount, string Currency, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync<ClientUrlEventArgs> ClientUrlCallback, object State);
52
65 Task<IDictionary<CaseInsensitiveString, object>[]> GetPaymentOptionsForSellingEDaler(
66 IDictionary<CaseInsensitiveString, CaseInsensitiveString> IdentityProperties,
67 string SuccessUrl, string FailureUrl, string CancelUrl,
68 EventHandlerAsync<ClientUrlEventArgs> ClientUrlCallback, object State);
69 }
70}
Contains information about a service provider that users can use to sell eDaler.
Represents a case-insensitive string.
Interface for information about a service provider that users can use to sell eDaler.
Task< bool > CanSellEDaler(CaseInsensitiveString AccountName)
If the service provider can be used to process a request to sell eDaler of a certain amount,...
string SellEDalerTemplateContractId
Contract ID of Template, for selling e-Daler
Task< PaymentResult > SellEDaler(IDictionary< CaseInsensitiveString, object > ContractParameters, IDictionary< CaseInsensitiveString, CaseInsensitiveString > IdentityProperties, decimal Amount, string Currency, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< ClientUrlEventArgs > ClientUrlCallback, object State)
Processes payment for selling eDaler.
Task< IDictionary< CaseInsensitiveString, object >[]> GetPaymentOptionsForSellingEDaler(IDictionary< CaseInsensitiveString, CaseInsensitiveString > IdentityProperties, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< ClientUrlEventArgs > ClientUrlCallback, object State)
Gets available payment options for selling eDaler.
Interface for information about a service provider that users can use to sell eDaler.
Interface for information about a service provider.
Interface for detecting interfaces supporting objects with predefined features.