
io.opencannabis.schema.product.struct.WeightedPricingDescriptorOrBuilder Maven / Gradle / Ivy
/*
* 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: structs/pricing/PricingDescriptor.proto
package io.opencannabis.schema.product.struct;
public interface WeightedPricingDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencannabis.structs.pricing.WeightedPricingDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* Weight tier selection.
*
*
* .opencannabis.structs.pricing.PricingWeightTier weight = 1;
*/
int getWeightValue();
/**
*
* Weight tier selection.
*
*
* .opencannabis.structs.pricing.PricingWeightTier weight = 1;
*/
io.opencannabis.schema.product.struct.PricingWeightTier getWeight();
/**
*
* Pricing descriptor for this tier, including the price value, status, and any discounts that should apply.
*
*
* .opencannabis.structs.pricing.UnitPricingDescriptor tier = 2;
*/
boolean hasTier();
/**
*
* Pricing descriptor for this tier, including the price value, status, and any discounts that should apply.
*
*
* .opencannabis.structs.pricing.UnitPricingDescriptor tier = 2;
*/
io.opencannabis.schema.product.struct.UnitPricingDescriptor getTier();
/**
*
* Pricing descriptor for this tier, including the price value, status, and any discounts that should apply.
*
*
* .opencannabis.structs.pricing.UnitPricingDescriptor tier = 2;
*/
io.opencannabis.schema.product.struct.UnitPricingDescriptorOrBuilder getTierOrBuilder();
/**
*
* Custom weight in grams, if any.
*
*
* float weight_in_grams = 3;
*/
float getWeightInGrams();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy