PPVCheckInputModel

open class PPVCheckInputModel

This Model Class Holds All The Input Attributes For PPVCheckAsynctask

  • 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 movie

    Declaration

    Swift

    open var movieId:String?
  • Indicates the unique identification of Season

    Declaration

    Swift

    open var seasonId: String?
  • Indicates the unique identification of perticular episode

    Declaration

    Swift

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

    Declaration

    Swift

    open var purchaseType:String?
  • Initializer method to create a new object for PPVCheckInputModel class

    • authToken: Unique identification of studio
    • user_id: Unique identification of user
    • movie_id: Unique identification of movie
    • season_id: For setting the season id
    • episode_id: For setting the episode id
    • purchase_type: For setting the purchase type

    Declaration

    Swift

    public init(authToken:String, userId:String, movieId:String,seasonId:String, episodeId:String, purchaseType:String )

    Parameters

    authToken

    Unique identification of studio