Responsibility::Landlord, 'collection' => Responsibility::Landlord, 'contract_documents' => Responsibility::Landlord], variable: [ 'guest_messages' => [Responsibility::Landlord, Responsibility::Portal], 'supplementary_documents' => [Responsibility::Landlord, Responsibility::Nobody], 'local_services' => [Responsibility::Landlord], ], ); } public static function providedResults(): array { return self::PROVIDES; } public static function templateRestrictions(): array { return [ 'collection.portal' => 'Bei einer Anfrage schließen wir den Vertrag selbst (Annahme des Angebots) und kassieren selbst; Inkasso beim Portal gibt es nur bei bereits verbindlich gebuchten Portalbuchungen.', 'contract_docs.external' => 'Bei einer Anfrage entsteht der Vertrag erst durch unser Angebot und die Annahme des Gastes; das Portal kann keine Vertragsunterlagen dafür bereitstellen.', ]; } public static function defaultTemplates(): array { return [ TemplateArea::InquiryAnswer->value => 'inquiry.binding_offer', TemplateArea::ContractDocuments->value => 'contract_docs.own', TemplateArea::Collection->value => 'collection.own', TemplateArea::GuestCommunication->value => 'guest_comm.own', ]; } public function steps(): array { return [ Step::module('intake.record'), Step::module('guest.details'), Step::point(Point::AfterGuestIdentified), Step::module('hold'), Step::module('availability.check'), Step::slot(TemplateArea::InquiryAnswer), Step::point(Point::BeforePriceFixing), Step::module('offer.binding'), Step::point(Point::BeforeBindingOffer), Step::module('offer.acceptance'), Step::point(Point::AfterBinding), Step::slot(TemplateArea::ContractDocuments), Step::module('channels.block'), Step::slot(TemplateArea::Collection), Step::module('case.tasks'), Step::module('change.proposal'), Step::slot(TemplateArea::GuestCommunication), Step::module('guest.data_request'), Step::point(Point::BeforeStay), Step::module('stay'), Step::module('review.request'), Step::point(Point::BeforeSettlement), Step::module('case.closure'), Step::module('case.settlement'), ]; } /** * The extension variants of the architecture proof (tester only), as on the former offer model. * * @return list */ public function variants(): array { return [ Variant::make('standard', 'Standard'), Variant::make('loyalty', 'Mit Stammgastrabatt (Architekturnachweis, nur im Prozess-Tester)') ->testerOnly() ->insert(Point::AfterGuestIdentified, 'guest.loyalty_status') ->insert(Point::BeforePriceFixing, 'pricing.loyalty_discount'), Variant::make('address_check', 'Mit Anschriftsprüfung (Zusatzschritt, nur im Prozess-Tester)') ->testerOnly() ->insert(Point::AfterGuestIdentified, 'guest.address_check'), ]; } }