PostDetail

Provides details about a WingCash post.

Extends

Post

Attributes

amount
String containing a decimal amount.
currency
String: an ISO 4217 currency (3 uppercase letters).
key
String: contains both the timestamp and the id; useful for both sorting (by time) and identifying existing posts.
more_notes
True if the post involves multiple notes.
note
Optional object: contains the url, thumbnail, currency, and value of one cash note involved in the post.
primary_uid
The UID of the primary profile involved in the post. May be null. The notion of “primary” and “secondary” profiles varies according to who requests the post; for example, when the sending profile requests a “send” post, the sender is the primary profile, but when the recipient requests the same post, the recipient is the primary profile and the wording in title and title_html reflects the change.
profiles
A list of Profile objects involved in the post.
roles
A mapping of role name to a list of profile UIDs. Use this when the primary_uid and secondary_uid are too ambiguous.
secondary_uid
The UID of the secondary profile involved in the post. May be null. See the description of primary_uid.
transfer_roles
A mapping of transfer role name to a list of profile UIDs.
title
The text of the post. An example: “John Doe sent $1 to Jane Doe”.
title_html
The text of the post with HTML markup.
visible_to
If the post is private, this is the list of UIDs who are allowed to see this post; if the post is public, this is the string “public”.

Used In