Skip to content

Commit

Permalink
Merge pull request #59 from dietmap/change-appstore-notification-stat…
Browse files Browse the repository at this point in the history
…us-request-body

Set 'environment' as optional for AppStore subscription status notifi…
  • Loading branch information
mhuta authored Oct 6, 2022
2 parents 6cf8e40 + 7824c82 commit 98b6916
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import com.fasterxml.jackson.annotation.JsonProperty
import java.io.Serializable

data class StatusUpdateNotification(
@get:JsonProperty("environment") val environment: String,
@get:JsonProperty("environment") val environment: String?,
@get:JsonProperty("notification_type") val notificationType: AppStoreNotificationType,
@get:JsonProperty("latest_receipt") val latestReceipt: String?,
@get:JsonProperty("latest_receipt_info") val latestReceiptInfo: LatestReceiptInfo,
Expand All @@ -23,7 +23,7 @@ data class StatusUpdateNotification(


data class UnifiedReceipt(
@get:JsonProperty("environment") val environment: String,
@get:JsonProperty("environment") val environment: String?,
@get:JsonProperty("latest_receipt") val latestReceipt: String?,
@get:JsonProperty("latest_receipt_info") val latestReceiptInfo: Collection<LatestReceiptInfo>?,
@get:JsonProperty("pending_renewal_info") val pendingRenewalInfo: Collection<PendingRenewalInfo>?,
Expand Down

0 comments on commit 98b6916

Please sign in to comment.