<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_GroupFee StructType
 * @subpackage Structs
 */
class JP_GroupFee extends AbstractStructBase
{
    /**
     * The Paxes
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_RelPaxDist
     */
    public $Paxes;
    /**
     * The Price
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_Price
     */
    public $Price;
    /**
     * Constructor method for JP_GroupFee
     * @uses JP_GroupFee::setPaxes()
     * @uses JP_GroupFee::setPrice()
     * @param \ArrayType\ArrayOfJP_RelPaxDist $paxes
     * @param \StructType\JP_Price $price
     */
    public function __construct(\ArrayType\ArrayOfJP_RelPaxDist $paxes = null, \StructType\JP_Price $price = null)
    {
        $this
            ->setPaxes($paxes)
            ->setPrice($price);
    }
    /**
     * Get Paxes value
     * @return \ArrayType\ArrayOfJP_RelPaxDist|null
     */
    public function getPaxes()
    {
        return $this->Paxes;
    }
    /**
     * Set Paxes value
     * @param \ArrayType\ArrayOfJP_RelPaxDist $paxes
     * @return \StructType\JP_GroupFee
     */
    public function setPaxes(\ArrayType\ArrayOfJP_RelPaxDist $paxes = null)
    {
        $this->Paxes = $paxes;
        return $this;
    }
    /**
     * Get Price value
     * @return \StructType\JP_Price|null
     */
    public function getPrice()
    {
        return $this->Price;
    }
    /**
     * Set Price value
     * @param \StructType\JP_Price $price
     * @return \StructType\JP_GroupFee
     */
    public function setPrice(\StructType\JP_Price $price = null)
    {
        $this->Price = $price;
        return $this;
    }
}
