
io.opencannabis.schema.product.struct.UnitPricingDescriptorOrBuilder 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 UnitPricingDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencannabis.structs.pricing.UnitPricingDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* Unit price value.
*
*
* .opencannabis.commerce.CurrencyValue price = 1;
*/
boolean hasPrice();
/**
*
* Unit price value.
*
*
* .opencannabis.commerce.CurrencyValue price = 1;
*/
io.opencannabis.schema.currency.CommerceCurrency.CurrencyValue getPrice();
/**
*
* Unit price value.
*
*
* .opencannabis.commerce.CurrencyValue price = 1;
*/
io.opencannabis.schema.currency.CommerceCurrency.CurrencyValueOrBuilder getPriceOrBuilder();
/**
*
* Availability flags for this unit-priced tier.
*
*
* .opencannabis.structs.pricing.PricingTierAvailability status = 2;
*/
boolean hasStatus();
/**
*
* Availability flags for this unit-priced tier.
*
*
* .opencannabis.structs.pricing.PricingTierAvailability status = 2;
*/
io.opencannabis.schema.product.struct.PricingTierAvailability getStatus();
/**
*
* Availability flags for this unit-priced tier.
*
*
* .opencannabis.structs.pricing.PricingTierAvailability status = 2;
*/
io.opencannabis.schema.product.struct.PricingTierAvailabilityOrBuilder getStatusOrBuilder();
/**
*
* Discounts that should apply to this tier.
*
*
* repeated .opencannabis.structs.pricing.SaleDescriptor discounts = 3;
*/
java.util.List
getDiscountsList();
/**
*
* Discounts that should apply to this tier.
*
*
* repeated .opencannabis.structs.pricing.SaleDescriptor discounts = 3;
*/
io.opencannabis.schema.product.struct.SaleDescriptor getDiscounts(int index);
/**
*
* Discounts that should apply to this tier.
*
*
* repeated .opencannabis.structs.pricing.SaleDescriptor discounts = 3;
*/
int getDiscountsCount();
/**
*
* Discounts that should apply to this tier.
*
*
* repeated .opencannabis.structs.pricing.SaleDescriptor discounts = 3;
*/
java.util.List extends io.opencannabis.schema.product.struct.SaleDescriptorOrBuilder>
getDiscountsOrBuilderList();
/**
*
* Discounts that should apply to this tier.
*
*
* repeated .opencannabis.structs.pricing.SaleDescriptor discounts = 3;
*/
io.opencannabis.schema.product.struct.SaleDescriptorOrBuilder getDiscountsOrBuilder(
int index);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy