discountconsumer object

Properties of the discountconsumer object.

{
  /* id of object, set by Upodi */
  "id": "guid",
  /* id of discount object */
  "discountid" : "guid",
  /* id of consuming object - customer, subscripion or subscriptioncharge */
  "consumerid" : "guid",
  "discount" : "discount object",
  /* customer=0, subscription=1, subscriptioncharge=2 */
  "consumertype" : "int",
  "expirydate": "datetime",
    /* set by upodi */
  "createdby": "guid",
    /* set by upodi */
  "modifiedby": "guid",
    /* set by upodi */
  "createddate": "datetime",
    /* set by upodi */
  "modifieddate": "datetime"
}