Android Open Source - uber-java-client Price






From Project

Back to project page uber-java-client.

License

The source code is released under:

MIT License

If you think the Android project uber-java-client listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.victorsima.uber.model;
// w w w.ja  v  a  2s. com

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Price model obj
 */
public class Price {

    @Expose
    @SerializedName("product_id")
    private String productId;

    @Expose
    @SerializedName("currency_code")
    private String currencyCode;//TODO: parse to java.util.Currency

    @Expose
    @SerializedName("display_name")
    private String displayName;

    @Expose
    @SerializedName("estimate")
    private String estimate;

    @Expose
    @SerializedName("low_estimate")
    private int lowEstimate;

    @Expose
    @SerializedName("high_estimate")
    private int highEstimate;

    @Expose
    @SerializedName("surge_multiplier")
    private float surgeMultiplier;

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getCurrencyCode() {
        return currencyCode;
    }

    public void setCurrencyCode(String currencyCode) {
        this.currencyCode = currencyCode;
    }

    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public String getEstimate() {
        return estimate;
    }

    public void setEstimate(String estimate) {
        this.estimate = estimate;
    }

    public int getLowEstimate() {
        return lowEstimate;
    }

    public void setLowEstimate(int lowEstimate) {
        this.lowEstimate = lowEstimate;
    }

    public int getHighEstimate() {
        return highEstimate;
    }

    public void setHighEstimate(int highEstimate) {
        this.highEstimate = highEstimate;
    }

    public float getSurgeMultiplier() {
        return surgeMultiplier;
    }

    public void setSurgeMultiplier(float surgeMultiplier) {
        this.surgeMultiplier = surgeMultiplier;
    }
}




Java Source Code List

com.victorsima.uber.UberAuthService.java
com.victorsima.uber.UberClient.java
com.victorsima.uber.UberService.java
com.victorsima.uber.exception.ForbiddenException.java
com.victorsima.uber.exception.UnauthorizedException.java
com.victorsima.uber.model.AccessToken.java
com.victorsima.uber.model.Price.java
com.victorsima.uber.model.Prices.java
com.victorsima.uber.model.Product.java
com.victorsima.uber.model.Products.java
com.victorsima.uber.model.Time.java
com.victorsima.uber.model.Times.java
com.victorsima.uber.model.UserActivity.java
com.victorsima.uber.model.UserProfile.java