Commit cd685090 by Jonathan Baker

Add generics to BUYProductVariant.

parent 1a35bc2d
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#import "BUYObject.h" #import "BUYObject.h"
@class BUYProduct; @class BUYProduct;
@class BUYOptionValue;
/** /**
* A BUYProductVariant is a different version of a product, such as differing sizes or differing colours. * A BUYProductVariant is a different version of a product, such as differing sizes or differing colours.
...@@ -46,7 +47,7 @@ ...@@ -46,7 +47,7 @@
/** /**
* Custom properties that a shop owner can use to define BUYProductVariants. * Custom properties that a shop owner can use to define BUYProductVariants.
*/ */
@property (nonatomic, readonly, copy) NSArray *options; @property (nonatomic, readonly, copy) NSArray<BUYOptionValue *> *options;
/** /**
* The price of the BUYProductVariant. * The price of the BUYProductVariant.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment