VoucherSubscriptionInputModel

open class VoucherSubscriptionInputModel

This Model Class Holds All The Input Attributes For voucherSubscriptionAsyntask

  • Indicates the unique identification of movie

    Declaration

    Swift

    open var movieId: String
  • Unique identification of studio

    Declaration

    Swift

    open var authToken : String
  • Indicates unique idenification of user

    Declaration

    Swift

    open var userId: String
  • Indicates the unique identification of a perticular stream

    Declaration

    Swift

    open var streamId: String
  • Indicates the Season number

    Declaration

    Swift

    open var season: String
  • Indicates the purchaseType whether it ia an episode or a show

    Declaration

    Swift

    open var purchaseType: String
  • Indicates the description of content type in voucher

    Declaration

    Swift

    open var voucherCode: String
  • Indicates for future purchase content

    Declaration

    Swift

    open var isPreorder: String
  • Initializer method to create a new object for VoucherSubscriptionInputModel class

    • authToken: Unique identification of studio
    • userId: Unique identification of user
    • streamId: Unique identification of stream
    • movieId: Unique identification of movie
    • season: The Season number
    • purchaseType: The description of content type in voucher
    • voucherCode: The description of content type in voucher
    • isPreorder: For future purchase content

    Declaration

    Swift

    public init(authToken: String, userId: String,streamId: String,movieId:String, season:String, purchaseType: String,voucherCode: String,isPreorder: String)

    Parameters

    authToken

    Unique identification of studio

    userId

    Unique identification of user

    streamId

    Unique identification of stream

    movieId

    Unique identification of movie

    season

    The Season number

    purchaseType

    The description of content type in voucher

    voucherCode

    The description of content type in voucher

    isPreorder

    For future purchase content