コード例 #1
0
        public override IDictionary <PaymentType, string> GetPaymentTypeMappings()
        {
            var paymentTypeMappings = new Dictionary <PaymentType, string> {
                { PaymentType.Cash, "0" },
                { PaymentType.Card, "1" },
                { PaymentType.Check, "2" }
            };

            ServiceOptions.RemapPaymentTypes(Info.SerialNumber, paymentTypeMappings);
            return(paymentTypeMappings);
        }
コード例 #2
0
        public override IDictionary <PaymentType, string> GetPaymentTypeMappings()
        {
            var paymentTypeMappings = new Dictionary <PaymentType, string> {
                { PaymentType.Cash, "P" },
                { PaymentType.Check, "N" },
                { PaymentType.Coupons, "C" },
                { PaymentType.ExtCoupons, "D" },
                { PaymentType.Packaging, "I" },
                { PaymentType.InternalUsage, "J" },
                { PaymentType.Damage, "K" },
                { PaymentType.Card, "L" },
                { PaymentType.Bank, "M" },
                { PaymentType.Reserved1, "Q" },
                { PaymentType.Reserved2, "R" }
            };

            ServiceOptions.RemapPaymentTypes(Info.SerialNumber, paymentTypeMappings);
            return(paymentTypeMappings);
        }
コード例 #3
0
        public override IDictionary <PaymentType, string> GetPaymentTypeMappings()
        {
            var paymentTypeMappings = new Dictionary <PaymentType, string> {
                { PaymentType.Cash, "0" },
                { PaymentType.Check, "1" },
                { PaymentType.Coupons, "2" },
                { PaymentType.ExtCoupons, "3" },
                { PaymentType.Packaging, "4" },
                { PaymentType.InternalUsage, "5" },
                { PaymentType.Damage, "6" },
                { PaymentType.Card, "7" },
                { PaymentType.Bank, "8" },
                { PaymentType.Reserved1, "9" },
                { PaymentType.Reserved2, "A" }
            };

            ServiceOptions.RemapPaymentTypes(Info.SerialNumber, paymentTypeMappings);
            return(paymentTypeMappings);
        }