Payload class get raw or object