MonitizerOutputModel

open class MonitizerOutputModel

This Model Class Holds All The Output Attributes For MonitizerAsyntask

  • Indicates for json response code

    Declaration

    Swift

    open var code: Int?
  • Indicates the advance purchase content

    Declaration

    Swift

    open var preOrder: Int?
  • Indicates the voucher code which is send frm CMS for obtaining discount while purchasing

    Declaration

    Swift

    open var voucher: Int?
  • Indicates for json response status

    Declaration

    Swift

    open var status:String?
  • msg

    Indicates for json response msg

    Declaration

    Swift

    open var msg:String?
  • Initializer method to create a new object for MonitizerOutputModel class

    • code: For setting the code
    • preOrder: For the advance purchase content
    • voucher: For setting the voucher
    • status: For setting the status
    • msg: For setting the message

    Declaration

    Swift

    public init(code:Int, preOrder:Int, voucher:Int, status:String, msg:String )

    Parameters

    code

    For setting the code

    preOrder

    For the advance purchase content

    voucher

    For setting the voucher

    status

    For setting the status

    msg

    For setting the message