Skip to content

Commit b16d15a

Browse files
author
Lars Steiger
committed
Corrected return declaration of FsprgOrderItem#subscriptionCustomerURL.
1 parent 9cdb9f1 commit b16d15a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

FsprgEmbeddedStore/Model/FsprgOrderItem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ - (NSString *)subscriptionReference
6767
return [[self raw] valueForKey:@"SubscriptionReference"];
6868
}
6969

70-
- (NSString *)subscriptionCustomerURL
70+
- (NSURL *)subscriptionCustomerURL
7171
{
7272
return [NSURL URLWithString:[[self raw] valueForKey:@"SubscriptionCustomerURL"]];
7373
}

README.mdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ Here's a real-life example to show the most common case of grabbing the serial n
140140
- (NSNumber *)itemTotal;
141141
- (NSNumber *)itemTotalUSD;
142142
- (NSString *)subscriptionReference; // See https://support.fastspring.com/entries/236487-api-subscriptions
143-
- (NSString *)subscriptionCustomerURL; // This URL can be presented to the customer to manage their subscription.
143+
- (NSURL *)subscriptionCustomerURL; // This URL can be presented to the customer to manage their subscription.
144144
- (FsprgFulfillment *)fulfillment;
145145
- (FsprgLicense *)license; // Shortcut for [[self fulfillment] valueForKey:@"license"]
146146
- (FsprgFileDownload *)download; // Shortcut for [[self fulfillment] valueForKey:@"download"]

0 commit comments

Comments
 (0)