Skip to content

Instantly share code, notes, and snippets.

@hitherejoe hitherejoe/offerClass.json Secret
Last active Jul 6, 2016

Embed
What would you like to do?
{
"kind": "walletobjects#offerClass",
"id": "#{issuerId}.#{classId}",
"issuerName": "Baconrista Coffee",
"issuerData": {
"kind": "walletobjects#typedValue"
},
"renderSpecs": [{
"viewName": "g_list",
"templateFamily": "1.offer_list"
},{
"viewName": "g_expanded",
"templateFamily": "1.offer_expanded"
}],
"title": "20% off on one bacon fat latte",
"redemptionChannel": "both",
"provider": "Baconrista Deals",
"titleImage": {
"kind": "walletobjects#image",
"sourceUri": {
"kind": "walletobjects#uri",
"uri": "http://farm4.staticflickr.com/3723/11177041115_6e6a3b6f49_o.jpg"
}
},
"allowMultipleUsersPerObject": true,
"locations": [{
"kind": "walletobjects#latLongPoint",
"latitude": 37.424015499999996,
"longitude": -122.09259560000001
},{
"kind": "walletobjects#latLongPoint",
"latitude": 37.424354,
"longitude": -122.09508869999999
},{
"kind": "walletobjects#latLongPoint",
"latitude": 37.7901435,
"longitude": -122.39026709999997
},{
"kind": "walletobjects#latLongPoint",
"latitude": 40.7406578,
"longitude": -74.00208940000002
}],
"reviewStatus": "underReview",
"review": {
"comments": "Real auto approval by system"
},
"textModulesData": [
{
"header": "Details",
"body": "20% off one cup of coffee at all Baconrista Coffee locations. Only one can be used per visit."
},
{
"header": "About Baconrista",
"body": "Since 2013, Baconrista Coffee has been committed to making high quality bacon coffee. Visit us in our stores or online at www.baconrista.com"
}
],
"linksModuleData": {
"uris": [
{
"kind": "walletobjects#uri",
"uri": "http://maps.google.com/map?q=google",
"description": "Nearby Locations"
},
{
"kind": "walletobjects#uri",
"uri": "tel:6505555555",
"description": "Call Customer Service"
}
]
},
"imageModulesData": [
{
"mainImage": {
"kind": "walletobjects#image",
"sourceUri": {
"kind": "walletobjects#uri",
"uri": "http://farm4.staticflickr.com/3738/12440799783_3dc3c20606_b.jpg",
"description": "Coffee beans"
}
}
}
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.