Android Open Source - uber-java-client Product






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;
//from w  w  w  . j  av  a 2 s. c om
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

/**
 * Product model obj
 */
public class Product {

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

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

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

    @Expose
    @SerializedName("capacity")
    private int capacity;

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

    public String getProductId() {
        return productId;
    }

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

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getDisplayName() {
        return displayName;
    }

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

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
}




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