<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for PaymentFunctionsCriteriaType StructType
 * Meta information extracted from the WSDL
 * - documentation: Is the container of all payment relevant functions.
 * @subpackage Structs
 */
class PaymentFunctionsCriteriaType extends AbstractStructBase
{
    /**
     * The PaymentMethodCriteria
     * Meta information extracted from the WSDL
     * - documentation: Contains information relating to payer preference. This could relate to the seller or the customer depending on the preference expressed within the container.
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \StructType\PaymentMethodCriteriaType
     */
    public $PaymentMethodCriteria;
    /**
     * Constructor method for PaymentFunctionsCriteriaType
     * @uses PaymentFunctionsCriteriaType::setPaymentMethodCriteria()
     * @param \StructType\PaymentMethodCriteriaType $paymentMethodCriteria
     */
    public function __construct(\StructType\PaymentMethodCriteriaType $paymentMethodCriteria = null)
    {
        $this
            ->setPaymentMethodCriteria($paymentMethodCriteria);
    }
    /**
     * Get PaymentMethodCriteria value
     * @return \StructType\PaymentMethodCriteriaType|null
     */
    public function getPaymentMethodCriteria()
    {
        return $this->PaymentMethodCriteria;
    }
    /**
     * Set PaymentMethodCriteria value
     * @param \StructType\PaymentMethodCriteriaType $paymentMethodCriteria
     * @return \StructType\PaymentFunctionsCriteriaType
     */
    public function setPaymentMethodCriteria(\StructType\PaymentMethodCriteriaType $paymentMethodCriteria = null)
    {
        $this->PaymentMethodCriteria = $paymentMethodCriteria;
        return $this;
    }
}
