TransactionOutputModel

open class TransactionOutputModel

This Model Class Holds All The Output Attributes For TransactionDetailsAsynctask

  • Indicates the different type of payment method

    Declaration

    Swift

    open var paymentMethod: String?
  • Indicates the status of the transaction

    Declaration

    Swift

    open var transactionStatus: String?
  • Indicates the amount

    Declaration

    Swift

    open var amount: String?
  • Indicates the unique identification of perticular invoice

    Declaration

    Swift

    open var invoiceId: String?
  • Indicates the order number

    Declaration

    Swift

    open var orderNumber: String?
  • Indicates the name of perticular plan

    Declaration

    Swift

    open var palnName: String?
  • Indicates for json response code

    Declaration

    Swift

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

    Declaration

    Swift

    open var status:String?
  • msg

    Indicates for json response message

    Declaration

    Swift

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

    • code: For getting the json response code
    • contentTypesId: For getting the content type ID
    • isShow: For getting isShow content
    • isSeason: For getting isSeason content
    • isEpisode: For getting isEpisode content
    • status: For get the json response status
    • msg: For get the json response message

    Declaration

    Swift

    public init(paymentMethod:String, transactionStatus:String, amount:String, invoiceId:String,orderNumber:String,palnName:String,code:Int, status:String, msg:String )

    Parameters

    code

    For getting the json response code

    status

    For get the json response status

    msg

    For get the json response message