BTNItem Class Reference
| Inherits from | BTNBaseEntity : BTNModelObject |
|---|---|
| Declared in | BTNItem.h |
+ itemWithName:SKU:
Returns an new instance with a name and SKU.
+ (instancetype)itemWithName:(NSString *)name SKU:(NSString *)SKUParameters
name |
The name of the item. |
|---|---|
SKU |
The item SKU. |
Discussion
Returns an new instance with a name and SKU.
Declared In
BTNItem.h
+ itemWithName:UPC:
Returns an new instance with a name and UPC.
+ (instancetype)itemWithName:(NSString *)name UPC:(NSString *)UPCParameters
name |
The name of the item. |
|---|---|
UPC |
The item UPC. |
Discussion
Returns an new instance with a name and UPC.
Declared In
BTNItem.h
+ itemWithSKU:
Returns an new instance with a SKU.
+ (instancetype)itemWithSKU:(NSString *)SKUParameters
SKU |
The item SKU. |
|---|
Discussion
Returns an new instance with a SKU.
Declared In
BTNItem.h
+ itemWithUPC:
Returns an new instance with a UPC.
+ (instancetype)itemWithUPC:(NSString *)UPCParameters
UPC |
The item UPC. |
|---|
Discussion
Returns an new instance with a UPC.
Declared In
BTNItem.h
– setSKU:
Sets the SKU of the item.
- (void)setSKU:(NSString *)SKUDiscussion
Sets the SKU of the item.
Declared In
BTNItem.h
– setUPC:
Sets the UPC of the item.
- (void)setUPC:(NSString *)UPCDiscussion
Sets the UPC of the item.
Declared In
BTNItem.h