src/Amadeus/Client/Struct/Pnr/Cancel.php
protected function loadOffers(PnrCancelOptions $params)
    {
        if (!empty($params->offers)) {
            $tmp = new Cancel\Elements(Elements::ENTRY_ELEMENT);

            foreach ($params->offers as $offerRef) {
                $tmp->element[] = new Element($offerRef, Element::IDENT_OFFER_TATTOO);
            }

            $this->cancelElements[] = $tmp;
        }
    }
protected function loadOffers(PnrCancelOptions $params)
    {
        if (!empty($params->offers)) {
            $tmp = new Cancel\Elements(Elements::ENTRY_ELEMENT);

            foreach ($params->offers as $offerRef) {
                $tmp->element[] = new Element($offerRef, Element::IDENT_OFFER_TATTOO);
            }

            $this->cancelElements[] = $tmp;
        }
    }
@param PnrCancelOptions $params
@return void