ZSPromotionalOfferSignature

public struct ZSPromotionalOfferSignature

Undocumented

  • The id property of the SubscriptionOffer to apply.

    Declaration

    Swift

    public var offerID: String
  • The cryptographic signature of the offer parameters, generated on your server.

    Declaration

    Swift

    public var signature: Data
  • The key ID of the private key used to generate signature. The private key and key ID can be generated on App Store Connect.

    Declaration

    Swift

    public var keyID: String
  • The nonce used in signature.

    Declaration

    Swift

    public var nonce: UUID
  • The time the signature was generated in milliseconds since 1970.

    Declaration

    Swift

    public var timestamp: Int
  • Undocumented

    Declaration

    Swift

    public init(offerID: String, signature: Data, keyID: String, nonce: UUID, timestamp: Int)