Code example for Bundle

Methods: getParcelable

0
    		BillingController.onRequestPurchaseResponse(itemId, response);
    	} 
    	 
    	@Override 
    	protected void processOkResponse(Bundle response) {
    		final PendingIntent purchaseIntent = response.getParcelable(KEY_PURCHASE_INTENT);
    		BillingController.onPurchaseIntent(itemId, purchaseIntent);
    	} 
    	 
    } 
     
    public static class RequestSubscription extends RequestPurchase { 
 
    	public RequestSubscription(String packageName, int startId, String itemId, String developerPayload) {
			super(packageName, startId, itemId, developerPayload);
		} 
 
		@Override 
    	protected void addParams(Bundle request) {
			super.addParams(request);
    		request.putString(KEY_ITEM_TYPE, ITEM_TYPE_SUBSCRIPTION);