iVend Addon - Get payment attribute

class PaymentModule : TransactionPaymentModuleBase

    {

       TransactionPayment m_Payment = null;

        PaymentDetailEntryView paymentDetailEntryView;

        public override void OnBeforeAddPayment(object sender, 

                                               Retail.Extensibility.EventArgs<SubSystem.Transaction.Transaction, 

                                                SubSystem.Transaction.TransactionPayment> args)

        {

           MessageBox.Show(paymentDetailEntryView.m_PaymentInfoVGrid.Rows["m_EditorRowAmount"].Properties.Value.ToString());

            m_Payment = args.ChildItem;

            base.OnBeforeAddPayment(sender, args);

        }

Để lại một bình luận