<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for JP_CheckPaymentRequiredFieldsResponse StructType
 * @subpackage Structs
 */
class JP_CheckPaymentRequiredFieldsResponse extends AbstractStructBase
{
    /**
     * The Fields
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfJP_RequiredField
     */
    public $Fields;
    /**
     * Constructor method for JP_CheckPaymentRequiredFieldsResponse
     * @uses JP_CheckPaymentRequiredFieldsResponse::setFields()
     * @param \ArrayType\ArrayOfJP_RequiredField $fields
     */
    public function __construct(\ArrayType\ArrayOfJP_RequiredField $fields = null)
    {
        $this
            ->setFields($fields);
    }
    /**
     * Get Fields value
     * @return \ArrayType\ArrayOfJP_RequiredField|null
     */
    public function getFields()
    {
        return $this->Fields;
    }
    /**
     * Set Fields value
     * @param \ArrayType\ArrayOfJP_RequiredField $fields
     * @return \StructType\JP_CheckPaymentRequiredFieldsResponse
     */
    public function setFields(\ArrayType\ArrayOfJP_RequiredField $fields = null)
    {
        $this->Fields = $fields;
        return $this;
    }
}
