FlightsV3BaggageFee

public final class FlightsV3BaggageFee

Container for baggage fee information of each bag type. The baggage fee can vary for each bag type. The amount can be zero, fixed amount or will be in a range.

Parameters

bagType

Specifies the type of baggage.

weightUnit

Specifies weight unit for this bagType. This will always be kilograms.

weight

Weight of the bag.

application

This element specifies descriptive text useful in displaying baggage fees.

fixedCharge
maxCharge
minCharge

Constructors

Link copied to clipboard
public FlightsV3BaggageFee FlightsV3BaggageFee(FlightsV3BaggageFee.BagType bagType, String weightUnit, String weight, FlightsV3BaggageFee.Application application, Fee fixedCharge, Fee maxCharge, Fee minCharge)

Types

Link copied to clipboard

This element specifies descriptive text useful in displaying baggage fees. Values: UPTO,PER

Link copied to clipboard

Specifies the type of baggage. Values: PREPAID_CARRY_ON,PREPAID_FIRST_BAG,PREPAID_SECOND_BAG,CARRY_ON,FIRST_BAG,SECOND_BAG

Link copied to clipboard
public final class Builder

Properties

Link copied to clipboard
Link copied to clipboard
@NotNull()
private final FlightsV3BaggageFee.BagType bagType
Link copied to clipboard
@Valid()
private final Fee fixedCharge
Link copied to clipboard
@Valid()
private final Fee maxCharge
Link copied to clipboard
@Valid()
private final Fee minCharge
Link copied to clipboard
@Valid()
private final String weight
Link copied to clipboard
@Valid()
private final String weightUnit

Functions

Link copied to clipboard
public final static FlightsV3BaggageFee.Builder builder()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
public final Fee getFixedCharge()
Link copied to clipboard
public final Fee getMaxCharge()
Link copied to clipboard
public final Fee getMinCharge()
Link copied to clipboard
public final String getWeight()
Link copied to clipboard
public final String getWeightUnit()
Link copied to clipboard