Skip to content

Instantly share code, notes, and snippets.

View kvofreelance's full-sized avatar

Igor kvofreelance

View GitHub Profile
[8/3/16, 2:02:17 PM] Igor: Have a common questions
[8/3/16, 2:02:47 PM] Igor: User buy subscription for $3
[8/3/16, 2:02:53 PM] Igor: And use it 14 days
[8/3/16, 2:03:11 PM] Igor: So it's leave 16days to the end
[8/3/16, 2:03:28 PM] Igor: He will want to buy subscription for $7
[8/3/16, 2:03:34 PM] Igor: What I must do?
[8/3/16, 2:04:03 PM] Igor: Accept it or decline and say that it's leave 16 days for ability to buy another subscriptions
[8/3/16, 2:04:03 PM] Igor: ?
[8/3/16, 2:05:00 PM] Ahmar Khan - Web: previous subscription will be cancelled and new would be done .
[8/3/16, 2:05:15 PM] Ahmar Khan - Web: and the month would start from the date
{"count":35,"list":[{"lgl_id":"1002","lgl_uniqueid":"2","lgl_member":"demo","lgl_flag":"new","lgl_rating":"5","lgl_fname":"testing","lgl_lname":"testlname","lgl_email":"rkleinok@gmail.com","lgl_custom":"0","lgl_entry":"User","lgl_ip":"200.122.158.60","lgl_date":"2009-06-21 17:17:15","lgl_timestamp":"2016-07-01 11:28:33","phone":"","address":"1234567","city":"","state":"","country":"US","lgli_1":"","lgli_2":"","lgli_3":"1234567","lgli_4":"","lgli_6":"US","time2call":"Anytime","lgli_7":"Anytime","interestlevel":"Just browsing","lgli_8":"Just browsing","whyinterested":"","lgli_9":"","leadsource":"","lgli_12":"","phone2":"","lgli_15":"","":"","lgli_18":"","phone_mobile":"","lgli_20":"","phone_work":"","lgli_21":"","comments":"TEST COMMENT","lgli_22":"TEST COMMENT","testflexfield":"","lgli_23":"","products":"a:2:{i:0;s:5:\"SUPER\";i:1;s:5:\"SD501\";}","lgli_77":"a:2:{i:0;s:5:\"SUPER\";i:1;s:5:\"SD501\";}","groups":["asdff","asfdd","Business Opportunity12"],"campaigns":["Test Campaign 1"],"notes":[{"leadgen_note_id
Copy icons to android and ios
Android:
cp web/img/icon/android-icon-72x72.png cordova/platforms/android/res/drawable-hdpi/icon.png
cp web/img/icon/android-icon-36x36.png cordova/platforms/android/res/drawable-ldpi/icon.png
cp web/img/icon/android-icon-48x48.png cordova/platforms/android/res/drawable-mdpi/icon.png
cp web/img/icon/android-icon-96x96.png cordova/platforms/android/res/drawable-xhdpi/icon.png
cp web/img/icon/android-icon-144x144.png cordova/platforms/android/res/drawable-xxhdpi/icon.png
cp web/img/icon/android-icon-192x192.png cordova/platforms/android/res/drawable-xxxhdpi/icon.png
IOs:
package com.passengerapp.main.network;
import com.passengerapp.main.network.model.request.GetFlightsInfoFromFVRequest;
import com.passengerapp.main.network.model.request.ReservationIdRequest;
import com.passengerapp.main.network.model.request.SaveFlightDetailRequest;
import com.passengerapp.main.network.model.request.SearchDriversRequest;
import com.passengerapp.main.network.model.request.SendCancelToDriverRequest;
import com.passengerapp.main.network.model.request.SendPickupRequest;
import com.passengerapp.main.network.model.response.GetFlightDetailsData;
import com.passengerapp.main.network.model.response.GoogleGetLocationByNameApiResponse;
package com.passengerapp.main.network;
import com.passengerapp.BuildConfig;
import retrofit.GsonConverterFactory;
import retrofit.Retrofit;
import retrofit.RxJavaCallAdapterFactory;
/**
* Created by adventis on 10/15/15.
NetworkApi api = new NetworkService().getApi();
api.sendVeridyCoupon(merchantID, couponCode)
.subscribeOn(Schedulers.newThread())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Subscriber<JsonServerResponse<VerfiyCouponData>>() {
@Override
public void onCompleted() {
DisplayProcessMessage(false);
}
{"Distance":{"Value":14.3,"Unit":"mile"},"Name":"Kvo","EstimateTime":"0.31666692","VehicleProps":{"VehicleShape":{"VehicleNumber":"","VehicleID":"","Vcolor":"Black","VclassID":5,"Vclass":"Car Service","VStyleShortDesc":"Executive Lincoln Towncar","InteriorImage":"http://rideeze.com/media/styles/int/2/vstyle-4-2_101.jpg","numberOfPass":4,"StyleType":2,"ExteriorImage":"http://rideeze.com/media/styles/ext/2/vstyle-4-2_416.png","numberOfSuitcase":3,"Vstyle":"Sedan","VStyleDesc":"4 passengers 3 pieces of luggage, Late model Lincoln Town Cars, leather interior, CD Player, AM/FM Radio, dual climate controls."}},"TempFlightId":"0","DestinationLocation":{"latitude":32.899809,"location_name":"DFW, International Parkway, TX, United States","longitude":-97.040335},"TripType":"duration-of-trip","MerchantID":"888800000458","Comment":"OK","VehicleClass":"Car Service","VehicleNumber":"","EstimateFare":"71.0","NumberOfPassenger":1,"TimeOfPick":1439937480,"UniqueID":"352136067407516","PickupLocation":{"latitude":32.8931486,"lo
{"Distance":{"Unit":"mile","Value":13.2},"Name":"Kvo","EstimateTime":"0.314722","VehicleProps":{"VehicleShape":{"StyleType":2,"VehicleID":"","VStyleShortDesc":"Executive Lincoln Towncar","VclassID":5,"Vclass":"Car Service","Vcolor":"Black","InteriorImage":"http://rideeze.com/media/styles/int/2/vstyle-4-2_101.jpg","numberOfPass":4,"VehicleNumber":"","ExteriorImage":"http://rideeze.com/media/styles/ext/2/vstyle-4-2_416.png","Vstyle":"Sedan","VStyleDesc":"4 passengers 3 pieces of luggage, Late model Lincoln Town Cars, leather interior, CD Player, AM/FM Radio, dual climate controls."}},"TempFlightId":"","DestinationLocation":{"latitude":"32.89712524414062500000","location_name":"2337 South International Parkway, Dallas, 75261, TX, United States","longitude":"-97.04436492919921875000"},"TripType":"duration-of-trip","TimeOfPick":1439932140,"UniqueID":"D9F4AE21-A49E-43DF-8B46-C892CD9BC570","Comment":"OK","VehicleClass":"Car Service","EstimateFare":"71.000000","NumberOfPassenger":1,"MerchantID":"2","VehicleNumber":""
{"Distance":{"Value":14.3,"Unit":"mile"},"UniqueID":"352136067407516","EstimateTime":0.31666693,"CarPool":false,"VehicleProps":{"VehicleShape":{"VehicleNumber":"","VehicleID":"","Vcolor":"Black","VclassID":5,"Vclass":"Car Service","VStyleShortDesc":"Executive Lincoln Towncar","InteriorImage":"http://rideeze.com/media/styles/int/2/vstyle-4-2_293.jpg","numberOfPass":4,"StyleType":2,"ExteriorImage":"http://rideeze.com/media/styles/ext/2/vstyle-4-2_160.png","Vstyle":"Sedan","VStyleDesc":"4 passengers 3 pieces of luggage, Late model Lincoln Town Cars, leather interior, CD Player, AM/FM Radio, dual climate controls."}},"TempFlightId":0,"DestinationLocation":{"latitude":32.899809,"location_name":"DFW, International Parkway, TX, United States","longitude":-97.040335},"TripType":"duration-of-trip","VehicleStyle":"Sedan","MerchantID":"888800000458","VipCode":"AEK","VehicleClass":"Car Service","EstimateFare":71,"NumberOfPassenger":1,"TimeOfPick":"1439497680","PickupLocation":{"latitude":32.8931486,"location_name":"11322
{"Content":"Missing required parameter VehicleNumber","IsSuccess":false,"Message":"Failed operation!","ResponseCode":500}