Beispiel #1
0
 /// <summary>
 /// default constructor for the class, initializes the required properties
 /// </summary>
 /// <param name="id"><see cref="Id"></see></param>
 /// <param name="password"><see cref="Password"></see></param>
 /// <param name="action"><see cref="Action"></see></param>
 /// <param name="amount"><see cref="Amount"></see></param>
 /// <param name="language"><see cref="Language"></see></param>
 /// <param name="responseURL"><see cref="ResponseURL" /></param>
 /// <param name="errorURL"><see cref="ErrorURL" /></param>
 /// <param name="trackId"><see cref="TrackId" /></param>
 /// <param name="currency"><see cref="Currency" /></param>
 /// <param name="udf1"><see cref="Udf1" /></param>
 /// <param name="udf2"><see cref="Udf2" /></param>
 /// <param name="udf3"><see cref="Udf3" /></param>
 /// <param name="udf4"><see cref="Udf4" /></param>
 /// <param name="udf5"><see cref="Udf5" /></param>
 public PaymentInitMessage(
     string id,
     string password,
     RequiredAction action,
     double amount,
     RequiredLanguage language,
     Uri responseURL,
     Uri errorURL,
     string trackId,
     int currency = 978,
     string udf1  = "",
     string udf2  = "",
     string udf3  = "",
     string udf4  = "",
     string udf5  = ""
     )
 {
     this.Id             = id;
     this.Password       = password;
     this.RequiredAction = action;
     this.Amount         = amount;
     this.ResponseURL    = responseURL;
     this.TrackId        = trackId;
     this.Udf1           = udf1;
     this.Udf2           = udf2;
     this.Udf3           = udf3;
     this.Udf4           = udf4;
     this.Udf5           = udf5;
     this.Currency       = currency;
     this.ErrorURL       = errorURL;
     this.Language       = language;
 }
 public Frame(Frame other)
 {
     mCharImage      = other.mCharImage;
     mBoxAnchor      = other.mBoxAnchor;
     mBoxSize        = other.mBoxSize;
     mText           = other.mText;
     mFocusRect      = other.mFocusRect;
     mRectType       = other.mRectType;
     mNextButton     = other.mNextButton;
     mContextualHelp = other.mContextualHelp;
     mAction         = other.mAction;
 }
		/// <summary>
		/// default constructor for the class, initializes the required properties
		/// </summary>
		/// <param name="id"><see cref="Id"></see></param>
		/// <param name="password"><see cref="Password"></see></param>
		/// <param name="action"><see cref="Action"></see></param>
		/// <param name="amount"><see cref="Amount"></see></param>
		/// <param name="language"><see cref="Language"></see></param>
		/// <param name="responseURL"><see cref="ResponseURL" /></param>
		/// <param name="errorURL"><see cref="ErrorURL" /></param>
		/// <param name="trackId"><see cref="TrackId" /></param>
		/// <param name="currency"><see cref="Currency" /></param>
		/// <param name="udf1"><see cref="Udf1" /></param>
		/// <param name="udf2"><see cref="Udf2" /></param>
		/// <param name="udf3"><see cref="Udf3" /></param>
		/// <param name="udf4"><see cref="Udf4" /></param>
		/// <param name="udf5"><see cref="Udf5" /></param>
		public PaymentInitMessage(
			string id,
			string password,
			RequiredAction action,
			double amount,
			RequiredLanguage language,
			Uri responseURL,
			Uri errorURL,
			string trackId,
			int currency=978,
			string udf1="",
			string udf2="",
			string udf3="",
			string udf4="",
			string udf5=""
		)
		{
			this.Id = id;
			this.Password = password;
			this.RequiredAction = action;
			this.Amount = amount;
			this.ResponseURL = responseURL;
			this.TrackId = trackId;
			this.Udf1 = udf1;
			this.Udf2 = udf2;
			this.Udf3 = udf3;
			this.Udf4 = udf4;
			this.Udf5 = udf5;
			this.Currency = currency;
			this.ErrorURL = errorURL;
			this.Language = language;
		}