hallvard
08/14/2019, 10:44 AMhallvard
08/14/2019, 10:47 AMval update = UpdateBuilder()
.customer(customer) // returns the UpdateBuilder
.jsEntities(listOf(product)) // returns the UpdateBuilder
.what(Actions.BROWSE) // returns the UpdateBuilder
.build() // returns an update object
val payload = PayloadBuilder()
.service(service) // returns the PayloadBuilder
.updates(update) // returns the PayloadBuilder
.build() // returns a payload object
hallvard
08/14/2019, 10:50 AMc = (new y)
.customer_61zpoe$(ya) // returns the UpdateBuilder
.jsEntities_mhpeer$(v(a)) // returns the UpdateBuilder
.what_61zpoe$(p.Actions.BROWSE) // returns the UpdateBuilder
.build(), // returns an update object
c = (new ba) // wait a sec... c is now a PayloadBuilder
.service_61zpoe$(Ib) // returns the PayloadBuilder
.updates_7f32tz$([c]) // ... so submitting c here will throw!
.build(),
anton.bannykh
08/14/2019, 1:22 PMhallvard
08/14/2019, 1:34 PMvar update = (new UpdateBuilder()).customer_61zpoe$(customer).jsEntities_mhpeer$(listOf(product)).what_61zpoe$(messageUtilities.Actions.BROWSE).build();
var payload = (new PayloadBuilder()).service_61zpoe$(service).updates_7f32tz$([update]).build();
hallvard
08/14/2019, 1:35 PManton.bannykh
08/14/2019, 1:35 PMhallvard
08/14/2019, 1:35 PManton.bannykh
08/14/2019, 1:37 PMhallvard
08/14/2019, 1:53 PManton.bannykh
08/14/2019, 1:56 PManton.bannykh
08/14/2019, 1:57 PMhallvard
08/14/2019, 2:12 PM