Inherits from NSObject
Declared in OIDelivery.h
OIDelivery.m

Overview

Class contain informations about restaurant delivery.

Tasks

  •   available

    Says if delivery is avalible or not.

    property
  •   minimumAmount

    The minimum order for the requested delivery time and address.

    property
  •   expectedTime

    The expected delivery time in minutes for the requested delivery time and address.

    property
  •   message

    If it is not delivering, msg contains the reason why.

    property
  •   meals

    Meals that are being delivered at the requested time.

    property
  •   ID

    Delivery identifier.

    property
  •   fee

    The fee to charge in dollars and cents.

    property
  •   tax

    The tax to charge in dollars and cents.

    property

Properties

ID

Delivery identifier.

@property (nonatomic, readwrite, copy) NSString *ID

Discussion

Delivery identifier.

Declared In

OIDelivery.h

available

Says if delivery is avalible or not.

@property (nonatomic, readwrite, assign, getter=isAvailable) BOOL available

Discussion

Says if delivery is avalible or not.

Declared In

OIDelivery.h

expectedTime

The expected delivery time in minutes for the requested delivery time and address.

@property (nonatomic, readwrite, retain) NSDate *expectedTime

Discussion

The expected delivery time in minutes for the requested delivery time and address.

Declared In

OIDelivery.h

fee

The fee to charge in dollars and cents.

@property (nonatomic, readwrite, retain) NSNumber *fee

Discussion

The fee to charge in dollars and cents.

Declared In

OIDelivery.h

meals

Meals that are being delivered at the requested time.

@property (nonatomic, readwrite, retain) NSArray *meals

Discussion

Meals that are being delivered at the requested time.

Declared In

OIDelivery.h

message

If it is not delivering, msg contains the reason why.

@property (nonatomic, readwrite, copy) NSString *message

Discussion

If it is not delivering, msg contains the reason why.

Declared In

OIDelivery.h

minimumAmount

The minimum order for the requested delivery time and address.

@property (nonatomic, readwrite, retain) NSNumber *minimumAmount

Discussion

The minimum order for the requested delivery time and address.

Declared In

OIDelivery.h

tax

The tax to charge in dollars and cents.

@property (nonatomic, readwrite, retain) NSNumber *tax

Discussion

The tax to charge in dollars and cents.

Declared In

OIDelivery.h