java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.v2.dto.CartPrice
Direct Known Subclasses:
OneTimeChargeCartPrice, RecurringChargeCartPrice, UsageChargeCartPrice

public class CartPrice extends Object
An amount, usually of money, that represents the actual price paid by the customer for this item. May represent the total price of the shopping cart or the total of the cart item depending on the relation
  • Constructor Details

    • CartPrice

      public CartPrice()
  • Method Details

    • atBaseType

      public CartPrice atBaseType(String atBaseType)
    • getAtBaseType

      public String getAtBaseType()
      Generic attribute indicating the base class type of the extension class of the current object. Useful only when the class type of the current object is unknown to the implementation.
      Returns:
      atBaseType
    • setAtBaseType

      public void setAtBaseType(String atBaseType)
    • atSchemaLocation

      public CartPrice atSchemaLocation(String atSchemaLocation)
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Generic attribute containing the link to the schema that defines the structure of the class type of the current object.
      Returns:
      atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String atSchemaLocation)
    • atType

      public CartPrice atType(String atType)
    • getAtType

      public String getAtType()
      Generic attribute containing the name of the resource class type
      Returns:
      atType
    • setAtType

      public void setAtType(String atType)
    • description

      public CartPrice 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)
    • name

      public CartPrice 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 CartPrice id(String id)
    • getId

      public String getId()
      The id of the price.
      Returns:
      id
    • setId

      public void setId(String id)
    • priceType

      public CartPrice priceType(String priceType)
    • getPriceType

      public String getPriceType()
      Type of price, such as: OneTime, Recurring, Usage.
      Returns:
      priceType
    • setPriceType

      public void setPriceType(String priceType)
    • recurringChargePeriod

      public CartPrice recurringChargePeriod(String recurringChargePeriod)
    • getRecurringChargePeriod

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

      public void setRecurringChargePeriod(String recurringChargePeriod)
    • unitOfMeasure

      public CartPrice unitOfMeasure(String unitOfMeasure)
    • getUnitOfMeasure

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

      public void setUnitOfMeasure(String unitOfMeasure)
    • usageChargeType

      public CartPrice usageChargeType(String usageChargeType)
    • getUsageChargeType

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

      public void setUsageChargeType(String usageChargeType)
    • price

      public CartPrice price(Price price)
    • getPrice

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

      public void setPrice(Price price)
    • cartPrice

      public CartPrice cartPrice(List<CartPrice> cartPrice)
    • addCartPriceItem

      public CartPrice addCartPriceItem(CartPrice cartPriceItem)
    • getCartPrice

      @Valid public @Valid List<CartPrice> getCartPrice()
      Get cartPrice
      Returns:
      cartPrice
    • setCartPrice

      public void setCartPrice(List<CartPrice> cartPrice)
    • priceAlteration

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

      public CartPrice addPriceAlterationItem(PriceAlteration priceAlterationItem)
    • getPriceAlteration

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

      public void setPriceAlteration(List<PriceAlteration> priceAlteration)
    • 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