     private var readyToPay : Bool = false
     private var checkoutComplete = false
     internal var reviewAndConfirm = false
+    internal var initWithPaymentData = false
     
     init(checkoutPreference : CheckoutPreference, paymentData : PaymentData?, paymentResult: PaymentResult?) {
         self.checkoutPreference = checkoutPreference

            self.cardToken = nil
            self.issuers = nil
            self.installment = nil
        } else {
            self.readyToPay = true
        }

        self.paymentOptionSelected = paymentOptionSelected
        if paymentOptionSelected.hasChildren() {
            self.paymentMethodOptions =  paymentOptionSelected.getChildren()
        } else if !self.initWithPaymentData {
            resetInformation()
        }
        
