Skip to content

Instantly share code, notes, and snippets.

@IanSaunders
Last active August 29, 2015 14:19
Show Gist options
  • Save IanSaunders/e1d6736eaa30b9fb8d53 to your computer and use it in GitHub Desktop.
Save IanSaunders/e1d6736eaa30b9fb8d53 to your computer and use it in GitHub Desktop.
quote 5
{
"results" : [ {
"productName" : "Foo",
"productRatePlanName" : "bar",
"type" : "RecurringPeriod",
"currency" : "USD",
"breakdown" : [ {
"name" : "Bandwidth",
"type" : "subscription",
"value" : 5,
"amount" : 5.00,
"tax" : 1.00,
"discount" : 2.50
}, {
"name" : "Foo",
"type" : "usage",
"value" : 150,
"amount" : 150.00,
"tax" : 15.00,
"discount" : 2.50
} ],
"coupons" : [ {
"couponCode" : "simpleBD3D399C",
"calculation" : "50.00% discount off Bandwidth. Orignal cost: 5.00",
"discount" : 2.50
} ],
"amount" : 155.00,
"tax" : 15.00,
"discount" : 0.00
} ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment