use of com.zype.android.webapi.model.plan.PlanData in project zype-android by zype.
the class MarketplaceGateway method handlePlan.
//
// Zype API
//
@Subscribe
public void handlePlan(PlanEvent event) {
Logger.d("handlePlan()");
PlanData data = event.getEventData().getModelData().data;
Subscription subscription = new Subscription();
subscription.setZypePlan(data);
subscriptionsLiveData.getValue().put(data.id, subscription);
queryGooglePlayProduct(subscription);
}