Skip to content

Commit e94683e

Browse files
Merge pull request #50 from alexanderjordanbaker/UpdateListDocLinks
Add URL links to docs for items that are a List
2 parents 72ff5ed + f89c61e commit e94683e

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

Sources/AppStoreServerLibrary/Models/NotificationHistoryResponse.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@ public struct NotificationHistoryResponse: Decodable, Encodable, Hashable {
2222
public var hasMore: Bool?
2323

2424
///An array of App Store server notification history records.
25+
///
26+
///[notificationHistoryResponseItem](https://developer.apple.com/documentation/appstoreserverapi/notificationhistoryresponseitem)
2527
public var notificationHistory: [NotificationHistoryResponseItem]?
2628
}

Sources/AppStoreServerLibrary/Models/NotificationTypeV2.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) 2023 Apple Inc. Licensed under MIT License.
22

3-
///A notification type value that App Store Server Notifications V2 uses.
3+
///The type that describes the in-app purchase or external purchase event for which the App Store sends the version 2 notification.
44
///
5-
///[notificationType](https://developer.apple.com/documentation/appstoreserverapi/notificationtype)
5+
///[notificationType](https://developer.apple.com/documentation/appstoreservernotifications/notificationtype)
66
public enum NotificationTypeV2: String, Decodable, Encodable, Hashable {
77
case subscribed = "SUBSCRIBED"
88
case didChangeRenewalPref = "DID_CHANGE_RENEWAL_PREF"

Sources/AppStoreServerLibrary/Models/OrderLookupResponse.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,7 @@ public struct OrderLookupResponse: Decodable, Encodable, Hashable {
3131
public var rawStatus: Int32?
3232

3333
///An array of in-app purchase transactions that are part of order, signed by Apple, in JSON Web Signature format.
34+
///
35+
///[JWSTransaction](https://developer.apple.com/documentation/appstoreserverapi/jwstransaction)
3436
public var signedTransactions: [String]?
3537
}

Sources/AppStoreServerLibrary/Models/RefundHistoryResponse.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public struct RefundHistoryResponse: Decodable, Encodable, Hashable {
1212
}
1313

1414
///A list of up to 20 JWS transactions, or an empty array if the customer hasn't received any refunds in your app. The transactions are sorted in ascending order by revocationDate.
15+
///
16+
///[JWSTransaction](https://developer.apple.com/documentation/appstoreserverapi/jwstransaction)
1517
public var signedTransactions: [String]?
1618

1719
///A token you use in a query to request the next set of transactions for the customer.

Sources/AppStoreServerLibrary/Models/SubscriptionGroupIdentifierItem.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,7 @@ public struct SubscriptionGroupIdentifierItem: Decodable, Encodable, Hashable {
1616
public var subscriptionGroupIdentifier: String?
1717

1818
///An array of the most recent App Store-signed transaction information and App Store-signed renewal information for all auto-renewable subscriptions in the subscription group.
19+
///
20+
///[lastTransactionsItem](https://developer.apple.com/documentation/appstoreserverapi/lasttransactionsitem)
1921
public var lastTransactions: [LastTransactionsItem]?
2022
}

Sources/AppStoreServerLibrary/Models/Subtype.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// Copyright (c) 2023 Apple Inc. Licensed under MIT License.
22

3-
///A notification subtype value that App Store Server Notifications 2 uses.
3+
///A string that provides details about select notification types in version 2.
44
///
5-
///[notificationSubtype](https://developer.apple.com/documentation/appstoreserverapi/notificationsubtype)
5+
///[subtype](https://developer.apple.com/documentation/appstoreservernotifications/subtype)
66
public enum Subtype: String, Decodable, Encodable, Hashable {
77
case initialBuy = "INITIAL_BUY"
88
case resubscribe = "RESUBSCRIBE"

0 commit comments

Comments
 (0)