<?php

namespace Geniki\GenikiStruct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetVoucherJobResult GenikiStruct
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetVoucherJobResult
 * @package Geniki
 * @subpackage Structs
 */
class GenikiGetVoucherJobResult extends GenikiJobMethodResult
{
    /**
     * The Job
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \Geniki\GenikiStruct\GenikiVoucherJob
     */
    public $Job;
    /**
     * Constructor method for GetVoucherJobResult
     * @uses GenikiGetVoucherJobResult::setJob()
     * @param \Geniki\GenikiStruct\GenikiVoucherJob $job
     */
    public function __construct(\Geniki\GenikiStruct\GenikiVoucherJob $job = null)
    {
        $this
            ->setJob($job);
    }
    /**
     * Get Job value
     * @return \Geniki\GenikiStruct\GenikiVoucherJob|null
     */
    public function getJob()
    {
        return $this->Job;
    }
    /**
     * Set Job value
     * @param \Geniki\GenikiStruct\GenikiVoucherJob $job
     * @return \Geniki\GenikiStruct\GenikiGetVoucherJobResult
     */
    public function setJob(\Geniki\GenikiStruct\GenikiVoucherJob $job = null)
    {
        $this->Job = $job;
        return $this;
    }
}
