Commit 057a011c by David Muzi Committed by GitHub

Merge pull request #249 from Shopify/task/remove-public-product-url

Remove public product url
parents 39fe7b7b 7afb129b
...@@ -705,12 +705,6 @@ ...@@ -705,12 +705,6 @@
<entry key="documentation" value="A categorization that a product can be tagged with, commonly used for filtering and searching."/> <entry key="documentation" value="A categorization that a product can be tagged with, commonly used for filtering and searching."/>
</userInfo> </userInfo>
</attribute> </attribute>
<attribute name="publicURL" optional="YES" attributeType="Transformable" syncable="YES">
<userInfo>
<entry key="attributeValueClassName" value="NSURL"/>
<entry key="documentation" value="A publically accessible link to the product web page"/>
</userInfo>
</attribute>
<attribute name="published" optional="YES" attributeType="Boolean" syncable="YES"> <attribute name="published" optional="YES" attributeType="Boolean" syncable="YES">
<userInfo> <userInfo>
<entry key="documentation" value="The product is published on the current sales channel."/> <entry key="documentation" value="The product is published on the current sales channel."/>
...@@ -1004,7 +998,7 @@ ...@@ -1004,7 +998,7 @@
<element name="Option" positionX="-576" positionY="907" width="128" height="105"/> <element name="Option" positionX="-576" positionY="907" width="128" height="105"/>
<element name="OptionValue" positionX="-387" positionY="907" width="128" height="105"/> <element name="OptionValue" positionX="-387" positionY="907" width="128" height="105"/>
<element name="Order" positionX="682" positionY="922" width="128" height="180"/> <element name="Order" positionX="682" positionY="922" width="128" height="180"/>
<element name="Product" positionX="-765" positionY="712" width="128" height="300"/> <element name="Product" positionX="-765" positionY="712" width="128" height="285"/>
<element name="ProductVariant" positionX="-182" positionY="787" width="128" height="240"/> <element name="ProductVariant" positionX="-182" positionY="787" width="128" height="240"/>
<element name="ShippingRate" positionX="531" positionY="1035" width="128" height="135"/> <element name="ShippingRate" positionX="531" positionY="1035" width="128" height="135"/>
<element name="Shop" positionX="-279" positionY="450" width="128" height="255"/> <element name="Shop" positionX="-279" positionY="450" width="128" height="255"/>
......
...@@ -37,7 +37,6 @@ extern const struct BUYProductAttributes { ...@@ -37,7 +37,6 @@ extern const struct BUYProductAttributes {
__unsafe_unretained NSString *htmlDescription; __unsafe_unretained NSString *htmlDescription;
__unsafe_unretained NSString *identifier; __unsafe_unretained NSString *identifier;
__unsafe_unretained NSString *productType; __unsafe_unretained NSString *productType;
__unsafe_unretained NSString *publicURL;
__unsafe_unretained NSString *published; __unsafe_unretained NSString *published;
__unsafe_unretained NSString *publishedAt; __unsafe_unretained NSString *publishedAt;
__unsafe_unretained NSString *tags; __unsafe_unretained NSString *tags;
...@@ -62,8 +61,6 @@ extern const struct BUYProductUserInfo { ...@@ -62,8 +61,6 @@ extern const struct BUYProductUserInfo {
@class BUYOption; @class BUYOption;
@class BUYProductVariant; @class BUYProductVariant;
@class NSURL;
@class NSSet; @class NSSet;
@class BUYProduct; @class BUYProduct;
...@@ -121,11 +118,6 @@ extern const struct BUYProductUserInfo { ...@@ -121,11 +118,6 @@ extern const struct BUYProductUserInfo {
@property (nonatomic, strong) NSString* productType; @property (nonatomic, strong) NSString* productType;
/** /**
* A publically accessible link to the product web page
*/
@property (nonatomic, strong) NSURL* publicURL;
/**
* The product is published on the current sales channel. * The product is published on the current sales channel.
*/ */
@property (nonatomic, strong) NSNumber* published; @property (nonatomic, strong) NSNumber* published;
...@@ -250,9 +242,6 @@ extern const struct BUYProductUserInfo { ...@@ -250,9 +242,6 @@ extern const struct BUYProductUserInfo {
- (NSString*)primitiveProductType; - (NSString*)primitiveProductType;
- (void)setPrimitiveProductType:(NSString*)value; - (void)setPrimitiveProductType:(NSString*)value;
- (NSURL*)primitivePublicURL;
- (void)setPrimitivePublicURL:(NSURL*)value;
- (NSNumber*)primitivePublished; - (NSNumber*)primitivePublished;
- (void)setPrimitivePublished:(NSNumber*)value; - (void)setPrimitivePublished:(NSNumber*)value;
......
...@@ -35,7 +35,6 @@ const struct BUYProductAttributes BUYProductAttributes = { ...@@ -35,7 +35,6 @@ const struct BUYProductAttributes BUYProductAttributes = {
.htmlDescription = @"htmlDescription", .htmlDescription = @"htmlDescription",
.identifier = @"identifier", .identifier = @"identifier",
.productType = @"productType", .productType = @"productType",
.publicURL = @"publicURL",
.published = @"published", .published = @"published",
.publishedAt = @"publishedAt", .publishedAt = @"publishedAt",
.tags = @"tags", .tags = @"tags",
...@@ -162,19 +161,6 @@ const struct BUYProductUserInfo BUYProductUserInfo = { ...@@ -162,19 +161,6 @@ const struct BUYProductUserInfo BUYProductUserInfo = {
[self didChangeValueForKey:@"productType"]; [self didChangeValueForKey:@"productType"];
} }
- (NSURL*)publicURL {
[self willAccessValueForKey:@"publicURL"];
id value = [self primitiveValueForKey:@"publicURL"];
[self didAccessValueForKey:@"publicURL"];
return value;
}
- (void)setPublicURL:(NSURL*)value_ {
[self willChangeValueForKey:@"publicURL"];
[self setPrimitiveValue:value_ forKey:@"publicURL"];
[self didChangeValueForKey:@"publicURL"];
}
- (NSNumber*)published { - (NSNumber*)published {
[self willAccessValueForKey:@"published"]; [self willAccessValueForKey:@"published"];
id value = [self primitiveValueForKey:@"published"]; id value = [self primitiveValueForKey:@"published"];
......
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