Search in sources :

Example 1 with PlanData

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);
}
Also used : PlanData(com.zype.android.webapi.model.plan.PlanData) Subscribe(com.squareup.otto.Subscribe)

Aggregations

Subscribe (com.squareup.otto.Subscribe)1 PlanData (com.zype.android.webapi.model.plan.PlanData)1