Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml/xml
titleDaily Rates
<RoomStay>
  <RoomRates>
    <RoomRate RoomTypeCode="ROOM1" RatePlanCode="RATE1" NumberOfUnits="1">
      <Rates>
        <Rate UnitMultiplier="1" RateTimeUnit="Day" EffectiveDate="2012-03-12" ExpireDate="2012-03-14">
          <Base AmountBeforeTax="495.00" AmountAfterTax="550.00" CurrencyCode="AUD"/>
          <Total AmountBeforeTax="495.00" AmountAfterTax="550.00" CurrencyCode="AUD"/>
        </Rate>
      </Rates>
    </RoomRate>
  </RoomRates>
  <TimeSpan Start="2012-03-12" End="2012-03-14"/>
  <Total AmountBeforeTax="495.00" AmountAfterTax="550.00" CurrencyCode="AUD">
    <Taxes>
      <Tax Amount="55.00" CurrencyCode="AUD"/>
    </Taxes>
  </Total>
</RoomStay>
Code Block
languagehtml/xml
<RoomStay>
  <RoomRates>
    <RoomRate NumberOfUnits="1" RatePlanCode="BAR" RoomTypeCode="DLXR">
      <Rates>
        <Rate ExpireDate="2013-12-31" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2013-12-30">
          <Base AmountAfterTax="39.20" CurrencyCode="USD"/>
        </Rate>
        <Rate ExpireDate="2014-01-01" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2013-12-31">
          <Base AmountAfterTax="39.20" CurrencyCode="USD"/>
        </Rate>
        <Rate ExpireDate="2014-01-02" RateTimeUnit="Day" UnitMultiplier="1" EffectiveDate="2014-01-01">
          <Base AmountAfterTax="39.20" CurrencyCode="USD"/>
        </Rate>
      </Rates>
    </RoomRate>
  </RoomRates>
  <TimeSpan End="2014-01-02" Start="2013-12-30"/>
  <Total AmountAfterTax="117.60" CurrencyCode="USD"/>
</RoomStay>

 

The example below shows daily rates when the same rate applies to both dates (2012-03-12 and 2012-03-13) and there are additional charges.

...