Inherits from NSObject
Declared in OIOrderItem.h
OIOrderItem.m

Overview

Class contain informations about order item.

Tasks

  •   ID

    The id of the item.

    property
  •   name

    The name of the item.

    property
  •   price

    The price of the item in cents.

    property
  •   quantity

    The quantity ordered.

    property
  •   opts

    An array of hashes, each hash represents an option ordered with the main item. Each option is of the same format as the item

    property

Properties

ID

The id of the item.

@property (nonatomic, copy) NSString *ID

Discussion

The id of the item.

Declared In

OIOrderItem.h

name

The name of the item.

@property (nonatomic, copy) NSString *name

Discussion

The name of the item.

Declared In

OIOrderItem.h

opts

An array of hashes, each hash represents an option ordered with the main item. Each option is of the same format as the item

@property (nonatomic, retain) NSMutableArray *opts

Discussion

An array of hashes, each hash represents an option ordered with the main item. Each option is of the same format as the item

Declared In

OIOrderItem.h

price

The price of the item in cents.

@property (nonatomic, retain) NSNumber *price

Discussion

The price of the item in cents.

Declared In

OIOrderItem.h

quantity

The quantity ordered.

@property (nonatomic, retain) NSNumber *quantity

Discussion

The quantity ordered.

Declared In

OIOrderItem.h