java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.OrderPrice
Direct Known Subclasses:
OneTimeChargeOrderPrice, RecurringChargeOrderPrice, UsageChargeOrderPrice

public class OrderPrice extends Object
An amount, usually of money, that represents the actual price paid by the Customer for this item or this order.
  • Constructor Details

    • OrderPrice

      public OrderPrice()
  • Method Details

    • name

      public OrderPrice name(String name)
    • getName

      public String getName()
      A short descriptive name such as \"Subscription price\".
      Returns:
      name
    • setName

      public void setName(String name)
    • id

      public OrderPrice id(String id)
    • getId

      public String getId()
      id
      Returns:
      id
    • setId

      public void setId(String id)
    • description

      public OrderPrice description(String description)
    • getDescription

      public String getDescription()
      A narrative that explains in detail the semantics of this order item price
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • priceType

      public OrderPrice priceType(PriceType priceType)
    • getPriceType

      @Valid public @Valid PriceType getPriceType()
      Get priceType
      Returns:
      priceType
    • setPriceType

      public void setPriceType(PriceType priceType)
    • unitOfMeasure

      public OrderPrice unitOfMeasure(String unitOfMeasure)
    • getUnitOfMeasure

      public String getUnitOfMeasure()
      Could be minutes, gigaBytes,...
      Returns:
      unitOfMeasure
    • setUnitOfMeasure

      public void setUnitOfMeasure(String unitOfMeasure)
    • recurringChargePeriod

      public OrderPrice recurringChargePeriod(String recurringChargePeriod)
    • getRecurringChargePeriod

      public String getRecurringChargePeriod()
      Could be month, week,...
      Returns:
      recurringChargePeriod
    • setRecurringChargePeriod

      public void setRecurringChargePeriod(String recurringChargePeriod)
    • usageChargeType

      public OrderPrice usageChargeType(String usageChargeType)
    • getUsageChargeType

      public String getUsageChargeType()
      The type of the usage charge.
      Returns:
      usageChargeType
    • setUsageChargeType

      public void setUsageChargeType(String usageChargeType)
    • atType

      public OrderPrice atType(String atType)
    • getAtType

      public String getAtType()
      Indicate the type of orderPrice.
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • atBaseType

      public OrderPrice atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      Indicate the base type of orderPrice.
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public OrderPrice atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      A link to the schema describing this orderPrice extension.
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • price

      public OrderPrice price(Price price)
    • getPrice

      @NotNull @Valid public @NotNull @Valid Price getPrice()
      Get price
      Returns:
      price
    • setPrice

      public void setPrice(Price price)
    • priceAlteration

      public OrderPrice priceAlteration(List<PriceAlteration> priceAlteration)
    • addPriceAlterationItem

      public OrderPrice addPriceAlterationItem(PriceAlteration priceAlterationItem)
    • getPriceAlteration

      @Valid public @Valid List<PriceAlteration> getPriceAlteration()
      Get priceAlteration
      Returns:
      priceAlteration
    • setPriceAlteration

      public void setPriceAlteration(List<PriceAlteration> priceAlteration)
    • billingAccount

      public OrderPrice billingAccount(BillingAccountRef billingAccount)
    • getBillingAccount

      @Valid public @Valid BillingAccountRef getBillingAccount()
      Get billingAccount
      Returns:
      billingAccount
    • setBillingAccount

      public void setBillingAccount(BillingAccountRef billingAccount)
    • orderPrice

      public OrderPrice orderPrice(List<OrderPrice> orderPrice)
    • addOrderPriceItem

      public OrderPrice addOrderPriceItem(OrderPrice orderPriceItem)
    • getOrderPrice

      @Valid public @Valid List<OrderPrice> getOrderPrice()
      Get orderPrice
      Returns:
      orderPrice
    • setOrderPrice

      public void setOrderPrice(List<OrderPrice> orderPrice)
    • productOfferingPrice

      public OrderPrice productOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • getProductOfferingPrice

      @Valid public @Valid ProductOfferingPriceRef getProductOfferingPrice()
      Get productOfferingPrice
      Returns:
      productOfferingPrice
    • setProductOfferingPrice

      public void setProductOfferingPrice(ProductOfferingPriceRef productOfferingPrice)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object