Added new method to interface and updated tests to reflect the change to buildPayload method.