         self.payerCost = nil
         self.token = nil
         self.payer = nil
+        self.transactionDetails = nil
     }
     
     

        }
        
        if paymentMethod.isEntityTypeRequired() && payer?.entityType == nil {
            return false
        }
        

    public var payerCost : PayerCost?
    public var token : Token?
    public var payer : Payer?
    public var transactionDetails : TransactionDetails?
    
    func clear() {
        self.paymentMethod = nil
