Totals

public final class Totals

The total price of charges, given various critera. * inclusive - provides the total price including taxes and fees. This does not include hotel collected fees such as resort, mandatory taxes, and mandatory fees. * exclusive - provides the total price excluding taxes and fees. * inclusive_strikethrough - provides the tax inclusive total price with any hotel funded discounts added back. Can be used to merchandise the savings due to a discount. * strikethrough - provides the tax exclusive total price with any hotel funded discounts added back. Can be used to merchandise the savings due to a discount. * marketing_fee - provides the potential owed earnings per transaction. * gross_profit - provides the estimated gross profit per transaction. * minimum_selling_price - provides the minimum selling price. * property_fees - provides the total of the fees collected by the property.

Parameters

inclusive
exclusive
inclusiveStrikethrough
strikethrough
marketingFee
grossProfit
minimumSellingPrice
propertyFees

Constructors

Link copied to clipboard
public Totals Totals(Charge inclusive, Charge exclusive, Charge inclusiveStrikethrough, Charge strikethrough, Charge marketingFee, Charge grossProfit, Charge minimumSellingPrice, Charge propertyFees)

Types

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
@Valid()
private final Charge exclusive
Link copied to clipboard
@Valid()
private final Charge grossProfit
Link copied to clipboard
@Valid()
private final Charge inclusive
Link copied to clipboard
@Valid()
private final Charge inclusiveStrikethrough
Link copied to clipboard
@Valid()
private final Charge marketingFee
Link copied to clipboard
@Valid()
private final Charge minimumSellingPrice
Link copied to clipboard
@Valid()
private final Charge propertyFees
Link copied to clipboard
@Valid()
private final Charge strikethrough

Functions

Link copied to clipboard
public final static Totals.Builder builder()
Link copied to clipboard
public final Charge getExclusive()
Link copied to clipboard
public final Charge getGrossProfit()
Link copied to clipboard
public final Charge getInclusive()
Link copied to clipboard
Link copied to clipboard
public final Charge getMarketingFee()
Link copied to clipboard
Link copied to clipboard
public final Charge getPropertyFees()
Link copied to clipboard
public final Charge getStrikethrough()