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

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

There is a newer version: 1.8
Show newest version
/*
 * Copyright 2018, Momentum Ideas, Co. All rights reserved.
 *
 * Source and object computer code contained herein is the private intellectual
 * property of Momentum Ideas Co., a Delaware Corporation. Use of this
 * code in source form requires permission in writing before use or the
 * assembly, distribution, or publishing of derivative works, for commercial
 * purposes or any other purpose, from a duly authorized officer of Momentum
 * Ideas Co.
 *
 * 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