im calling api https://api.quickpay.net/payments/Payment ID. Before using call back the response was perfectly decoding.After using callback url "callback_response_code": "200", is coming as Int whereas QPOperation callback_response_code is Int? and i cant modify code in SPM what should i do???
public class QPOperation : Codable {
// MARK: - Properties
public var id: Int
public var type: String?
public var amount: Int?
public var pending: Bool?
public var qp_status_code: String?
public var qp_status_msg: String?
public var aq_status_msg: String?
public var aqStatusMsg: String?
public var data: Dictionary<String, String>?
public var callback_url: String?
public var callback_success: Bool?
public var callback_response_code: Int?
public var callback_duration: Int?
public var acquirer: String?
public var callback_at: String?
public var created_at: String?
}
im calling api https://api.quickpay.net/payments/Payment ID. Before using call back the response was perfectly decoding.After using callback url "callback_response_code": "200", is coming as Int whereas QPOperation callback_response_code is Int? and i cant modify code in SPM what should i do???
public class QPOperation : Codable {
}