protected void ToString(List <string> toStringOutput) { toStringOutput.Add($"Status = {(Status == null ? "null" : Status == string.Empty ? "" : Status)}"); toStringOutput.Add($"Card = {(Card == null ? "null" : Card.ToString())}"); toStringOutput.Add($"EntryMethod = {(EntryMethod == null ? "null" : EntryMethod == string.Empty ? "" : EntryMethod)}"); toStringOutput.Add($"CvvStatus = {(CvvStatus == null ? "null" : CvvStatus == string.Empty ? "" : CvvStatus)}"); toStringOutput.Add($"AvsStatus = {(AvsStatus == null ? "null" : AvsStatus == string.Empty ? "" : AvsStatus)}"); toStringOutput.Add($"AuthResultCode = {(AuthResultCode == null ? "null" : AuthResultCode == string.Empty ? "" : AuthResultCode)}"); toStringOutput.Add($"ApplicationIdentifier = {(ApplicationIdentifier == null ? "null" : ApplicationIdentifier == string.Empty ? "" : ApplicationIdentifier)}"); toStringOutput.Add($"ApplicationName = {(ApplicationName == null ? "null" : ApplicationName == string.Empty ? "" : ApplicationName)}"); toStringOutput.Add($"ApplicationCryptogram = {(ApplicationCryptogram == null ? "null" : ApplicationCryptogram == string.Empty ? "" : ApplicationCryptogram)}"); toStringOutput.Add($"VerificationMethod = {(VerificationMethod == null ? "null" : VerificationMethod == string.Empty ? "" : VerificationMethod)}"); toStringOutput.Add($"VerificationResults = {(VerificationResults == null ? "null" : VerificationResults == string.Empty ? "" : VerificationResults)}"); toStringOutput.Add($"StatementDescription = {(StatementDescription == null ? "null" : StatementDescription == string.Empty ? "" : StatementDescription)}"); toStringOutput.Add($"DeviceDetails = {(DeviceDetails == null ? "null" : DeviceDetails.ToString())}"); toStringOutput.Add($"CardPaymentTimeline = {(CardPaymentTimeline == null ? "null" : CardPaymentTimeline.ToString())}"); toStringOutput.Add($"RefundRequiresCardPresence = {(RefundRequiresCardPresence == null ? "null" : RefundRequiresCardPresence.ToString())}"); toStringOutput.Add($"Errors = {(Errors == null ? "null" : $"[{ string.Join(", ", Errors)} ]")}"); }
protected void ToString(List <string> toStringOutput) { toStringOutput.Add($"Status = {(Status == null ? "null" : Status.ToString())}"); toStringOutput.Add($"Card = {(Card == null ? "null" : Card.ToString())}"); toStringOutput.Add($"EntryMethod = {(EntryMethod == null ? "null" : EntryMethod.ToString())}"); }