///<summary>
            /// Builds an operation
            ///</summary>
            public PaymentOperation Build()
            {
                var operation = new PaymentOperation(destination, asset, amount);

                if (mSourceAccount != null)
                {
                    operation.SourceAccount = mSourceAccount;
                }
                return(operation);
            }
Esempio n. 2
0
            ///<summary>
            /// Builds an operation
            ///</summary>
            public PaymentOperation Build()
            {
                var operation = new PaymentOperation(_destination, _asset, _amount);

                if (_sourceAccount != null)
                {
                    operation.SourceAccount = _sourceAccount;
                }
                return(operation);
            }