updatePayload abstract method

T updatePayload(
  1. T originalPayload,
  2. String newValue
)

Implement in subclasses to update the payload with the new value.

Implementation

T updatePayload(T originalPayload, String newValue);