public QMPStudent(java.lang.Object paramObj, QMPExtendedSoapSerializationEnvelope __envelope) { if (paramObj == null) return; AttributeContainer inObj = (AttributeContainer) paramObj; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("FullName")) { java.lang.Object obj = soapObject.getProperty("FullName"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.FullName = j.toString(); } } else if (obj != null && obj instanceof String) { this.FullName = (String) obj; } } if (soapObject.hasProperty("StudentId")) { java.lang.Object obj = soapObject.getProperty("StudentId"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.StudentId = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.StudentId = (Integer) obj; } } }
public BSBBiometricSignatureVerification( java.lang.Object paramObj, BSBExtendedSoapSerializationEnvelope __envelope) { if (paramObj == null) return; AttributeContainer inObj = (AttributeContainer) paramObj; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("dssResult")) { java.lang.Object j = soapObject.getProperty("dssResult"); this.dssResult = (BSBSignatureVerification) __envelope.get(j, BSBSignatureVerification.class); } if (soapObject.hasProperty("result")) { java.lang.Object obj = soapObject.getProperty("result"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.result = BSBEnums.BiometricVerificationResult.fromString(j.toString()); } } else if (obj != null && obj instanceof BSBEnums.BiometricVerificationResult) { this.result = (BSBEnums.BiometricVerificationResult) obj; } } if (soapObject.hasProperty("signatures")) { java.lang.Object j = soapObject.getProperty("signatures"); this.signatures = new BSBArrayOfBiometricSignatureReference(j, __envelope); } }
public PosCheckSaleReqType(AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("Block1")) { Object j = soapObject.getProperty("Block1"); this.Block1 = (CheckSaleReqBlock1Type) envelope.get(j, CheckSaleReqBlock1Type.class); } }
public PosGiftCardSaleRspType( AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("RspCode")) { Object obj = soapObject.getProperty("RspCode"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.RspCode = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.RspCode = (Integer) obj; } } if (soapObject.hasProperty("RspText")) { Object obj = soapObject.getProperty("RspText"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.RspText = j.toString(); } } else if (obj != null && obj instanceof String) { this.RspText = (String) obj; } } if (soapObject.hasProperty("AuthCode")) { Object obj = soapObject.getProperty("AuthCode"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.AuthCode = j.toString(); } } else if (obj != null && obj instanceof String) { this.AuthCode = (String) obj; } } if (soapObject.hasProperty("BalanceAmt")) { Object obj = soapObject.getProperty("BalanceAmt"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.BalanceAmt = new BigDecimal(j.toString()); } } else if (obj != null && obj instanceof BigDecimal) { this.BalanceAmt = (BigDecimal) obj; } } if (soapObject.hasProperty("SplitTenderCardAmt")) { Object obj = soapObject.getProperty("SplitTenderCardAmt"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.SplitTenderCardAmt = new BigDecimal(j.toString()); } } else if (obj != null && obj instanceof BigDecimal) { this.SplitTenderCardAmt = (BigDecimal) obj; } } if (soapObject.hasProperty("SplitTenderBalanceDueAmt")) { Object obj = soapObject.getProperty("SplitTenderBalanceDueAmt"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.SplitTenderBalanceDueAmt = new BigDecimal(j.toString()); } } else if (obj != null && obj instanceof BigDecimal) { this.SplitTenderBalanceDueAmt = (BigDecimal) obj; } } if (soapObject.hasProperty("PointsBalanceAmt")) { Object obj = soapObject.getProperty("PointsBalanceAmt"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.PointsBalanceAmt = new BigDecimal(j.toString()); } } else if (obj != null && obj instanceof BigDecimal) { this.PointsBalanceAmt = (BigDecimal) obj; } } if (soapObject.hasProperty("Rewards")) { Object obj = soapObject.getProperty("Rewards"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.Rewards = j.toString(); } } else if (obj != null && obj instanceof String) { this.Rewards = (String) obj; } } if (soapObject.hasProperty("Notes")) { Object obj = soapObject.getProperty("Notes"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.Notes = j.toString(); } } else if (obj != null && obj instanceof String) { this.Notes = (String) obj; } } }
public CheckSaleReqBlock1Type( AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("CheckAction")) { Object obj = soapObject.getProperty("CheckAction"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.CheckAction = Enums.checkActionType.fromString(j.toString()); } } else if (obj != null && obj instanceof Enums.checkActionType) { this.CheckAction = (Enums.checkActionType) obj; } } if (soapObject.hasProperty("AccountInfo")) { Object j = soapObject.getProperty("AccountInfo"); this.AccountInfo = (AccountInfoType) envelope.get(j, AccountInfoType.class); } if (soapObject.hasProperty("DataEntryMode")) { Object obj = soapObject.getProperty("DataEntryMode"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DataEntryMode = Enums.dataEntryModeType.fromString(j.toString()); } } else if (obj != null && obj instanceof Enums.dataEntryModeType) { this.DataEntryMode = (Enums.dataEntryModeType) obj; } } if (soapObject.hasProperty("CheckType")) { Object obj = soapObject.getProperty("CheckType"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.CheckType = Enums.checkTypeType.fromString(j.toString()); } } else if (obj != null && obj instanceof Enums.checkTypeType) { this.CheckType = (Enums.checkTypeType) obj; } } if (soapObject.hasProperty("VerifyInfo")) { Object j = soapObject.getProperty("VerifyInfo"); this.VerifyInfo = (VerifyInfoType) envelope.get(j, VerifyInfoType.class); } if (soapObject.hasProperty("Amt")) { Object obj = soapObject.getProperty("Amt"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.Amt = new BigDecimal(j.toString()); } } else if (obj != null && obj instanceof BigDecimal) { this.Amt = (BigDecimal) obj; } } if (soapObject.hasProperty("SECCode")) { Object obj = soapObject.getProperty("SECCode"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.SECCode = j.toString(); } } else if (obj != null && obj instanceof String) { this.SECCode = (String) obj; } } if (soapObject.hasProperty("ConsumerInfo")) { Object j = soapObject.getProperty("ConsumerInfo"); this.ConsumerInfo = (ConsumerInfoType) envelope.get(j, ConsumerInfoType.class); } if (soapObject.hasProperty("AdditionalTxnFields")) { Object j = soapObject.getProperty("AdditionalTxnFields"); this.AdditionalTxnFields = (AdditionalTxnFieldsType) envelope.get(j, AdditionalTxnFieldsType.class); } if (soapObject.hasProperty("PaymentMethodKey")) { Object obj = soapObject.getProperty("PaymentMethodKey"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.PaymentMethodKey = j.toString(); } } else if (obj != null && obj instanceof String) { this.PaymentMethodKey = (String) obj; } } if (soapObject.hasProperty("RecurringData")) { Object j = soapObject.getProperty("RecurringData"); this.RecurringData = (RecurringDataType) envelope.get(j, RecurringDataType.class); } if (soapObject.hasProperty("TokenValue")) { Object obj = soapObject.getProperty("TokenValue"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.TokenValue = j.toString(); } } else if (obj != null && obj instanceof String) { this.TokenValue = (String) obj; } } }
public DebitReturnReqBlock1Type( AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("GatewayTxnId")) { Object obj = soapObject.getProperty("GatewayTxnId"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.GatewayTxnId = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.GatewayTxnId = (Integer) obj; } } if (soapObject.hasProperty("TrackData")) { Object obj = soapObject.getProperty("TrackData"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.TrackData = j.toString(); } } else if (obj != null && obj instanceof String) { this.TrackData = (String) obj; } } if (soapObject.hasProperty("Amt")) { Object obj = soapObject.getProperty("Amt"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.Amt = new BigDecimal(j.toString()); } } else if (obj != null && obj instanceof BigDecimal) { this.Amt = (BigDecimal) obj; } } if (soapObject.hasProperty("PinBlock")) { Object obj = soapObject.getProperty("PinBlock"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.PinBlock = j.toString(); } } else if (obj != null && obj instanceof String) { this.PinBlock = (String) obj; } } if (soapObject.hasProperty("TokenValue")) { Object obj = soapObject.getProperty("TokenValue"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.TokenValue = j.toString(); } } else if (obj != null && obj instanceof String) { this.TokenValue = (String) obj; } } if (soapObject.hasProperty("CardHolderData")) { Object j = soapObject.getProperty("CardHolderData"); this.CardHolderData = (CardHolderDataType) envelope.get(j, CardHolderDataType.class); } if (soapObject.hasProperty("AllowDup")) { Object obj = soapObject.getProperty("AllowDup"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.AllowDup = Enums.booleanType.fromString(j.toString()); } } else if (obj != null && obj instanceof Enums.booleanType) { this.AllowDup = (Enums.booleanType) obj; } } if (soapObject.hasProperty("EncryptionData")) { Object j = soapObject.getProperty("EncryptionData"); this.EncryptionData = (EncryptionDataType) envelope.get(j, EncryptionDataType.class); } if (soapObject.hasProperty("AdditionalTxnFields")) { Object j = soapObject.getProperty("AdditionalTxnFields"); this.AdditionalTxnFields = (AdditionalTxnFieldsType) envelope.get(j, AdditionalTxnFieldsType.class); } }
public DeviceType(AttributeContainer inObj, ExtendedSoapSerializationEnvelope envelope) { if (inObj == null) return; SoapObject soapObject = (SoapObject) inObj; if (soapObject.hasProperty("DeviceId")) { Object obj = soapObject.getProperty("DeviceId"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DeviceId = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.DeviceId = (Integer) obj; } } if (soapObject.hasProperty("IndustryCode")) { Object obj = soapObject.getProperty("IndustryCode"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.IndustryCode = j.toString(); } } else if (obj != null && obj instanceof String) { this.IndustryCode = (String) obj; } } if (soapObject.hasProperty("DeviceTypeId")) { Object obj = soapObject.getProperty("DeviceTypeId"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DeviceTypeId = Integer.parseInt(j.toString()); } } else if (obj != null && obj instanceof Integer) { this.DeviceTypeId = (Integer) obj; } } if (soapObject.hasProperty("DeviceDescription")) { Object obj = soapObject.getProperty("DeviceDescription"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.DeviceDescription = j.toString(); } } else if (obj != null && obj instanceof String) { this.DeviceDescription = (String) obj; } } if (soapObject.hasProperty("CheckProcessor")) { Object obj = soapObject.getProperty("CheckProcessor"); if (obj != null && obj.getClass().equals(SoapPrimitive.class)) { SoapPrimitive j = (SoapPrimitive) obj; if (j.toString() != null) { this.CheckProcessor = j.toString(); } } else if (obj != null && obj instanceof String) { this.CheckProcessor = (String) obj; } } if (soapObject.hasProperty("CheckSEC")) { int size = soapObject.getPropertyCount(); this.CheckSEC = new ArrayList<String>(); for (int i0 = 0; i0 < size; i0++) { PropertyInfo info = new PropertyInfo(); soapObject.getPropertyInfo(i0, info); Object obj = info.getValue(); if (obj != null && info.name.equals("CheckSEC")) { Object j = info.getValue(); String j1 = j.toString(); this.CheckSEC.add(j1); } } } }