Resource Description for Meal

Properties for Meal

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
academicYear AcademicYear
copiedToMeal Meal
customerAccountType CustomerAccountType
effectiveDate DateTime
endDate DateTime
mealName string

SDK Example for PHP

<?PHP

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

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

$meal = Meal::retrieve(5433);

$mealName = $meal->getMealName();

 

Related Resources