Back to project page uber-java-client.
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.
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; } }