Class: CruiseFare

cruise. CruiseFare

票价方案


new CruiseFare()

Properties:
Name Type Description
code string

舱型编码,与 CruiseCabinType.categoryCodes 对应,E.g. "11C"

fareCode string

票价编码,报价与下单时回传,E.g. "DCL001"

price object

按 preferred.currency 换算后的展示价格

Properties
Name Type Description
amount number

换算后的金额,与 priceDetail.aggregated.approximate.sum 一致

currency string

换算后的币种

priceDetail module:common.PriceDetail

价格明细;原始 USD 总价见 aggregated.sum/currency,换算总价见 aggregated.approximate.sum。aggregated.quantity 为 1,表示按一份总价计算,不表示入住人数

cancellation module:common.Cancellation

取消政策

Since:
  • 1.0.0