PurchaseOutputModel

open class PurchaseOutputModel

This Model Class Holds All The Input Attributes For PurchaseAsynTask

  • Indicates the unique identification for invoice

    Declaration

    Swift

    open var invoiceID: String?
  • Indicates the unique identifcation of order

    Declaration

    Swift

    open var orderID: String?
  • Indicates the date of purchase

    Declaration

    Swift

    open  var purchaseDate : String?
  • Indicates the expiry date

    Declaration

    Swift

    open var expiryDate: String?
  • Indicates for content type

    Declaration

    Swift

    open var contentType: String?
  • variable for ppv status

    Declaration

    Swift

    open var ppvStatus: String?
  • variable for amount

    Declaration

    Swift

    open var amount: String?
  • variable for transaction status

    Declaration

    Swift

    open var transactionStatus : String?
  • variable for plan name

    Declaration

    Swift

    open var planName: String?
  • variable for code

    Declaration

    Swift

    open var code:Int?
  • variable for status

    Declaration

    Swift

    open var status:String?
  • msg

    variable for message

    Declaration

    Swift

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

    • invoiceID: For setting the invoice id
    • orderID: For setting the order id
    • purchaseDate: For setting the purchase date
    • expiryDate: For setting the expiry date
    • contentType: For setting the content type
    • ppvStatus: For setting the ppv Status
    • amount: For setting the amount
    • transactionStatus: For setting the transaction status
    • planName: For setting the plan name
    • code: For setting the code
    • status: For setting the status
    • msg: For setting the message

    Declaration

    Swift

    public init(invoiceID: String, orderID: String,purchaseDate : String,expiryDate: String,
                contentType: String, ppvStatus: String, amount: String, transactionStatus:String, planName:String, code:Int,status:String, msg:String)

    Parameters

    invoiceID

    For setting the invoice id

    orderID

    For setting the order id

    purchaseDate

    For setting the purchase date

    expiryDate

    For setting the expiry date

    contentType

    For setting the content type

    ppvStatus

    For setting the ppv Status

    amount

    For setting the amount

    transactionStatus

    For setting the transaction status

    planName

    For setting the plan name

    code

    For setting the code

    status

    For setting the status

    msg

    For setting the message