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

io.opencannabis.schema.product.struct.UnitPricingDescriptorOrBuilder 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: 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 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