Skip to content

Commit 56831b3

Browse files
authored
Merge pull request #51 from Truebill/steelbrain/get-all-payload-data
Add method to get all payload data
2 parents a7a22a9 + 1109f75 commit 56831b3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@ public String getPayloadData(String key) {
8686
return (_payloadData != null) ? _payloadData.getString(key, null): null;
8787
}
8888

89+
/**
90+
* Retrieves all of the payload as a single Bundle Object
91+
* @return Bundle
92+
*/
93+
94+
public Bundle getPayloadData() {
95+
return _payloadData;
96+
}
97+
8998
/**
9099
* Returns the attribution information ({@link IterableAttributionInfo}) for last push open
91100
* or app link click from an email.

0 commit comments

Comments
 (0)