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