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

io.opencannabis.schema.inventory.InventoryAmountOrBuilder Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas Co.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: inventory/InventoryProduct.proto

package io.opencannabis.schema.inventory;

public interface InventoryAmountOrBuilder extends
    // @@protoc_insertion_point(interface_extends:opencannabis.inventory.InventoryAmount)
    com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
   * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ int getTypeValue(); /** *
   * Type of pricing/inventory to employ for this product. Can either be `UNIT` or `WEIGHTED` pricing.
   * 
* * .opencannabis.structs.pricing.PricingType type = 1; */ io.opencannabis.schema.product.struct.PricingType getType(); /** *
   * The inventory item is unit-based, i.e., just individual items.
   * 
* * bool unit = 2; */ boolean getUnit(); /** *
   * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
   * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ int getWeightValue(); /** *
   * The inventory item is weight-based, i.e., a certain amount of grams or pounds.
   * 
* * .opencannabis.structs.pricing.PricingWeightTier weight = 3; */ io.opencannabis.schema.product.struct.PricingWeightTier getWeight(); /** *
   * Actual amount specified for the given inventory.
   * 
* * uint64 quantity = 4; */ long getQuantity(); public io.opencannabis.schema.inventory.InventoryAmount.BasisCase getBasisCase(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy