PHP Trait WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodAwareTrait

Author: Adam Piotrowski ([email protected])
Show file Open project: wellcommerce/wellcommerce

Protected Properties

Property Type Description
$paymentMethod

Public Methods

Method Description
getPaymentMethod ( ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface
hasPaymentMethod ( ) : boolean
setPaymentMethod ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface $paymentMethod )

Method Details

getPaymentMethod() public method

public getPaymentMethod ( ) : WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface
return WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface

hasPaymentMethod() public method

public hasPaymentMethod ( ) : boolean
return boolean

setPaymentMethod() public method

public setPaymentMethod ( WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface $paymentMethod )
$paymentMethod WellCommerce\Bundle\PaymentBundle\Entity\PaymentMethodInterface

Property Details

$paymentMethod protected property

protected $paymentMethod