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

io.fruitful.ecomerce.dto.MagentoVendorInventory Maven / Gradle / Ivy

There is a newer version: 1.2
Show newest version
package io.fruitful.ecomerce.dto;

import com.fasterxml.jackson.annotation.JsonGetter;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSetter;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class MagentoVendorInventory {
    private Integer locationId;

    @JsonProperty("qty")
    private Integer qty;

    private Integer inventoryId;

    @JsonGetter("locationId")
    public Integer getLocationId() {
        return locationId;
    }

    @JsonSetter("location_id")
    public void setLocationId(Integer locationId) {
        this.locationId = locationId;
    }

    @JsonGetter("inventoryId")
    public Integer getInventoryId() {
        return inventoryId;
    }

    @JsonSetter("inventory_id")
    public void setInventoryId(Integer inventoryId) {
        this.inventoryId = inventoryId;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy