Back to project page DroidBilling.
The source code is released under:
MIT License
If you think the Android project DroidBilling listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.techery.droid.billings.events; /*w w w .ja v a2 s . c om*/ import com.techery.droid.billings.models.ConsumableItem; import com.techery.droid.billings.models.IabResult; import com.techery.droid.billings.models.Purchase; public class OnConsumeEvent extends IabEvent { private final ConsumableItem item; public OnConsumeEvent(ConsumableItem item, IabResult result) { super(result); this.item = item; } public Purchase getPurchase() { return item.getPurchase(); } public ConsumableItem getItem() { return item; } }