pscbonline-ios/PSCBOnline/Sources/Serializable/RequestWrapper+Serializable...

22 lines
440 B
Swift
Raw Permalink Normal View History

2024-07-08 15:20:00 +03:00
//
// RequestWrapper+Serializable.swift
// PSCB-OOS-iOS
//
// Created by Antonov Ilia on 18.10.2020.
//
import Foundation
extension RequestWrapper: Serializable {
public func serializeToJSON() -> JSONDict {
var json = JSONDict()
json["marketPlace"] = self.marketPlaceId
json["payment"] = self.payment.serializeToJSON()
json["cardData"] = self.cardData
return json
}
}