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 *)SKU
Parameters
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 *)UPC
Parameters
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 *)SKU
Parameters
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 *)UPC
Parameters
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 *)SKU
Discussion
Sets the SKU of the item.
Declared In
BTNItem.h
– setUPC:
Sets the UPC of the item.
- (void)setUPC:(NSString *)UPC
Discussion
Sets the UPC of the item.
Declared In
BTNItem.h