@@ -6,7 +6,7 @@ import Foundation
6
6
///[JWSTransactionDecodedPayload](https://developer.apple.com/documentation/appstoreserverapi/jwstransactiondecodedpayload)
7
7
public struct JWSTransactionDecodedPayload : DecodedSignedData , Decodable , Encodable , Hashable {
8
8
9
- init ( originalTransactionId: String ? = nil , transactionId: String ? = nil , webOrderLineItemId: String ? = nil , bundleId: String ? = nil , productId: String ? = nil , subscriptionGroupIdentifier: String ? = nil , purchaseDate: Date ? = nil , originalPurchaseDate: Date ? = nil , expiresDate: Date ? = nil , quantity: Int32 ? = nil , type: ProductType ? = nil , appAccountToken: UUID ? = nil , inAppOwnershipType: InAppOwnershipType ? = nil , signedDate: Date ? = nil , revocationReason: RevocationReason ? = nil , revocationDate: Date ? = nil , isUpgraded: Bool ? = nil , offerType: OfferType ? = nil , offerIdentifier: String ? = nil , environment: Environment ? = nil , storefront: String ? = nil , storefrontId: String ? = nil , transactionReason: TransactionReason ? = nil , currency: String ? = nil , price: Int32 ? = nil , offerDiscountType: OfferDiscountType ? = nil ) {
9
+ public init ( originalTransactionId: String ? = nil , transactionId: String ? = nil , webOrderLineItemId: String ? = nil , bundleId: String ? = nil , productId: String ? = nil , subscriptionGroupIdentifier: String ? = nil , purchaseDate: Date ? = nil , originalPurchaseDate: Date ? = nil , expiresDate: Date ? = nil , quantity: Int32 ? = nil , type: ProductType ? = nil , appAccountToken: UUID ? = nil , inAppOwnershipType: InAppOwnershipType ? = nil , signedDate: Date ? = nil , revocationReason: RevocationReason ? = nil , revocationDate: Date ? = nil , isUpgraded: Bool ? = nil , offerType: OfferType ? = nil , offerIdentifier: String ? = nil , environment: Environment ? = nil , storefront: String ? = nil , storefrontId: String ? = nil , transactionReason: TransactionReason ? = nil , currency: String ? = nil , price: Int32 ? = nil , offerDiscountType: OfferDiscountType ? = nil ) {
10
10
self . originalTransactionId = originalTransactionId
11
11
self . transactionId = transactionId
12
12
self . webOrderLineItemId = webOrderLineItemId
@@ -35,7 +35,7 @@ public struct JWSTransactionDecodedPayload: DecodedSignedData, Decodable, Encoda
35
35
self . offerDiscountType = offerDiscountType
36
36
}
37
37
38
- init ( originalTransactionId: String ? = nil , transactionId: String ? = nil , webOrderLineItemId: String ? = nil , bundleId: String ? = nil , productId: String ? = nil , subscriptionGroupIdentifier: String ? = nil , purchaseDate: Date ? = nil , originalPurchaseDate: Date ? = nil , expiresDate: Date ? = nil , quantity: Int32 ? = nil , rawType: String ? = nil , appAccountToken: UUID ? = nil , rawInAppOwnershipType: String ? = nil , signedDate: Date ? = nil , rawRevocationReason: Int32 ? = nil , revocationDate: Date ? = nil , isUpgraded: Bool ? = nil , rawOfferType: Int32 ? = nil , offerIdentifier: String ? = nil , rawEnvironment: String ? = nil , storefront: String ? = nil , storefrontId: String ? = nil , rawTransactionReason: String ? = nil , currency: String ? = nil , price: Int32 ? = nil , rawOfferDiscountType: String ? = nil ) {
38
+ public init ( originalTransactionId: String ? = nil , transactionId: String ? = nil , webOrderLineItemId: String ? = nil , bundleId: String ? = nil , productId: String ? = nil , subscriptionGroupIdentifier: String ? = nil , purchaseDate: Date ? = nil , originalPurchaseDate: Date ? = nil , expiresDate: Date ? = nil , quantity: Int32 ? = nil , rawType: String ? = nil , appAccountToken: UUID ? = nil , rawInAppOwnershipType: String ? = nil , signedDate: Date ? = nil , rawRevocationReason: Int32 ? = nil , revocationDate: Date ? = nil , isUpgraded: Bool ? = nil , rawOfferType: Int32 ? = nil , offerIdentifier: String ? = nil , rawEnvironment: String ? = nil , storefront: String ? = nil , storefrontId: String ? = nil , rawTransactionReason: String ? = nil , currency: String ? = nil , price: Int32 ? = nil , rawOfferDiscountType: String ? = nil ) {
39
39
self . originalTransactionId = originalTransactionId
40
40
self . transactionId = transactionId
41
41
self . webOrderLineItemId = webOrderLineItemId
0 commit comments