Index: WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory.cls.xml
===================================================================
diff -u -r37237 -r37238
--- WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory.cls.xml (.../TransportFirmaBepalerFactory.cls.xml) (revision 37237)
+++ WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory.cls.xml (.../TransportFirmaBepalerFactory.cls.xml) (revision 37238)
@@ -4,9 +4,10 @@
TECH.Mockable
+PersonalityID:%String,KlantID:DOM.common.PartijID
WS.EC.Unishop.InternationaleZending.TransportFirmaBepaler
+PersonalityID:%String
1
%Boolean
-
+KlantID:DOM.common.PartijID
1
%Boolean
-
Index: vhTest/Mock/WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory.cls.xml
===================================================================
diff -u -r37237 -r37238
--- vhTest/Mock/WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory.cls.xml (.../TransportFirmaBepalerFactory.cls.xml) (revision 37237)
+++ vhTest/Mock/WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory.cls.xml (.../TransportFirmaBepalerFactory.cls.xml) (revision 37238)
@@ -10,8 +10,9 @@
right
+PersonalityID:%String,KlantID:DOM.common.PartijID
WS.EC.Unishop.InternationaleZending.TransportFirmaBepaler
-
Index: vhTest/Mock/WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory.cls.xml
===================================================================
diff -u -r37237 -r37238
--- vhTest/Mock/WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory.cls.xml (.../VerkoopprijsBerekenaarFactory.cls.xml) (revision 37237)
+++ vhTest/Mock/WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory.cls.xml (.../VerkoopprijsBerekenaarFactory.cls.xml) (revision 37238)
@@ -10,8 +10,9 @@
right
+PersonalityID:%String,KlantID:DOM.common.PartijID
WS.EC.Unishop.InternationaleZending.VerkoopprijsBerekenaar
-
Index: WS/EC/Unishop/InternationaleZending/impl/ZendingDetails.cls.xml
===================================================================
diff -u -r37237 -r37238
--- WS/EC/Unishop/InternationaleZending/impl/ZendingDetails.cls.xml (.../ZendingDetails.cls.xml) (revision 37237)
+++ WS/EC/Unishop/InternationaleZending/impl/ZendingDetails.cls.xml (.../ZendingDetails.cls.xml) (revision 37238)
@@ -33,6 +33,16 @@
1
+
+%String
+1
+
+
+
+DOM.common.PartijID
+1
+
+
TransportOfferteService:APPS.TRANSP.OfferteService,VerzendingMogelijkheidRepository:WSimpl.EC.ExterneVerkoop.VerzendingMogelijkheidRepository,VertaalAPI:DOM.common.Transl.VertaalAPI,VerkoopprijsBerekenaarFactory:WS.EC.Unishop.InternationaleZending.impl.VerkoopprijsBerekenaarFactory,TransportFirmaBepalerFactory:WS.EC.Unishop.InternationaleZending.impl.TransportFirmaBepalerFactory
1
@@ -71,7 +81,7 @@
#dim Exceptions As List Of %String = ##class(%ListOfDataTypes).%New()
#dim OfferteDetails As List Of %String = ##class(%ListOfDataTypes).%New()
- #dim TransportFirmas As TECH.ListIterator = ..TransportFirmaBepalerFactory.GeefTransportFirmaBepaler().GeefTransportFirmas()
+ #dim TransportFirmas As TECH.ListIterator = ..TransportFirmaBepalerFactory.GeefTransportFirmaBepaler(..PersonalityID,..KlantID).GeefTransportFirmas()
While TransportFirmas.HasNext() {
#dim TransportFirma As %String = TransportFirmas.Next()
try {
@@ -227,7 +237,7 @@
Set VerzendingItem.Code = VerzendingMogelijkheid.Code
Set VerzendingItem.Duurtijd = VerzendingMogelijkheid.Duurtijd
Set VerzendingItem.AankoopPrijs = VerzendingMogelijkheid.VerkoopPrijs
- Set VerzendingItem.VerkoopPrijs = ..VerkoopprijsBerekenaarFactory.GeefVerkoopprijsBerekenaar().BerekenVerkoopPrijs(OfferteItem)
+ Set VerzendingItem.VerkoopPrijs = ..VerkoopprijsBerekenaarFactory.GeefVerkoopprijsBerekenaar(..PersonalityID,..KlantID).BerekenVerkoopPrijs(OfferteItem)
Set VerzendingItem.LeverDag = VerzendingMogelijkheid.LeverDag
Set VerzendingItem.LeverDatum = VerzendingMogelijkheid.LeverDatum
Set VerzendingItem.LeverTijd = VerzendingMogelijkheid.LeverTijd
@@ -274,6 +284,23 @@
Quit Selecties
]]>
+
+
+1
+%Boolean
+
+
+
+
+1
+%Boolean
+
+
Index: vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/ZendingDetails/Test.cls.xml
===================================================================
diff -u -r37237 -r37238
--- vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/ZendingDetails/Test.cls.xml (.../Test.cls.xml) (revision 37237)
+++ vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/ZendingDetails/Test.cls.xml (.../Test.cls.xml) (revision 37238)
@@ -72,7 +72,7 @@
Do VerkoopprijsBerekenaarMock.VerwachtMethodCall("BerekenVerkoopPrijs",OfferteData.Items.GetAt(1)).DanReturn(40.00)
Set VerkoopprijsBerekenaarFactoryMock = ##class(vhTest.Mock.WS.EC.Unishop.InternationaleZending.impl.VerkoopprijsBerekenaarFactory).%New()
- Do VerkoopprijsBerekenaarFactoryMock.IndienMethodCall("GeefVerkoopprijsBerekenaar").DanReturn(VerkoopprijsBerekenaarMock)
+ Do VerkoopprijsBerekenaarFactoryMock.IndienMethodCall("GeefVerkoopprijsBerekenaar", $$$ElkeWaarde,$$$ElkeWaarde).DanReturn(VerkoopprijsBerekenaarMock)
Set VerzendingMogelijkhedenBepaler = ##class(WS.EC.Unishop.InternationaleZending.impl.ZendingDetails).%New(TransportOfferteServiceStub, VerzendingMogelijkheidRepositoryStub,,VerkoopprijsBerekenaarFactoryMock)
#dim DummyVerzendingMogelijkheden As WS.EC.ExterneVerkoop.dto.VerzendingMogelijkheden = VerzendingMogelijkhedenBepaler.GeefZendingDetails(..StandaardBerekenInput)
@@ -95,7 +95,7 @@
Do TransportFirmaBepalerMock.VerwachtMethodCall("GeefTransportFirmas").DanReturn(##class(APPS.TRANSP.enu.TransportFirma).ValueListIterator())
Set TransportFirmaBepalerFactoryMock = ##class(vhTest.Mock.WS.EC.Unishop.InternationaleZending.impl.TransportFirmaBepalerFactory).%New()
- Do TransportFirmaBepalerFactoryMock.IndienMethodCall("GeefTransportFirmaBepaler").DanReturn(TransportFirmaBepalerMock)
+ Do TransportFirmaBepalerFactoryMock.IndienMethodCall("GeefTransportFirmaBepaler", $$$ElkeWaarde,$$$ElkeWaarde).DanReturn(TransportFirmaBepalerMock)
Set VerzendingMogelijkhedenBepaler = ##class(WS.EC.Unishop.InternationaleZending.impl.ZendingDetails).%New(TransportOfferteServiceStub, VerzendingMogelijkheidRepositoryStub,,,TransportFirmaBepalerFactoryMock)
Index: vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory/GeefTransportFirmaBepaler/Test.cls.xml
===================================================================
diff -u -r37064 -r37238
--- vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory/GeefTransportFirmaBepaler/Test.cls.xml (.../Test.cls.xml) (revision 37064)
+++ vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/TransportFirmaBepalerFactory/GeefTransportFirmaBepaler/Test.cls.xml (.../Test.cls.xml) (revision 37238)
@@ -5,19 +5,24 @@
-
+
+
+
+
+
Index: WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory.cls.xml
===================================================================
diff -u -r37237 -r37238
--- WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory.cls.xml (.../VerkoopprijsBerekenaarFactory.cls.xml) (revision 37237)
+++ WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory.cls.xml (.../VerkoopprijsBerekenaarFactory.cls.xml) (revision 37238)
@@ -4,33 +4,30 @@
TECH.Mockable
+PersonalityID:%String,KlantID:DOM.common.PartijID
WS.EC.Unishop.InternationaleZending.VerkoopprijsBerekenaar
-
+
+PersonalityID:%String
1
%Boolean
-
-
+
+KlantID:DOM.common.PartijID
1
%Boolean
-
Index: vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory/GeefVerkoopprijsBerekenaar/Test.cls.xml
===================================================================
diff -u -r37061 -r37238
--- vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory/GeefVerkoopprijsBerekenaar/Test.cls.xml (.../Test.cls.xml) (revision 37061)
+++ vhUnitTest/WS/EC/Unishop/InternationaleZending/impl/VerkoopprijsBerekenaarFactory/GeefVerkoopprijsBerekenaar/Test.cls.xml (.../Test.cls.xml) (revision 37238)
@@ -5,19 +5,24 @@
-
+
+
+
+
+