PHP Class WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethod

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\DoctrineBundle\Entity\AbstractEntity, implements WellCommerce\Bundle\ShippingBundle\Entity\ShippingMethodInterface, use trait Knp\DoctrineBehaviors\Model\Translatable\Translatable, use trait Knp\DoctrineBehaviors\Model\Timestampable\Timestampable, use trait Knp\DoctrineBehaviors\Model\Blameable\Blameable, use trait WellCommerce\Bundle\DoctrineBundle\Behaviours\Enableable\EnableableTrait, use trait WellCommerce\Bundle\AppBundle\Entity\HierarchyAwareTrait, use trait WellCommerce\Bundle\TaxBundle\Entity\TaxAwareTrait
Show file Open project: wellcommerce/wellcommerce Class Usage Examples

Protected Properties

Property Type Description
$calculator string
$costs Doctrine\Common\Collections\Collection
$currency string
$paymentMethods Doctrine\Common\Collections\Collection

Public Methods

Method Description
getCalculator ( ) : string
getCosts ( ) : Doctrine\Common\Collections\Collection
getCurrency ( ) : WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface
getPaymentMethods ( ) : Doctrine\Common\Collections\Collection
setCalculator ( string $calculator )
setCosts ( Doctrine\Common\Collections\Collection $costs )
setCurrency ( WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface $currency )

Method Details

getCalculator() public method

public getCalculator ( ) : string
return string

getCosts() public method

public getCosts ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

getCurrency() public method

public getCurrency ( ) : WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface
return WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface

getPaymentMethods() public method

public getPaymentMethods ( ) : Doctrine\Common\Collections\Collection
return Doctrine\Common\Collections\Collection

setCalculator() public method

public setCalculator ( string $calculator )
$calculator string

setCosts() public method

public setCosts ( Doctrine\Common\Collections\Collection $costs )
$costs Doctrine\Common\Collections\Collection

setCurrency() public method

public setCurrency ( WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface $currency )
$currency WellCommerce\Bundle\CurrencyBundle\Entity\CurrencyInterface

Property Details

$calculator protected property

protected string $calculator
return string

$costs protected property

protected Collection,Doctrine\Common\Collections $costs
return Doctrine\Common\Collections\Collection

$currency protected property

protected string $currency
return string

$paymentMethods protected property

protected Collection,Doctrine\Common\Collections $paymentMethods
return Doctrine\Common\Collections\Collection