示例#1
0
            public PayloadData(CompletionCodeEnum CompletionCode, string ErrorDescription, ErrorCodeEnum?ErrorCode = null, Track1Class Track1 = null, Track2Class Track2 = null, Track3Class Track3 = null, List <ChipClass> Chip = null, SecurityClass Security = null, WatermarkClass Watermark = null, MemoryChipClass MemoryChip = null, Track1FrontClass Track1Front = null, FrontImageClass FrontImage = null, BackImageClass BackImage = null, Track1JISClass Track1JIS = null, Track3JISClass Track3JIS = null, DdiClass Ddi = null)
                : base(CompletionCode, ErrorDescription)
            {
                ErrorDescription.IsNotNullOrWhitespace($"Null or an empty value for {nameof(ErrorDescription)} in received {nameof(ReadRawDataCompletion.PayloadData)}");

                this.ErrorCode   = ErrorCode;
                this.Track1      = Track1;
                this.Track2      = Track2;
                this.Track3      = Track3;
                this.Chip        = Chip;
                this.Security    = Security;
                this.Watermark   = Watermark;
                this.MemoryChip  = MemoryChip;
                this.Track1Front = Track1Front;
                this.FrontImage  = FrontImage;
                this.BackImage   = BackImage;
                this.Track1JIS   = Track1JIS;
                this.Track3JIS   = Track3JIS;
                this.Ddi         = Ddi;
            }
示例#2
0
            public PayloadData(CompletionCodeEnum CompletionCode, string ErrorDescription, ErrorCodeEnum?ErrorCode = null, Track1Class Track1 = null, Track2Class Track2 = null, Track3Class Track3 = null, ChipClass Chip = null)
                : base(CompletionCode, ErrorDescription)
            {
                ErrorDescription.IsNotNullOrWhitespace($"Null or an empty value for {nameof(ErrorDescription)} in received {nameof(EMVClessPerformTransactionCompletion.PayloadData)}");

                this.ErrorCode = ErrorCode;
                this.Track1    = Track1;
                this.Track2    = Track2;
                this.Track3    = Track3;
                this.Chip      = Chip;
            }