Resource Description for MealPrice

Properties for MealPrice

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
effectiveDate DateTime
endDate DateTime
mealProvisionPriceCategory MealProvisionPriceCategory
priceExVat string
vatAmount string
vatRate VatRate

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\MealPrice;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$mealPrice = MealPrice::retrieve(5433);

$meal = $mealPrice->getMeal();
$mealProvision = $mealPrice->getMealProvision();
$amount = $mealPrice->getAmount();
$vatRate = $mealPrice->getVatRate();
$appliesTo = $mealPrice->getAppliesTo();
$effectiveDate = $mealPrice->getEffectiveDate();
$endDate = $mealPrice->getEndDate();

 

Related Resources