Beispiel #1
0
        /// <summary>
        ///     Copy Constructor
        /// </summary>
        /// <param name="currentPmtState">Current PaymentState Object.</param>
        /// <remarks>This is an abstract class, creating an object of PaymentState directly is not possible.</remarks>
        public PaymentState(PaymentState currentPmtState)
        {
            Logger.Instance.Log(
                "PayPal.Payments.Communication.PaymentState.PaymentState(PaymentState CurrentPmtState): Entered.",
                PayflowConstants.SeverityDebug);

            DefaultXmlNameSpace        = PayflowConstants.XmlpayNamespace;
            Connection                 = currentPmtState.Connection;
            ParameterList              = currentPmtState.ParameterList;
            TransactionRequest         = currentPmtState.TransactionRequest;
            TransactionResponse        = currentPmtState.TransactionResponse;
            Connection.RequestId       = currentPmtState.Connection.RequestId;
            Connection.IsXmlPayRequest = currentPmtState.Connection.IsXmlPayRequest;
            MAttemptNo                 = currentPmtState.AttemptNo;
            DefaultXmlNameSpace        = currentPmtState.DefaultXmlNameSpace;
            _pfProXmlNameSpace         = currentPmtState.XmlNameSpace;
            _mContentType              = currentPmtState.ContentType;
            CommContext                = currentPmtState.CommContext;
            Logger.Instance.Log(
                "PayPal.Payments.Communication.PaymentState.PaymentState(PaymentState CurrentPmtState): Exiting.",
                PayflowConstants.SeverityDebug);
        }
Beispiel #2
0
 /// <summary>
 ///     Copy constructor for TransactionReceiveState.
 /// </summary>
 /// <param name="currentPaymentState">Current Payment State object.</param>
 public TransactionReceiveState(PaymentState currentPaymentState) : base(currentPaymentState)
 {
 }
 /// <summary>
 ///     Copy Constructor for ReconnectState.
 /// </summary>
 /// <param name="currentPmtState">Current Payment State.</param>
 public ReconnectState(PaymentState currentPmtState) : base(currentPmtState)
 {
 }
 /// <summary>
 ///     Copy constructor for TransactionSendState.
 /// </summary>
 /// <param name="currentPaymentState">Current Payment State object.</param>
 public TransactionSendState(PaymentState currentPaymentState) : base(currentPaymentState)
 {
 }
Beispiel #5
0
 /// <summary>
 ///     Copy Constructor for RecieveState.
 /// </summary>
 /// <param name="currentPmtState">Current Payment State.</param>
 public ReceiveState(PaymentState currentPmtState) : base(currentPmtState)
 {
 }
 /// <summary>
 ///     Copy constructor for SendState.
 /// </summary>
 /// <param name="currentPaymentState">Current Payment State object.</param>
 public SendState(PaymentState currentPaymentState) : base(currentPaymentState)
 {
 }
Beispiel #7
0
 /// <summary>
 ///     Copy Constructor for RetryState.
 /// </summary>
 /// <param name="currentPmtState">Current Payment State.</param>
 public RetryState(PaymentState currentPmtState) : base(currentPmtState)
 {
 }
 /// <summary>
 ///     Copy Constructor for InitState.
 /// </summary>
 /// <param name="currentPaymentState">PaymentState Object.</param>
 public InitState(PaymentState currentPaymentState) : base(currentPaymentState)
 {
 }