Class: PriceDetail

PriceDetail

Price details


new PriceDetail()

Properties:
Name Type Description
currency string

Hotel local currency

approximate object

Merchant currency conversion

Properties
Name Type Description
currency string

Currency

exchangeRate number

Exchange rate

approximateCny object

CNY conversion, structure same as approximate

approximateUsd object

USD conversion, structure same as approximate

aggregated object

Aggregated

Properties
Name Type Description
average number

Average price, in hotel local currency

averageReservationBase number

Average price (excluding tax), in hotel local currency

quantity number

Quantity

sum number

Total price, in hotel local currency

sumReservationBase number

Total price (excluding tax), in hotel local currency

sumReservation number

Total price (excluding deductions), in hotel local currency

approximate object

Merchant currency conversion

Properties
Name Type Description
average number

Average price, in merchant currency

averageReservationBase number

Average price (excluding tax), in merchant currency

sum number

Total price, in merchant currency

sumReservationBase number

Total price (excluding tax), in merchant currency

sumReservation number

Total price (excluding deductions), in merchant currency

approximateCny object

CNY conversion, structure same as approximate

approximateUsd object

USD conversion, structure same as approximate

breakdown Array.<object>

Breakdown

Properties
Name Type Description
amount number

Amount, in hotel local currency

item string

Description

tips string

Tips

type string

Type

  • base Base fee, room rate, etc.
  • tax Tax or service fee
approximate object

Merchant currency conversion

Properties
Name Type Description
amount object

Amount, in merchant currency

approximateCny object

CNY conversion, structure same as approximate

approximateUsd object

USD conversion, structure same as approximate

Since:
  • 1.0.0