Skip to content

Commit

Permalink
Merge pull request #50 from alexanderjordanbaker/UpdateListDocLinks
Browse files Browse the repository at this point in the history
Add URL links to docs for items that are a List
  • Loading branch information
alexanderjordanbaker committed May 6, 2024
2 parents 72ff5ed + f89c61e commit e94683e
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,7 @@ public struct NotificationHistoryResponse: Decodable, Encodable, Hashable {
public var hasMore: Bool?

///An array of App Store server notification history records.
///
///[notificationHistoryResponseItem](https://developer.apple.com/documentation/appstoreserverapi/notificationhistoryresponseitem)
public var notificationHistory: [NotificationHistoryResponseItem]?
}
4 changes: 2 additions & 2 deletions Sources/AppStoreServerLibrary/Models/NotificationTypeV2.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright (c) 2023 Apple Inc. Licensed under MIT License.

///A notification type value that App Store Server Notifications V2 uses.
///The type that describes the in-app purchase or external purchase event for which the App Store sends the version 2 notification.
///
///[notificationType](https://developer.apple.com/documentation/appstoreserverapi/notificationtype)
///[notificationType](https://developer.apple.com/documentation/appstoreservernotifications/notificationtype)
public enum NotificationTypeV2: String, Decodable, Encodable, Hashable {
case subscribed = "SUBSCRIBED"
case didChangeRenewalPref = "DID_CHANGE_RENEWAL_PREF"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ public struct OrderLookupResponse: Decodable, Encodable, Hashable {
public var rawStatus: Int32?

///An array of in-app purchase transactions that are part of order, signed by Apple, in JSON Web Signature format.
///
///[JWSTransaction](https://developer.apple.com/documentation/appstoreserverapi/jwstransaction)
public var signedTransactions: [String]?
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ public struct RefundHistoryResponse: Decodable, Encodable, Hashable {
}

///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.
///
///[JWSTransaction](https://developer.apple.com/documentation/appstoreserverapi/jwstransaction)
public var signedTransactions: [String]?

///A token you use in a query to request the next set of transactions for the customer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ public struct SubscriptionGroupIdentifierItem: Decodable, Encodable, Hashable {
public var subscriptionGroupIdentifier: String?

///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.
///
///[lastTransactionsItem](https://developer.apple.com/documentation/appstoreserverapi/lasttransactionsitem)
public var lastTransactions: [LastTransactionsItem]?
}
4 changes: 2 additions & 2 deletions Sources/AppStoreServerLibrary/Models/Subtype.swift
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright (c) 2023 Apple Inc. Licensed under MIT License.

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

0 comments on commit e94683e

Please sign in to comment.