3using System.Collections.Generic;
4using System.Threading.Tasks;
12 internal class BuyEDalerTransaction : PaymentTransaction
32 public BuyEDalerTransaction(Guid
Id,
string ServiceId,
34 string SuccessUrl,
string FailureUrl,
string CancelUrl,
string TabId,
37 Dictionary<CaseInsensitiveString, object> ContractParameters,
38 Dictionary<CaseInsensitiveString, CaseInsensitiveString> IdParameters)
40 FailureUrl, CancelUrl, TabId, FunctionName, UserName, Service,
41 LegalId, ContractParameters, IdParameters)
49 protected override async Task<bool> DoExecute()
52 this.Amount, this.Currency, this.SuccessUrl, this.FailureUrl, this.CancelUrl,
54 this.contractParameters,
this.idParameters,
this.Id.ToString(),
57 this.ClientUrl = e2.Url;
58 await this.PushToClient();
Result of request payment.
bool Ok
If payment was successful or not.
Contains information about a service provider.
Represents a case-insensitive string.
Service Module hosting the XMPP broker and its components.
Interface for information about a service provider that users can use to buy eDaler.