All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.notronix.etsy.impl.model.EtsyListingOffering Maven / Gradle / Ivy

There is a newer version: 3.0.0014
Show newest version
package com.notronix.etsy.impl.model;

import com.google.gson.annotations.SerializedName;
import com.notronix.etsy.api.model.ListingOffering;

public class EtsyListingOffering implements ListingOffering
{
    @SerializedName(value = "offering_id")
    private Long offeringId;
    private EtsyMoney price;
    private Integer quantity;

    @SerializedName(value = "is_enabled")
    private Boolean enabled;

    @SerializedName(value = "is_deleted")
    private Boolean deleted;

    @Override
    public Long getOfferingId() {
        return offeringId;
    }

    public void setOfferingId(Long offeringId) {
        this.offeringId = offeringId;
    }

    @Override
    public EtsyMoney getPrice() {
        return price;
    }

    public void setPrice(EtsyMoney price) {
        this.price = price;
    }

    @Override
    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

   public Boolean getEnabled() {
        return enabled;
    }

    public void setEnabled(Boolean enabled) {
        this.enabled = enabled;
    }

    public Boolean getDeleted() {
        return deleted;
    }

    public void setDeleted(Boolean deleted) {
        this.deleted = deleted;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy