         let marketplace: String? = try container.decodeIfPresent(String.self, forKey: .marketplace)
         let collectorIdNumber: Int? = try container.decodeIfPresent(Int.self, forKey: .collectorId)
         let collectorIdString: String? = collectorIdNumber?.stringValue
-
-        self.init(id: PXCheckoutPreference.getIdOrDefaultValue(id), items: items, payer: payer, paymentPreference: paymentPreference, siteId: siteId, expirationDateTo: expirationDateTo, expirationDateFrom: expirationDateFrom, site: site, differentialPricing: differentialPricing, marketplace: marketplace, branchId: branchId, processingModes: processingModes, collectorId: collectorIdString)
+        let orderId: String? = try container.decodeIfPresent(String.self, forKey: .orderId)
+        let merchantOrderId: String? = try container.decodeIfPresent(String.self, forKey: .merchantOrderId)
+
+        self.init(id: PXCheckoutPreference.getIdOrDefaultValue(id), items: items, payer: payer, paymentPreference: paymentPreference, siteId: siteId, expirationDateTo: expirationDateTo, expirationDateFrom: expirationDateFrom, site: site, differentialPricing: differentialPricing, marketplace: marketplace, branchId: branchId, processingModes: processingModes, collectorId: collectorIdString, orderId: orderId, merchantOrderId: merchantOrderId)
 
         self.additionalInfo = try container.decodeIfPresent(String.self, forKey: .additionalInfo)
         populateAdditionalInfoModel()

        self.branchId = branchId
        self.marketplace = marketplace
        self.collectorId = collectorId
    }

    /// :nodoc:

    open var collectorId: String?

    open var backUrls: PXBackUrls?
    /**
     Order id
     */
    open var orderId: String?
    /**
     Merchant Order id
     */
    open var merchantOrderId: String?

    internal var binaryModeEnabled: Bool = false
    internal var pxAdditionalInfo: PXAdditionalInfo?

