Interface Cost

All Superinterfaces:
OsidCapsule

public interface Cost extends OsidCapsule

A cost for a line item.

  • Method Details

    • getPriceScheduleId

      Id getPriceScheduleId()
      Gets the price schedule Id to which this price belongs.
      Returns:
      the price schedule Id
      Compliance:
      mandatory - This method must be implemented.
    • getPriceSchedule

      PriceSchedule getPriceSchedule() throws OperationFailedException
      Gets the price schedule to which this price belongs.
      Returns:
      the price schedule
      Throws:
      OperationFailedException - unable to complete request
      Compliance:
      mandatory - This method must be implemented.
    • getAmount

      Currency getAmount()
      Gets the cost.
      Returns:
      the cost
      Compliance:
      mandatory - This method must be implemented.