<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_ServiceBookingRuleRequest StructType
 * @subpackage Structs
 */
class JP_ServiceBookingRuleRequest extends AbstractStructBase
{
    /**
     * The ServiceRuleOption
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\JP_ServiceRuleOptionRQ
     */
    public $ServiceRuleOption;
    /**
     * Constructor method for JP_ServiceBookingRuleRequest
     * @uses JP_ServiceBookingRuleRequest::setServiceRuleOption()
     * @param \StructType\JP_ServiceRuleOptionRQ $serviceRuleOption
     */
    public function __construct(\StructType\JP_ServiceRuleOptionRQ $serviceRuleOption = null)
    {
        $this
            ->setServiceRuleOption($serviceRuleOption);
    }
    /**
     * Get ServiceRuleOption value
     * @return \StructType\JP_ServiceRuleOptionRQ|null
     */
    public function getServiceRuleOption()
    {
        return $this->ServiceRuleOption;
    }
    /**
     * Set ServiceRuleOption value
     * @param \StructType\JP_ServiceRuleOptionRQ $serviceRuleOption
     * @return \StructType\JP_ServiceBookingRuleRequest
     */
    public function setServiceRuleOption(\StructType\JP_ServiceRuleOptionRQ $serviceRuleOption = null)
    {
        $this->ServiceRuleOption = $serviceRuleOption;
        return $this;
    }
}
