Exemplo n.º 1
0
 public PayUrlUpdateInfo(string name, string currency, TransactionSpeed transactionSpeed = TransactionSpeed.Medium, PayUrlExpiry urlExpiry = PayUrlExpiry.None, long?orderId = null, decimal?orderprice = null, string description = null, string notificationemail = null, string notificationUrl = null, string redirecturl = null)
 {
     this.UrlName           = name;
     this.OrderCurrency     = currency;
     this.TransactionSpeed  = transactionSpeed;
     this.UrlExpiry         = urlExpiry;
     this.OrderId           = orderId;
     this.OrderPrice        = orderprice;
     this.NotificationEmail = notificationemail;
     this.NotificationUrl   = notificationUrl;
     this.RedirectUrl       = redirecturl;
 }
Exemplo n.º 2
0
 public AccountUpdateInfo(string name = null, string website = null, string mail = null, string currency = null, string cryptocurrency = null, TransactionSpeed transactionSpeed = default, string notificationUrl = null)
 {
     this.Name             = name;
     this.Website          = website;
     this.Email            = mail;
     this.Currency         = currency;
     this.Cryptocurrency   = cryptocurrency;
     this.TransactionSpeed = transactionSpeed;
     this.NotificationUrl  = notificationUrl;
 }
Exemplo n.º 3
0
        public InvoiceCreationInfo(decimal price, string currency, long?orderId = null, string description = null, TransactionSpeed trxSpeed = TransactionSpeed.Medium, string notificationEmail = null, string notificationUrl = null, string redirectUrl = null)
        {
            this.OrderPrice        = price;
            this.OrderCurrency     = currency;
            this.OrderId           = orderId;
            this.OrderDescription  = description;
            this.TransactionSpeed  = trxSpeed;
            this.NotificationEmail = notificationEmail;
            this.NotificationUrl   = notificationUrl;
            this.RedirectUrl       = redirectUrl;

            if (!string.IsNullOrWhiteSpace(this.RedirectUrl))
            {
                this.Redirect = true;
            }
            else
            {
                this.Redirect = null;
            }
        }
Exemplo n.º 4
0
 public PayUrlCreationInfo(string name, string currency, TransactionSpeed transactionSpeed = TransactionSpeed.Medium, PayUrlExpiry urlExpiry = PayUrlExpiry.None, long?orderId = null, decimal?orderprice = null, string description = null, string notificationemail = null, string notificationUrl = null, string redirecturl = null) :
     base(name, currency, transactionSpeed, urlExpiry, orderId, orderprice, description, notificationemail, notificationUrl, redirecturl)
 {
 }